View unanswered posts | View active topics It is currently Sat Dec 28, 2024 9:09 pm



Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
 Can you save your game? 
Author Message

Joined: Sat Aug 20, 2011 3:47 pm
Posts: 7
Reply with quote
Post Can you save your game?
Hi,

I picked up this game with the HIB, and it is easily my favorite. My 11-year old son and I play co-op and have a blast.
We are about to start playing skirmishes against each other and we were wondering if there was a way to save the game? I know that some games can go long and we don't always have time to finish.

On a side note, does anyone have any tips on PvP for n00bs?


Sat Aug 20, 2011 3:52 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Can you save your game?
Sadly, there is no way to save games. This is in part because most people tend to run out of money within 10 or so minutes (at least in previous versions).


Sat Aug 20, 2011 5:21 pm
Profile

Joined: Sat Aug 20, 2011 3:47 pm
Posts: 7
Reply with quote
Post Re: Can you save your game?
OK. Thanks for the reply. That is too bad.


Sat Aug 20, 2011 5:33 pm
Profile

Joined: Sun Jul 10, 2011 11:29 pm
Posts: 9
Reply with quote
Post Re: Can you save your game?
You can save in Campaign though, I think, my bother and I were playing that yesterday.


Sun Aug 21, 2011 8:39 pm
Profile

Joined: Sat Aug 20, 2011 3:47 pm
Posts: 7
Reply with quote
Post Re: Can you save your game?
My son and I have not tried campaign yet. We are having fun with DarkStorm on Dummy Assault.


Sun Aug 21, 2011 11:23 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Tue Jul 27, 2004 8:02 pm
Posts: 428
Location: AZ
Reply with quote
Post Re: Can you save your game?
We might get in-game action save feature at some point, but the campaign will encourage smaller fights that hopefully won't need saving mid-fight, and get autosaved immediately after they finish

- D


Mon Sep 05, 2011 7:11 pm
Profile ICQ
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Can you save your game?
I'm currently working on a save system, it isn't operationnal yet but I'm making progress.


Sat Sep 17, 2011 7:36 pm
Profile

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post Re: Can you save your game?
and the above is one of the reasons that every video game ever made should fully support modding

Are you using lua to save and load the game, or something else?


Sat Sep 17, 2011 7:49 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Can you save your game?
lua:
Image


Sat Sep 17, 2011 7:54 pm
Profile

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post Re: Can you save your game?
Mehman wrote:
lua:
Image


so you have the saving part working then
but the loading part?

also does it save the actors velocities so if there is a actor flying through the air, will it continue on its path after load? or just start and fall down (which is still fine with me)


Sat Sep 17, 2011 8:22 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Can you save your game?
The saving part works fine, it saves velocities, and will save equipment, and the terrain pixel per pixel. For the loading part you start with the map that corresponds to the game you want to load, then it reads the save file, checks for differences with the map and modifys the terrain to what is written in the file by adding MOPïxel that instantly settle, it works but it takes time(1 to two minutes). If only I could find a way to directly add TerrainObjects it could be much faster, but I'm still looking for the TerrainObject create function. Then it adds the actors, objects, particles...etc.

The files look like this:
Code:
Brain Case
696.5
636
0
0
100
0
Actor
...Many actors, particles, devices
PhaseEND
0
0
0
0
128
128
12
10
...etc
PhaseEND

The part before PhaseEND is for the actors and devices, with Position, velocity, health, team, class, name, then come the terrain, each line is a pixel of terrain(material id).
Of course it's waaaaaaaaaaaaay longer than this, I couldn't post it because of the 60000 character limit. The shortest I have is 4441259 characters long.


Sat Sep 17, 2011 10:01 pm
Profile

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post Re: Can you save your game?
very very cool, saving in cortex command has always been wanted, after you have a huge survival match and are still alive and have to go.... Sounds like it will work very well also, no bugs or glitches as far as not saving things,

what about any sort of timers, lua code, or other code based things?


Sun Sep 18, 2011 1:54 am
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Can you save your game?
I'm afraid saving code based thing will be rather difficult if not impossible.

The whole map reconstruction one pixel at a time is too laggy and the terrain doesn't behave properly, I devised a new way of doing that: the script writes a bitmap of the terrain and then it is used as a MAT file to load the scene like you would do for a preset scene. I got the bitmap part working: here is the first automatically generated MAT file (converted to .PNG to reduce its size):
As you can see the bunkermodules are saved as well:


Tue Sep 20, 2011 6:43 pm
Profile

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post Re: Can you save your game?
Mehman wrote:
I'm afraid saving code based thing will be rather difficult if not impossible.

The whole map reconstruction one pixel at a time is too laggy and the terrain doesn't behave properly, I devised a new way of doing that: the script writes a bitmap of the terrain and then it is used as a MAT file to load the scene like you would do for a preset scene. I got the bitmap part working: here is the first automatically generated MAT file (converted to .PNG to reduce its size):
As you can see the bunkermodules are saved as well:


That is very cool
I assumed the code saving thing would be very hard to do, but its not to big of a deal, most codes are quick
Now, on to edit that bitmap!


Wed Sep 21, 2011 3:35 am
Profile
User avatar

Joined: Mon Oct 25, 2010 5:51 am
Posts: 1198
Location: Sydney
Reply with quote
Post Re: Can you save your game?
Mehman wrote:
I'm afraid saving code based thing will be rather difficult if not impossible.

The whole map reconstruction one pixel at a time is too laggy and the terrain doesn't behave properly, I devised a new way of doing that: the script writes a bitmap of the terrain and then it is used as a MAT file to load the scene like you would do for a preset scene. I got the bitmap part working: here is the first automatically generated MAT file (converted to .PNG to reduce its size):
As you can see the bunkermodules are saved as well:

No BG scenery?


Wed Sep 21, 2011 6:46 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 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.025s | 14 Queries | GZIP : Off ]