First you need to list every upgrade individually in the upgrade file. For example, you have upgrades listed like this at the end of the vanilla "w_abakan_up.ltx" ("Game Folder"/gamedata/configs/weapons/upgrades):
"[up_gr_firstab_abakan]
elements=up_firsta_abakan
[up_gr_firstcd_abakan]
elements=up_firstc_abakan
[up_gr_firstef_abakan]
elements=up_firste_abakan, up_firstf_abakan"
You need to split every upgrade and make an individual reference for it, then add it after (not instead, I remember having difficulties with engine not having vanilla strings in files, maybe they're referenced somewhere else) vanilla ones like this:
"[up_gr_firsta_abakan]
elements=up_firsta_abakan
[up_gr_firstc_abakan]
elements=up_firstc_abakan
[up_gr_firste_abakan]
elements=up_firste_abakan
[up_gr_firstf_abakan]
elements=up_firstf_abakan"
We don't need "b" and "d" strings, they're not existent in this particular weapon file, obviously.
Then you need to replace upgrade path in the "upgrades" string inside the "w_abakan.ltx" ("Game Folder"/gamedata/configs/weapons). Vanilla string looks like:
upgrades = up_gr_firstab_abakan, up_gr_seconab_abakan, up_gr_thirdab_abakan
You basically need to copy your whole custom upgrade path here like:
upgrades = up_gr_firsta_abakan, up_gr_firstc_abakan, up_gr_firste_abakan, up_gr_firstf_abakan
Etc. Rinse and repeat with every file. As I've mentioned earlier, you can make a dummy for upgrades and then replace a dummy names with real ones through a notepad++ tool.
You can open a vanilla file and a modified one in notepad++ and run a "Compare" plugin, it'll highlight all differences between them.
TaoTheNyan
joined
This member has provided no bio about themself...