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 / script that creats a txt file

Author
Message
Deathcow
FPSC Reloaded Backer
13
Years of Service
User Offline
Joined: 13th Nov 2005
Location: Right here!
Posted: 29th Nov 2005 12:36
Hi I was wondering if a script could be used to creat a txt file on the hard disk, so that another program can read it. This would be useful if you wished load up that last map that you played using a program to charge the setup.ini file and load the map. It would a bit like a save option, but you would still need to complete that level before it was saved for the next map.
Vlad
13
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 29th Nov 2005 15:08
I think there's no disk write access in FPSC (someone correct me if I'm wrong please) and therefor that idea and the save/load problem won't be possible.

V

I'm pretty sure I know everything. Doubts are something rare in me and I am never wrong, as this signature can prove.
dpharaoh
13
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 29th Nov 2005 15:16
The FPSC engine does indeed write files, it's how it build several things it needs. The lack of a Save/load game feature is more likely due to running out of time. If you think about it, there are many many things that would have to get saved/restored.

But! As Sulvanna suggests, you could create a simple save/restore for the player's properties and map level/location. This would have to get done in the DBPro code, but is quite doable.
Vlad
13
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 29th Nov 2005 17:44
Sure mate, we agree, but my understanding is that Sulvanna wants to script it in-game, not in code, thus my answer.

I'm pretty sure I know everything. Doubts are something rare in me and I am never wrong, as this signature can prove.
dpharaoh
13
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 29th Nov 2005 17:56
Whoops! You are right, she did say script, sorry bout that

Login to post a reply

Server time is: 2019-05-20 18:48:28
Your offset time is: 2019-05-20 18:48:28