Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / quickgamesave file content

Author
Message
velez42
13
Years of Service
User Offline
Joined: 16th Dec 2010
Location:
Posted: 26th Sep 2011 22:42
I have included a timer in my game and have made it where it quick saves right before the timer expires. However, I can't read or understand the resulting save game file. I've opened it as a txt file and dat file but neither one really tells me anything. Can I script what is saved when I do a quicksavegame action? I want to be able to look at the number of lives they have, ammo, health, kill count etc. but this stuff doesn't seem to be saved in the quicksavegame file.
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 27th Sep 2011 10:24
final buildgame, play until quicksave is done, then reload the save > check what was saved?
velez42
13
Years of Service
User Offline
Joined: 16th Dec 2010
Location:
Posted: 27th Sep 2011 20:29
Brilliant! I dont know why I didn't think of that ha. One more question for you Maho as you seem to be the only one helping me which I appreciate greatly. Can I make a hud that is hidden appear by pressing a certain button? For instance, make the kill count hud appear by pressing "tab" or "caps". Thanks again for the help.
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 27th Sep 2011 21:08
Quote: "Can I make a hud that is hidden appear by pressing a certain button? For instance, make the kill count hud appear by pressing "tab" or "caps"."


Yes, you can. For example, I have a series of maps that the player can preview for that level. I place a trigger zone where the player would pass through, and the following script will show the map when they press "M". At the end of the sequence (after map10), the map hud hides until called again with the "M" key.

Our map script:



This should give you some idea how to do it. Feel free to alter to your needs.


Twitter: @NFoxMedia
velez42
13
Years of Service
User Offline
Joined: 16th Dec 2010
Location:
Posted: 28th Sep 2011 02:10
Thanks so much for the help! Worked like a charm
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 28th Sep 2011 03:15
You are welcome. Glad it helps out others.


Twitter: @NFoxMedia

Login to post a reply

Server time is: 2024-11-24 04:41:47
Your offset time is: 2024-11-24 04:41:47