Frictional Games Forum (read-only)

Full Version: Adding new elements to inventory (such as a new healthbar)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

Working on my first custom story and I wanted to add a new element to the inventory screen, the element is supposed to work like the sanitybar or healthbar once it is implemented.

So far, I understand that the relevant variables for the bar to function should be defined in the game.cfg-file and I think that the placement of the graphics are handled in the menu.cfg-file.

My problem is that I can't find where the graphical elements are defined and loaded for the inventory so I can do the same.
You need to do full conversion. I've made some changes to inventory screen as can be seen here: http://www.youtube.com/watch?v=RVJ11WNgQ8c

Most of the variables are handled in menu.cfg file. And yes, you have to replace the image files. Don't forget to add alpha channel.