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.

Newcomers DBPro Corner / Loading my model

Author
Message
that dude over there
17
Years of Service
User Offline
Joined: 22nd Mar 2007
Location:
Posted: 23rd Mar 2007 01:01
Hi I'm new at Dark Basic and on the forums, but I understand certain aspects of programming( I use Gamemaker). My problem is when I load the Pacman model, pac.x, it won't load it. All I'm doing is..

but it says something like "can't load the object". I've loaded other models that were included with the software, and I've even loaded a space craft model I created, but I can't get this to work. I create my models in blender 2.41, if this might have something to do with it then please tell me.
Thanks in advance for any help given.

~that_dude_over_there>
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 23rd Mar 2007 01:51
Quote: "but it says something like "can't load the object""


If you want a meaningful response then you'll need to be a little more exact than that.

There could be dozens of reasons why something won't load the way it's supposed to, so the exact error message you get is quite important.

What is it?

TDK_Man

that dude over there
17
Years of Service
User Offline
Joined: 22nd Mar 2007
Location:
Posted: 23rd Mar 2007 03:35
---------------------------
Error
---------------------------
Runtime Error 7018 - Could not load 3D object at line 5
---------------------------
OK
---------------------------
That's the error I get. My exact code is..

but I've tried it with just the load object function as well. I've also tried putting the model in the same folder as the game instead of the media folder. Could my file be corrupt? or is it just a technical error? I've also tried importing a .3ds of this model and it won't load either. Hope that's enough information.

~that_dude_over_there>

I use DBP. I am currently working on the design of a 3D pac man game, and an FPS based on an outbreak of mutants called "Outbreak".
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 24th Mar 2007 04:02
some things you could try:
1) triple check the file path, make sure every letter is right
2) make sure it's a .x (and not a .dbo or .3ds)
3) try exporting another model over "pac.x" (make a backup of it first), that you know works, so you can see if it's the file name that's messed up or the file itself .


that dude over there
17
Years of Service
User Offline
Joined: 22nd Mar 2007
Location:
Posted: 25th Mar 2007 02:29
Quote: "
1) triple check the file path, make sure every letter is right
2) make sure it's a .x (and not a .dbo or .3ds)
3) try exporting another model over "pac.x" (make a backup of it first), that you know works, so you can see if it's the file name that's messed up or the file itself
"

I've tried all that, but this isn't a problem anymore. I was actually getting on right now, so I could post I solved the problem. I downloaded milkshape today, and I don't get the problem I did with blender (plus I can actually USE milkshape). Thanks for your help anyways.

~that_dude_over_there>

I use DBP. I am currently working on the design of a 3D pac man game, and an FPS based on an outbreak of mutants called "Outbreak".
bass guy1669
17
Years of Service
User Offline
Joined: 24th Mar 2007
Location: The Zone
Posted: 27th Mar 2007 18:57
do you have a media folder if so use something like this
[load object "media/pac.x] hope that helps

Login to post a reply

Server time is: 2024-11-12 16:45:38
Your offset time is: 2024-11-12 16:45:38