Continuing a replay

Continuing a replay

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Isaactoo
Posts: 124
Joined: 08 Dec 2004, 21:53

Continuing a replay

Post by Isaactoo »

In the Demo recorder for Total Annihilation there was an (experimental) way to use the .take command to continue from any point in a recorded game. In Spring you can used .take to take an ally├óÔé¼Ôäós units when he is no longer in-game. So there seems that part of the functionality is already there, but there is no way to do it within a replay. I think I'd be really cool if you could start a game from where you left off.

I would actually like it better if there was an option besides replay and standard game altogether that would start the game 10 sec. or so before the replay actually ended, that way if something odd crashed Spring, Spring wouldn't read that part of the replay and get messed up. It would also save the hassle of fast forwarding the replay to a specific part without the replay closing Spring at the end. It'd also be nice for those occasions when one player runs out of time and every-one has to rush the end of the game when some are unprepared.
Thanks,
Isaactoo
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Spring currently feature savegame, and last time I checked savegame also work in multiplayer. Press F8 regularly while playing the game. Then, if it crash, launch Spring.exe, yes to being server, then use the load game mission script thingy, then, as the game has loaded and is waiting for player or for you to press enter, alt-tab out and give your IP to other players. Then, they will have to run spring.exe, to say NO to being server, and to type your IP when asked the address. It was a long time since I used it, so maybe it's not exactly like that, maybe some stuff were changed since, but I know it used to work for me.
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

so even if it is a client game, you can only continue it through direct IP? What if there is more than one player? In my experience, a game hosted over direct IP started immediately after a person joined the host. would a loaded saved game wait for everyone who was in the original game to join?
User avatar
Isaactoo
Posts: 124
Joined: 08 Dec 2004, 21:53

Post by Isaactoo »

In earlier Spring versions...F8 made it save a script file .ssf, however now it just saves another replay file .sdf...you cannot start from the Spring.exe even if you rename it to an .ssf .
Post Reply

Return to “Engine”