![]() |
Adding new elements to inventory (such as a new healthbar) - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Adding new elements to inventory (such as a new healthbar) (/thread-8710.html) |
Adding new elements to inventory (such as a new healthbar) - Eazas - 06-20-2011 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. RE: Adding new elements to inventory (such as a new healthbar) - Tanshaydar - 06-20-2011 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. |