Need exact game mechanic information? Please ask me here!
I want practice looking for exact values and statistics in the game's files, so please ask me anything when it comes to timers, values, stats and other such things.
Posted Feb 7, 2016, 11:44 PM UTC
where/how is the item upgrade from normal nades to plasma bombs handled? (alternatively, where/how is the item upgrade from normal medkits to snake medkits handled)?
I want to create the same auto-upgrade for EXO suits and spider suits into their powered armor versions.
Really cool question, checking. I don't think it's in the ini files, meaning it's handled more internally through uc scripts.
I took the time to look into this, and it seems that Armory_WeaponUpgrade.uc handles going through and upgrading everything, but I'll need more time.
Research time: 1 day, Progress: Fast. I'll report back with my findings, Commander.
nevermind; managed to find it myself. CTRL+SHIFT+F for the phrase "Template.UpgradeItem" in the entire solution. No idea how it works yet, but that's definitely the code that's doing it.
Aha, so you did. I still had an hour! :(
(And I totally didn't forget I swear)
Okay, so that's good, it upgrades all of the items in X2StrategyElement_DefaultTechs.uc I believe. When it's infinite, add it directly, otherwise, add it the "proper way" (by adding specific quantities).