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 / I need some code that will load my .x......

Author
Message
Deadly Shadow
19
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Oklahoma , USA
Posted: 27th Jan 2005 12:58 Edited at: 27th Jan 2005 12:59
I need code to load my .x level!!! Please!!!! Because when I try to load my own level on the tutorial on dbpro it just goes to the loading screen and freezes up!!!!!!!!! So I really need seperate code!!!!!


Also camera positions. And how do you load objects in your landscape? Like trees? And etc.

THANKS.

Sega and Microsoft nothing but the best.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 27th Jan 2005 16:16
You can try this code. It depends on where the 0,0,0 coordinate of your model is as to where to load your camera. What program was the .x made in?



Qweeg
19
Years of Service
User Offline
Joined: 23rd Sep 2004
Location: Kent
Posted: 27th Jan 2005 20:25
Hi guys,

LIT does your post mean that different modeling tools place the 0,0,0 position differently?

I noticed recently that when I prototyped a model using a simple sphere (make object sphere), then if I rotated it it rotated around the centre - so the sphere position remains the same. When I use a model - created in 3d canvas and exported to .x - then it rotated around the top left corner, so the act of rotating it moved its position (which is a real pain)
Deadly Shadow
19
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Oklahoma , USA
Posted: 28th Jan 2005 01:57
I used Multiscape a landscape maker its like geoscape.

Sega and Microsoft nothing but the best.
Deadly Shadow
19
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Oklahoma , USA
Posted: 28th Jan 2005 01:58
Thanks for helping.

Sega and Microsoft nothing but the best.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 28th Jan 2005 02:56
Quote: "LIT does your post mean that different modeling tools place the 0,0,0 position differently?"


In every modeling package you can choose where the 0,0,0 will be. When you start building, the 0,0,0 in your modeling package will be the 0,0,0 in DBP even if the rest of the scale is off.

Deadly Shadow
19
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Oklahoma , USA
Posted: 28th Jan 2005 06:57
Thanks lost in though!!!!! That loaded my level!!!!!! Now how do I make like walls as in barriers so I can only zoom around in the level?

Sega and Microsoft nothing but the best.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 28th Jan 2005 12:54
Look in the code snippets forum there are several good collision codes there. One is a sticky at the top and the others can be found by searching for the word "collision" at the search function at the bottom of that forum. Or you can buy Nuclear Glory Collision plugin. You can find it in the program announcements thread.

Deadly Shadow
19
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Oklahoma , USA
Posted: 29th Jan 2005 09:39
If the level seems chopped up do I need a new graphics card?

Sega and Microsoft nothing but the best.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 29th Jan 2005 12:41
It could mean you need new drivers for your current card (9.0C compatible) and directx 9.0C. What kind of card do you have?

Deadly Shadow
19
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Oklahoma , USA
Posted: 30th Jan 2005 03:55
Im not sure and what do you mean by new drivers? It has the card that came with it when we bought it.

Sega and Microsoft nothing but the best.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 30th Jan 2005 21:11
There are updates to video card drivers all the time. You need to find out what name and model of video card you have and go to the manuafacture's site and get the updates.

Login to post a reply

Server time is: 2024-09-23 10:16:38
Your offset time is: 2024-09-23 10:16:38