Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
Saving System V0.2.1
Hi,
As the title suggests this allows you to save your game to continue playing it later. This is still in an experimental stage and is bound to be full of bugs.
To save a game open the lua console and type this:
Code:
SaveGame(number)
or this:
Code:
SaveGame('name')
and replace number by a number of your choice or name by a name of your choice, keep the ''. During the saving process you will be unable to play, it takes several seconds. When you see "Terrain bitmap generation in progress" you can resume playing, you can even quit the game if you want.
To load the game start an activity(no matter which one) and type this:
Code:
LoadGame(number)
or
Code:
LoadGame('name')
Loading a game takes several seconds, and is still quite buggy. A saved game only becomes available once you restart the game.
And if you want to delete a game type this:
Code:
DelGame(number)
or
Code:
DelGame('name')
To list all existing saves type this:
Code:
ListGames()
This is for windows only. Loaded metal looks crappy because it doesn't have a texture, a nice textures for this would be welcome. Thanks to Roast Veg for the concrete texture.
Download:
Attachment:
File comment: .. New concrete texture by Roast Veg Old saves ARE compatible SaveV0.2.1.rar [135.36 KiB]
Downloaded 486 times
Old:
Attachment:
File comment: _ Better terrain bitmap creation landing zones corrected more stable SaveV0.2.rar [134.25 KiB]
Downloaded 313 times
Attachment:
File comment: .. ListGames() added Door bug fixed Old saves are not compatible Savev0.1.1.rar [134.19 KiB]
Downloaded 289 times
Attachment:
File comment: Read the post or you won't know what to do with this. SaveV0.0.rar [133.88 KiB]
Downloaded 317 times
Hope you'll like it. Oh and if, or should I say when you spot a bug, please tell me.
Last edited by Mehman on Mon Feb 11, 2013 6:30 pm, edited 8 times in total.
Thu Sep 22, 2011 8:42 pm
trystanr
Joined: Sat Oct 09, 2010 10:01 am Posts: 303 Location: Afrique d' Sud
Re: Saving System
Whoah.... This is... This is amazing, Another quality mod. Finally!
Very buggy indeed. An auto-win and disappeared ground after loading a game.
Attachment:
ScreenDump000.png [ 78.48 KiB | Viewed 13529 times ]
Attachment:
ScreenDump001.png [ 126.01 KiB | Viewed 13529 times ]
But really awesome so far.
Thu Sep 22, 2011 10:44 pm
bioemerl
Joined: Sat Dec 18, 2010 6:11 pm Posts: 285
Re: Saving System
WARINING noobquestion:
How do you open the console? Ive never used this before. although i played one game where it was hacked so that t opened it, but I doubt thats the button in cortex command
Thu Sep 22, 2011 11:06 pm
Azukki
Joined: Sat Nov 03, 2007 9:44 pm Posts: 1916 Location: Flint Hills
Re: Saving System
Very impressive. It's obviously still got major flaws, but it works better than I'd've imagined possible. So far the only problem I've seen that isn't too obvious to bother mentioning is that the doors don't get properly HFlipped and rotated to their original positions. Save and load the tutorial and look at the little enemy bunker to see what I mean.
@bioemeral Tilde. ~ ` It's usually the 'open console' button in games with accessible consoles.
Last edited by Azukki on Fri Sep 23, 2011 2:56 am, edited 1 time in total.
Thu Sep 22, 2011 11:26 pm
Mackerel
Joined: Thu May 05, 2011 1:30 am Posts: 2876 Location: Rent free in your head. Vacation in your ass.
Re: Saving System
This is pretty amazing Azukki MEHMAN.
What can't you do? You seriously do so much.
Last edited by Mackerel on Fri Sep 23, 2011 6:56 am, edited 1 time in total.
Fri Sep 23, 2011 2:06 am
Azukki
Joined: Sat Nov 03, 2007 9:44 pm Posts: 1916 Location: Flint Hills
Re: Saving System
Buh, what? Mehman made this, I wouldn't have any clue where to even start on something like this. Or was my praise of his work just that magnificent?
Last edited by Azukki on Fri Sep 23, 2011 1:01 pm, edited 2 times in total.
Fri Sep 23, 2011 2:50 am
nicolasx
Joined: Sun Mar 13, 2011 6:17 pm Posts: 646
Re: Saving System
Mehman you are on a roll first fixing movement and dropship surfing and now being able to save games wow
Fri Sep 23, 2011 2:51 am
helifreak
Joined: Tue Apr 07, 2009 8:24 am Posts: 193 Location: Australia
Re: Saving System
Doors are broken, only one type of the right angled ones work.
Fri Sep 23, 2011 6:47 am
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
Re: Saving System
Folks wrote:
Sounds really cool! Will a mac version be possible? That would be great.
This uses a .exe so i'll have to recompile it int a mac equivalent. It also uses dos commands, does mac have an equivalent system(command prompt)?
BigBomb wrote:
This is pretty amazing Azukki MEHMAN. What can't you do?
I can't do sprites.
helifreak wrote:
Doors are broken, only one type of the right angled ones work. image
I'll try to correct that.
Fri Sep 23, 2011 9:45 am
Superjuden
Joined: Thu Mar 25, 2010 12:39 pm Posts: 25
Re: Saving System
Just tried it on Tutorial Bunker by loading from the Main Menu. Apparently this creates clones.
Fri Sep 23, 2011 6:13 pm
Superjuden
Joined: Thu Mar 25, 2010 12:39 pm Posts: 25
Re: Saving System
Just tried it on Tutorial Bunker by loading from the Main Menu. Apparently this creates clones.
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
Re: Saving System V0.1
Loading from the main menu doesn't work, usually it crashes the game or produces wierd results, you must start an actifity first.
First update:
_ListGames() added, to list the existing saves. _Door bug corrected Old saves are NOT compatible, they can still be deleted using DelGame() but won't be visible with ListGames()
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum