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.

DarkBASIC Professional Discussion / Cannot Load FPS Creator World Into DBPRO Since Update

Author
Message
dimfoo
14
Years of Service
User Offline
Joined: 3rd Jul 2012
Location: United States
Posted: 4th Jul 2012 05:34
I performed the DBPRO update today DBProUpdate-U762 and cannot load FPS Creator World into DBPRO - I am using the steps provided in this video http://www.youtube.com/watch?v=pULMJoDS-lc&feature=related but a very small image appears of the armory when I run it...ideas? Running DBPro in Administrator mode...

Would greatly appreciate any help...

^^^DIM FOO^^^
Daniel wright 2311
User Banned
Posted: 4th Jul 2012 07:51 Edited at: 4th Jul 2012 07:52
This is all you need to do,nothing else,this works for me,every time

load object "levelbank\testlevel\universe.dbo",1,2

This will load it with textures and all,one little line.

my signature keeps being erased by a mod So this is my new signature.
dimfoo
14
Years of Service
User Offline
Joined: 3rd Jul 2012
Location: United States
Posted: 5th Jul 2012 05:04
Thanks will try that. Also the dungeon loads collapsed. Is there a specific resolution needed or perhaps Direct X version?

^^^DIM FOO^^^
Daniel wright 2311
User Banned
Posted: 6th Jul 2012 00:05
Quote: "Also the dungeon loads collapsed."


What do you mean? what dungeon?

my signature keeps being erased by a mod So this is my new signature.
dimfoo
14
Years of Service
User Offline
Joined: 3rd Jul 2012
Location: United States
Posted: 6th Jul 2012 00:25
Sorry if I was not clear. See attached Word document. I simply added a Full Armory segment and attempted to load into DBPRO (Screen set to window - 640 x 480 and have tried every other setting known to man

Here is my code:


Rem Project: MyWorld2
Rem Created: Thursday, July 05, 2012

Rem ***** Main Source File *****

set dir "Files"
load static objects "levelbank\testlevel\universe.dbo",0
position camera 50, 55, -50

do

control camera using arrowkeys 0,1,2

loop

^^^DIM FOO^^^
Daniel wright 2311
User Banned
Posted: 6th Jul 2012 07:35
dont load static objects, just load object like I said before,try this then let us all know.

my signature keeps being erased by a mod So this is my new signature.
dimfoo
14
Years of Service
User Offline
Joined: 3rd Jul 2012
Location: United States
Posted: 6th Jul 2012 07:50
I tried your method and got the same results. It is odd but the camera is actually sitting underneath the armory. Not sure what that is about, but basically the camera is not inside the armory and everything is compressed (not to scale). I am able to replicate this on two machines now I cannot for the life of me figure out what this is?

^^^DIM FOO^^^
dimfoo
14
Years of Service
User Offline
Joined: 3rd Jul 2012
Location: United States
Posted: 6th Jul 2012 08:13
Here (attached) is the same result on a different machine (code below)


Rem Project: mynewproject
Rem Created: Friday, July 06, 2012

Rem ***** Main Source File *****
set dir "Files"
load object "levelbank\testlevel\universe.dbo",1,2
position camera 50, 55, -50
do
control camera using arrowkeys 0, 1, 2
loop

^^^DIM FOO^^^
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 6th Jul 2012 13:16
Quote: " It is odd but the camera is actually sitting underneath the armory. Not sure what that is about"


You probably need to add some code to position the object in the right place - or the camera. Just change whichever is more convenient.

It's been a while since I played with FPSC but my guess is that your armoury wasn't positioned at ground level etc when you created it in FPSC and it'll be placed in that position when you load it into DBPro. Where do you think it should be placed?
dimfoo
14
Years of Service
User Offline
Joined: 3rd Jul 2012
Location: United States
Posted: 6th Jul 2012 15:10
I was thinking the same thing and so I started a new FPSC project and simply followed the instructions provided in the video (again). I have tried drawing the level starting at (0,0) as well as starting in other locations and nothing changes. I noticed that the FPSC defaulted to layer 5 (not sure why) so I lowered it down to layer 0 and no change.

I am thinking that you are on to something here, but I honestly am not overly familiar with FPSC. I know people are still using the tutorial and I have not heard anything regarding issues they are having. If you hear of anything regarding where the location should be in FPSC, please let me know. I would be so grateful...baffled!

^^^DIM FOO^^^
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 6th Jul 2012 16:39
do you mean that loading static world on DBpro will fail?

dimfoo
14
Years of Service
User Offline
Joined: 3rd Jul 2012
Location: United States
Posted: 6th Jul 2012 19:59
Yes, if you read my previous posts and review the attachments, I get the same results whether I load object or load static object. I am starting to wondering if perhaps FPSC is not encoding the geometry correctly? I have tried reinstalling both FPSC and DBPro but not luck.

^^^DIM FOO^^^
Daniel wright 2311
User Banned
Posted: 6th Jul 2012 22:35 Edited at: 7th Jul 2012 00:05
edit out

my signature keeps being erased by a mod So this is my new signature.
dimfoo
14
Years of Service
User Offline
Joined: 3rd Jul 2012
Location: United States
Posted: 7th Jul 2012 00:03
You will find this surprising I am sure, but no change in results using your number of +30! See attached - not sure where to go from here, but...

^^^DIM FOO^^^

^^^DIM FOO^^^
Daniel wright 2311
User Banned
Posted: 7th Jul 2012 00:03 Edited at: 7th Jul 2012 00:29
Ok, I messed with it a little,added some stuff needed for looks and frames per sec,so now everything should load right,let me know.

Rem ***** Main Source File *****
hide mouse
sync on
sync rate 40


desktopwidth=desktop width() rem we change the value name here and can change them any time
desktopheight=desktop height() rem we change the value name here and can change them any time

set display mode desktopwidth,desktopheight,32 rem we set the value name here and can change them any time

set dir "Files"

load object "levelbank\testlevel\universe.dbo",1,2

position camera 0,object position x(1)+100,object position y(1)+60,object position z(1)-100 rem position camera to the object first

range=4000 rem we make a camera range amount so we can change it in the loop to anything we want at any time

lightamount=20 rem we make a light range amount so we can change it in the loop to anything we want at any time

rem we make a light color range amounts so we can change the light color in the loop to anything we want at any time
red=64
green=64
blue=128

do

set ambient light lightamount rem we set the values here and can change them any time

color ambient light rgb(red,green,blue) rem we set the values here and can change them any time

set camera range 0,1,range rem we set the values here and can change them any time

yrotate camera 0,camera angle y(0)+mousemovex()/10.0

if upkey()=1 then move camera 0,3

if downkey()=1 then move camera 0,-3

position camera 0,camera position x(0),object position y(1)+60,camera position z(0)

sync

loop

my signature keeps being erased by a mod So this is my new signature.
Go Devils
13
Years of Service
User Offline
Joined: 13th Aug 2012
Location:
Posted: 13th Aug 2012 20:41
OK I'm new, but not completely. I am a basic programmer, and have worked with 3D graphics for some time (Bryce, Poser, Cinema 4D).

I too am trying to figure the loading process for a level created in FPS and then imported into DB Pro I'm still on FPS Free, does this make a difference?

I will try the new loading code from above, but I'm confused about loading the "Universe.dbo" file. Let's say I have several active projects in FPS. There is no pointer to a specific project. How does universe.dbo know which universe I want to load into DP Pro? (still trying to understadnd the FPS file structure)

Is there a way to create several levels in FPS, and then incorporate them into a bigger game with other levels created in DB Pro? I'm not talking about importing the finished FPS game objects into DB Pro, but simply accessing these finished FPS levels (game) during the operation of the bigger game created in DP Pro?

Thanks in advance
Go Devils

Login to post a reply

Server time is: 2026-07-21 20:34:50
Your offset time is: 2026-07-21 20:34:50