Hi, I'm trying to edit the Wings of Liberty campaign to try and upgrade it a bit.
I wanted to start with something that I thought could've been easy: adding some mercenary options.
So, what I tried:
1) Exporting the 'campaign'-trigger library from a campaign map to be able to edit it
2) In the 'Story Mercenaries'-subfolder of the library I edited Presets\'Story Merc ID', so far only adding one slot by c&p'ing, and adding data in Actions\'TS_InitializeMercData'.
3) Scanning the library for each other instance of the word "merc" and it seems like the triggers are using increment-codes and formulas instead of fixed numbers, so I thought it should be possible to just add one :P
Anyhow, when I try to save it returns a Syntax error in this line:
autoD4A0925D_i = libCamp_gv_TSC_MERC_FIRST;
Can anyone tell me what that means? What do I have to edit? Something inside of the library or an other file?
Or is the number of mercs hardcoded somehow?
I read of some projects that wanted to edit the campaign structure for offline use and use it's Hyperion-menus, too? Are there examples where I can look up how it was done?
Thanks for your help :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi, I'm trying to edit the Wings of Liberty campaign to try and upgrade it a bit. I wanted to start with something that I thought could've been easy: adding some mercenary options.
So, what I tried: 1) Exporting the 'campaign'-trigger library from a campaign map to be able to edit it 2) In the 'Story Mercenaries'-subfolder of the library I edited Presets\'Story Merc ID', so far only adding one slot by c&p'ing, and adding data in Actions\'TS_InitializeMercData'. 3) Scanning the library for each other instance of the word "merc" and it seems like the triggers are using increment-codes and formulas instead of fixed numbers, so I thought it should be possible to just add one :P
Anyhow, when I try to save it returns a Syntax error in this line: autoD4A0925D_i = libCamp_gv_TSC_MERC_FIRST;
Can anyone tell me what that means? What do I have to edit? Something inside of the library or an other file? Or is the number of mercs hardcoded somehow? I read of some projects that wanted to edit the campaign structure for offline use and use it's Hyperion-menus, too? Are there examples where I can look up how it was done?
Thanks for your help :)