Home » MODDING HQ 1.13 » v1.13 General Development Talk » Changing merc skills (Can you change merc skills midgame or do you need game restart)
Changing merc skills[message #352346] Sat, 10 February 2018 14:37 Go to next message
Slugg087

 
Messages:10
Registered:February 2017
Location: Sweden
I noticed that you can change the merc skills in the MercProfiles.XML file. Can I just change minor and major traits and attributes for anyone willy-nilly? Or will it break my savegames?
Re: Changing merc skills[message #352348 is a reply to message #352346] Sat, 10 February 2018 14:46 Go to previous messageGo to next message
Flugente

 
Messages:3407
Registered:April 2009
Location: Germany
Any changes in MercProfiles.xml will not affect any already started campaign, as the data from that xml is read and stored in savegame files from the moment a campaign is started.



The android shrugged. "Sometimes I break into your quarters and watch you sleep. And measure you to satisfy my electronic need for precision."
Will stared.
"It's not that unusual, I do it all to the crew."

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: Changing merc skills[message #352349 is a reply to message #352348] Sat, 10 February 2018 14:48 Go to previous messageGo to next message
Penta

 
Messages:58
Registered:May 2008
Question: Is there a list of offsets anywhere for hexediting save files? Like, where skills for mercs are stored so we can edit them mid-campaign?
Re: Changing merc skills[message #352350 is a reply to message #352349] Sat, 10 February 2018 15:43 Go to previous message
Flugente

 
Messages:3407
Registered:April 2009
Location: Germany
No. That would be pretty pointless, as these would change all the time when we add new variables with a new savegame version. There are also several structures of dynamic length (we save their length as well).

If you really want to alter these values, I suggest building a debug exe and using the debugger. You will need the code anyway to calculate offsets.



The android shrugged. "Sometimes I break into your quarters and watch you sleep. And measure you to satisfy my electronic need for precision."
Will stared.
"It's not that unusual, I do it all to the crew."

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Previous Topic: stock 1.13 LBE question
Next Topic: Question regarding future updates.
Goto Forum:
  


Current Time: Sun Sep 23 13:33:24 EEST 2018

Total time taken to generate the page: 0.00969 seconds