How to get the resource UI in the armory buy menu to update?
I am doing mods that change the res cost of certain things, I can change the res cost of things but I noticed that the GUI in-game does not update.
For example: I change the res cost of a grenade from 3 res to 6 res BUT when I open the marine armory in-game it still displays that the grenade costs 3 res.
What file in ns2 contains the code that lets me change what the GUI shows in terms of an items res cost?
For example: I change the res cost of a grenade from 3 res to 6 res BUT when I open the marine armory in-game it still displays that the grenade costs 3 res.
What file in ns2 contains the code that lets me change what the GUI shows in terms of an items res cost?
Comments
For anyone that comes across this, you gotta make a mod that has the same changes that you can send to clients through the workshop.
This is what is determined for the cost of the techId.
These are set in Balance.lua
I don't see why the cost is not updating.
I tested this locally by changing the cost in my dev build, which would be the equivalent of changing it in the vanilla ns2 files, and it worked for me.