View unanswered posts | View active topics It is currently Mon Jan 13, 2025 8:13 pm



Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
 Saving System V0.2.1 
Author Message
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
 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:


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
Profile
User avatar

Joined: Sat Oct 09, 2010 10:01 am
Posts: 303
Location: Afrique d' Sud
Reply with quote
Post Re: Saving System
Whoah....
This is...
This is amazing, Another quality mod.
Finally!


Thu Sep 22, 2011 8:54 pm
Profile YIM WWW
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Saving System
This is indeed amazing. I'll try to save and load as much as possible to help with bug catching. :)


Thu Sep 22, 2011 9:08 pm
Profile
User avatar

Joined: Sat Oct 09, 2010 9:34 pm
Posts: 29
Reply with quote
Post Re: Saving System
Sounds really cool!
Will a mac version be possible? That would be great.


Thu Sep 22, 2011 9:43 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Saving System
Very buggy indeed. An auto-win and disappeared ground after loading a game.
Attachment:
ScreenDump000.png
ScreenDump000.png [ 78.48 KiB | Viewed 13529 times ]

Attachment:
ScreenDump001.png
ScreenDump001.png [ 126.01 KiB | Viewed 13529 times ]

But really awesome so far. :grin:


Thu Sep 22, 2011 10:44 pm
Profile

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post 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
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post 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
Profile
User avatar

Joined: Thu May 05, 2011 1:30 am
Posts: 2876
Location: Rent free in your head. Vacation in your ass.
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post 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? :P


Last edited by Azukki on Fri Sep 23, 2011 1:01 pm, edited 2 times in total.



Fri Sep 23, 2011 2:50 am
Profile
User avatar

Joined: Sun Mar 13, 2011 6:17 pm
Posts: 646
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Apr 07, 2009 8:24 am
Posts: 193
Location: Australia
Reply with quote
Post Re: Saving System
Doors are broken, only one type of the right angled ones work.
Image


Fri Sep 23, 2011 6:47 am
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Mar 25, 2010 12:39 pm
Posts: 25
Reply with quote
Post Re: Saving System
Just tried it on Tutorial Bunker by loading from the Main Menu. Apparently this creates clones.

Image


Fri Sep 23, 2011 6:13 pm
Profile
User avatar

Joined: Thu Mar 25, 2010 12:39 pm
Posts: 25
Reply with quote
Post Re: Saving System
Just tried it on Tutorial Bunker by loading from the Main Menu. Apparently this creates clones.

http://i.minus.com/itLM7QJjfFHI0.jpg


Fri Sep 23, 2011 6:15 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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()


Fri Sep 23, 2011 6:43 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 30 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.049s | 15 Queries | GZIP : Off ]