Multiplayer Saving Idea!
Posted: 16 May 2006, 21:26
Further to my previous post, I might have an idea of how to save multiplayer games for the moment!
As we know, the F8 key saves the current state of the battle to the test.ssf file.
As we also know, when a new multiplayer game is started, players join the battleroom and all that and then the game loads and executes the "commanders" script to place two commanders at relevant player locations and start the game.
If the pointer to the "commanders" script could be made to point to the external file "test.ssf" then once the relevant players had joined, the game would then start, effectively "warping in" the units for each player to the previous game state.
I'm no programmer, so I know it's not perfect, but it's an idea.
I have no idea how to change what the pointer points to, but perhaps someone could instruct me in how to get it to load a multiplayer game with the script of my choice, instead of always "commanders"? Then I'msure it would work!
Hope to hear soon as I have a multiplayer save that was excellent, but then the other player "lost connection" for no real reason...
Thanks!
P.S. Obviously, this still won't work with AIs, but at least multiplayer woudl be saveable!
As we know, the F8 key saves the current state of the battle to the test.ssf file.
As we also know, when a new multiplayer game is started, players join the battleroom and all that and then the game loads and executes the "commanders" script to place two commanders at relevant player locations and start the game.
If the pointer to the "commanders" script could be made to point to the external file "test.ssf" then once the relevant players had joined, the game would then start, effectively "warping in" the units for each player to the previous game state.
I'm no programmer, so I know it's not perfect, but it's an idea.
I have no idea how to change what the pointer points to, but perhaps someone could instruct me in how to get it to load a multiplayer game with the script of my choice, instead of always "commanders"? Then I'msure it would work!
Hope to hear soon as I have a multiplayer save that was excellent, but then the other player "lost connection" for no real reason...
Thanks!
P.S. Obviously, this still won't work with AIs, but at least multiplayer woudl be saveable!