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 / FPS integration with Dark Basic Pro

Author
Message
Go Devils
13
Years of Service
User Offline
Joined: 13th Aug 2012
Location:
Posted: 14th Aug 2012 04:24
Yese.. I'm new here. I've been programming in basic for 30 years, and have a strong digital graphic arts and 3D background.

OK, I'm working my way through these two programs, and making progress. However, when it comes to FPS I have several questions.

1) When I load an FPS Model into DB Pro it opens, but the camera appears several steps below the improted level, and I cannot seem to get the camera to move upward to get on the same level??? (note I found a thread from last month, and tried the code, but it still does the same thing)

2) Is there a way to incorporate a game with levels made in FPS as well as other levels made with DB Pro. Back in the day I was able to simply use a "run" command to initiate such a thing, but there seems to be no way to get back to the DP Pro levels after switching to the FPS game? (Am I asking too much?)

3) The code to move the FPS level into DB Pro has me insert the "universe.dbo" file. I'm still trying to understand the FPS file system. If I am working on multiple projects in FPS, and wish to load a specific level into DP Pro, how do I know the universe.dbo file contains the right level? I had opened a level and run the test, but when I imported the universe into DB Pro it was a different level???
JRH
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Stirling, UK
Posted: 15th Aug 2012 00:38
1) Try the position commands for the camera.


2) DB Pro is a programming language, which FPSC was written in. The source code for FPSC is available so it could be possible - although quite tricky as there is a lot of code - to do this.

3) Each built FPSC level has it's own 'universe.dbo' and several other files. This specific file is the static universe model - the 3D object data for the map.

Good luck
GreenDixy
17
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 17th Aug 2012 00:48 Edited at: 17th Aug 2012 00:48
Here is a couple steps

Position object 1,0,0,0 // This will set your loaded object to position "0"


Now you can do liked JRH said, And position your camera. You can define the camera's position At the object's position. "x,y,z"

To get the camera moving around Do something like the following



To setup the movement you could add something like this.



======================================
My software never has bugs. It just develops random features.

Login to post a reply

Server time is: 2026-07-05 13:38:21
Your offset time is: 2026-07-05 13:38:21