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 Product Chat / Using DBPro to launch a single level

Author
Message
00bk
19
Years of Service
User Offline
Joined: 13th Jan 2005
Location: Digging thru the earth to get to china
Posted: 24th Aug 2006 21:12
Hi again guys,

Is there any way of using DarkBasic Professional to launch the level through coding?

Cheers,

00BK


SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 24th Aug 2006 21:25
Ask this in the DB forums, we are the fpsc users.
00bk
19
Years of Service
User Offline
Joined: 13th Jan 2005
Location: Digging thru the earth to get to china
Posted: 24th Aug 2006 21:50
Quote: "Ask this in the DB forums, we are the fpsc users."


I guess it could be asked in both forums, no? I'll post it there aswell then.

00BK


keithml
19
Years of Service
User Offline
Joined: 25th Jul 2005
Location: Florida
Posted: 24th Aug 2006 22:24 Edited at: 24th Aug 2006 22:25
At line 1771 the original level is set to 1.

If you add a line say around 1784 that loads the saved level number from a file then you can make it start at the level you wish.


Caveat for all DBPro compiles of FPSC.
Unfortunately, even an unmodified source compiled into FPSC-Game.exe seems to have some problems such as with transparency. If you don't experience these problems though, let me know what you did.

Keith
00bk
19
Years of Service
User Offline
Joined: 13th Jan 2005
Location: Digging thru the earth to get to china
Posted: 24th Aug 2006 22:38
On which file?


keithml
19
Years of Service
User Offline
Joined: 25th Jul 2005
Location: Florida
Posted: 24th Aug 2006 23:01 Edited at: 24th Aug 2006 23:02
There is only one source file for FPSC and it comes with the Extras download for DBPro 6.2b.

The file name is FPSC-Game.dba. Follow the instructions that come in the Extras download carefully to set up your environment though. You have to change out your enhancements dll and make an edit to a file in FPSC.

Keith

Login to post a reply

Server time is: 2024-10-08 07:40:23
Your offset time is: 2024-10-08 07:40:23