Initialy not working for me in 1.4.1 with several other mods. Workaround was to disable the mod before leaving the game (leaving to windows), restarting the game and them re-enabling the mod before loading the save.
This mod is bugged, it multiplies its UI elements on every load. You need to gate UI adding function behind FirstLoad, like this if FirstLoad then --Add experience to UI ModJA3BetterStatGainInfo_UIAddMercLevelAndExperience()
--Add stat cooldowns to UI ModJA3BetterStatGainInfo_UIAddMercStatCooldowns()
--Add field experience tracker to UI ModJA3BetterStatGainInfo_UIAddFieldExperienceTracker()
Oops, sorry. Is FirstLoad an existing variable used by JA3 to signal if the mod is being loaded for the first time? If so, then i will add it in. At first glance when you mentioned it, I assumed you were giving me pseudo code/hint :D
I also had multiple xp/level entries with v1.27 at first, but on another game restart, it looks fine again so far... Maybe best to always restart the game after activating a new mod.
Is this compatible with Training That Sparks Joy? At least I see the other mod's available train points in the UI that could increase from 0 to 1/30 during my test. Can't test yet if the cooldown note is showing sooner or later, and most importantly, if everything is working together correctly.
15 comments
I was confused why some mercs can't get new stats despite all the effort :D
Like in life.. don't work harder - work smarter :)
if FirstLoad then
--Add experience to UI
ModJA3BetterStatGainInfo_UIAddMercLevelAndExperience()
--Add stat cooldowns to UI
ModJA3BetterStatGainInfo_UIAddMercStatCooldowns()
--Add field experience tracker to UI
ModJA3BetterStatGainInfo_UIAddFieldExperienceTracker()
end
Maybe best to always restart the game after activating a new mod.
At least I see the other mod's available train points in the UI that could increase from 0 to 1/30 during my test.
Can't test yet if the cooldown note is showing sooner or later, and most importantly, if everything is working together correctly.