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 Discussion / Problems loading models

Author
Message
Grif
20
Years of Service
User Offline
Joined: 1st May 2005
Location: My Computer
Posted: 18th Aug 2005 08:15
I downloaded a file and hen converted it with the DB converter but it still won't work the exact code i am typing is

Load Object "C:\Program Files\Dark Basic Software\Dark Basic\myproj\stargate\fleet.x",1

I have talked to my friend who is the one teaching me how to code but he had no idea. here is what is going on; It takes forever to load when it finally loads it flashes once and then its a blue screen with the "press F12 to exit"

could someone help me or tell me what im doing wrong?

I have half a mind to kill you...and the second half agrees.
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 18th Aug 2005 13:13
Yes:

This is what you're program does:

1: Load an object: "C:\Program Files\Dark Basic Software\Dark Basic\myproj\stargate\fleet.x" and give it nr 1.

2: No more commands to read --> so end

add this so the program will wait until you pressed a key.

suspend for key
or
wait key

it's both the same. (nr 2 is shorter though)

hope it helped

Immunity and Annihalation makes Immunihalation...
Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 21st Aug 2005 20:53 Edited at: 26th Aug 2005 01:35
put the image in the same folder of your source and just type


load image "fleet.x" ,1


I had that same problem. When you type


load image "Crogram FilesDark Basic SoftwareDark Basicmyprojstargatefleet.x" ,1


it tries to load


"(Folder source is in)Crogram FilesDark Basic SoftwareDark Basicmyprojstargatefleet.x"


it thinks c: ect are folders within the folder your source.dba is in.
Or i may be tottaly wrong


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!

Login to post a reply

Server time is: 2025-05-22 12:55:58
Your offset time is: 2025-05-22 12:55:58