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 3D objects! in pro

Author
Message
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 29th Dec 2004 07:10
I cant load a object how do you in darkbasic pro?
please help me

thanks in advanced
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 29th Dec 2004 07:50
Like when i go (I use Darkbasic PRO)

LOAD OBJECT "Knight.x", 1

There is error 105-file does not exist

It does exsist though because i have darkmatter 1,2 and 3 and i saw it in darkmatter 2! could somone please give me little snippet or somthing so i can learn how to properly load a 3d Model
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 29th Dec 2004 07:56
I cant load a object how do you in darkbasic pro?
please help me i get the error 105-file does not exist!

thanks in advanced
Nic
20
Years of Service
User Offline
Joined: 26th Jun 2004
Location:
Posted: 29th Dec 2004 17:06
save the project aswell as the script in the same folder as the model?
I had teh same problem coz im used to using Classic. hope it helps
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 29th Dec 2004 18:25 Edited at: 29th Dec 2004 18:26
Yes just move the model into the same folder. Save the script then complie and run it should work then.

Thanks
Eddie

[href]http:www.graphics-monkey.co.uk[href]
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 30th Dec 2004 01:58
how do i move a model from darkmatter 1,2 or 3 into the same folder as my game?
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 30th Dec 2004 02:10
could somone give me a slice of syntax for load ing an object i tried

LOAD OBJECT "Ninga.x" ,1 and the ninga is in the same file and it doesent work? you know why? please give me some syntaxe

-Smart Guy
Hawkeye
21
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 30th Dec 2004 02:37 Edited at: 30th Dec 2004 02:42
First off it's "ninja.X"

Second off, goto Ninja in your DM1 folder and copy all the files in there (should be somthing like Ninja.X and ninja_skin.jpg) Then paste them to your root game directory. Thus, for the knight example (don't have DM1 so I can't show you that):

<see below image>

For the code:


EDIT: hmmm lemme change that code to somthing more simple--try this instead:


edit 2: HumHUMmmm, lemme change that image to this: (don't want to be insulting )


"
"Timesoft: Your wife is death. HOW?!! No idea. But it is murder! REVENGE!"
“What, on Christmas?”
Carolina South
20
Years of Service
User Offline
Joined: 28th Sep 2004
Location: South Carolina
Posted: 30th Dec 2004 11:01 Edited at: 30th Dec 2004 11:02
Unless you include the .x model in your executable
during compile by adding it to your project via the
MEDIA tab in the editor, you have to put the FULL PATH
to the .x model you are trying to load:

LOAD OBJECT "Ninja.x" ,1

should be

LOAD OBJECT "C:\Some Folder\Somewhere On My HD\Ninja.x" ,1


Hope this helps

"Diplomacy is the art of saying 'Nice doggie' until you can find a rock." - Will Rogers

"The secret to creativity is knowing how to hide your sources." - Albert Einstein
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 30th Dec 2004 22:08
you can however put

LOAD OBJECT "Ninja.x" ,1


if ninja.x is in the same folder as the exe, you don`t need to put the path to the exe folder since that is assumed by default.

Mentor.

PC1: P4 3ghz, 1gig mem, 3x160gig hd`s, Radeon 9800pro w cooler (3rd gfx card), 6 way speakers.
PC2: AMD 2ghz, 512mb ram, FX5200 ultra, 16 bit SB.
Mini ATX cases suck.
Hawkeye
21
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 31st Dec 2004 00:09
And if you copy the ninja folder into your main game folder then you can use 'LOAD OBJECT "Ninja\Ninja.X", 1' and so on i.e. "Media\DarkMatter2 models\ninja\ninja.X", 1

"
"Timesoft: Your wife is death. HOW?!! No idea. But it is murder! REVENGE!"
“What, on Christmas?”
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 31st Dec 2004 06:49
thanks guys ill try all of these when i get home im away from home right now

-smart guy
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 3rd Jan 2005 11:13
OMFG !!!!!!!!!!!!
it worked thank you so much i wyould pay you guys 200 bucks each if i could thank you so much

-Smart guy!

Login to post a reply

Server time is: 2024-11-27 18:52:48
Your offset time is: 2024-11-27 18:52:48