Hello Folks,
I've found a few posts, and a few google searches resulting in some information regarding hex editing save files, although most were specific to single player changes.
A few friends and I play regularly, and are trying to spice up the gameplay a bit by creating our own game mode. Essentially, we will have a set number of turns to play the game regularly in an enforced peace among human players, while trying to court favour with AI players. Once the turn limit expires, we would set teams (and permanent war) based upon which AI viewed which human player most favourably. Think some space 4Xs where they vote for the leader of the galaxy, and you can accept the results, or battle to the death. This would be the battle to the death part.
Anyway, all I really need to do to make this work is change who is on what team once the turn limit expires. So we would save the game, I tweak the save, and reload. I have to tweak the save file because as far as I can tell, there is no way in game to change teams once the game is started.
I've played around a bit, and edited the save such that the teams in the lobby on a reload reflect the teams that I want in the game (not working 100%, but I'm getting there). What didn't work was actually being on a team once the game was reloaded. So I seem to have impacted the lobby display, but not every part of the file where teams are defined.
Before I dive deep into this for another few hours and work out if it is possible, wondering if anyone has tried something like this before, or if they can point me in the direction of any hex editing instructions relating to changing teams in a save file?
Thanks
I've found a few posts, and a few google searches resulting in some information regarding hex editing save files, although most were specific to single player changes.
A few friends and I play regularly, and are trying to spice up the gameplay a bit by creating our own game mode. Essentially, we will have a set number of turns to play the game regularly in an enforced peace among human players, while trying to court favour with AI players. Once the turn limit expires, we would set teams (and permanent war) based upon which AI viewed which human player most favourably. Think some space 4Xs where they vote for the leader of the galaxy, and you can accept the results, or battle to the death. This would be the battle to the death part.

Anyway, all I really need to do to make this work is change who is on what team once the turn limit expires. So we would save the game, I tweak the save, and reload. I have to tweak the save file because as far as I can tell, there is no way in game to change teams once the game is started.
I've played around a bit, and edited the save such that the teams in the lobby on a reload reflect the teams that I want in the game (not working 100%, but I'm getting there). What didn't work was actually being on a team once the game was reloaded. So I seem to have impacted the lobby display, but not every part of the file where teams are defined.
Before I dive deep into this for another few hours and work out if it is possible, wondering if anyone has tried something like this before, or if they can point me in the direction of any hex editing instructions relating to changing teams in a save file?
Thanks