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 / inserting objects

Author
Message
jermaine
18
Years of Service
User Offline
Joined: 3rd May 2006
Location: Baltimore, Maryland
Posted: 27th Jun 2006 07:02
ok i have official had dbc for 1 day. I like it alot.

I just have one problem I am trying to make a third person game but i am aving a tough time inserting object into the world. I have the tree and a basic ground.
And all the code for a third person game.(i am using the tuturial.)

i just want to know how to place stuff like trees and other characters. Like how do i figure out where am i going to place the objects. Is there like a coordinate system?(x,y,z)

I just want to make some walls but i dot know how to place the correctly.

Is thee like a easier map editor for this or a world editing tutorial?

HI
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 27th Jun 2006 09:17
Well yes there is a co-ordinated system, and it is x,y,z like you suggested (with y being verticle position)
If you were positioning an object at (4,6,9) you would say:

position object ob, 4, 6, 9

where ob is the object number.

It does take a while to be able to accurately guess where things will end up...thats why a world editor may be right up you street. But do try and get used to positioning objects manualy as there is always alot of work you will do with this. If you are using a matrix, try using the get ground height() command to find the height of the matrix at a given x,z co-ordinate. This will help you accuratly place objects on the ground.

Good luck for now, I'll be back later

M.I.A is pending
jermaine
18
Years of Service
User Offline
Joined: 3rd May 2006
Location: Baltimore, Maryland
Posted: 27th Jun 2006 17:21
sounds like alot of work.

HI
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 28th Jun 2006 11:42 Edited at: 28th Jun 2006 11:45
Programming is alot of work!

And for positioning..how is one command too much?

position object 1, 4, 6, 9

..positions object 1 at the x co-ordinate 4 the y co-ordinate 6 and the z co-ordinate 9.

Please let me know where i'm not making sence, I obviously confused you in the previous post so sorry about that.

M.I.A is pending
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 28th Jun 2006 16:16
I think he meant the ability to think in 3D space is a lot to learn!
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 30th Jun 2006 16:49
I can say from personal experience that I wasted alot of time jumping straight in with the 3d graphics. The best way for me to understand how to make a game was to practice writing simple games with little or no graphics, then you can slowly bring your ideas into 3d.
Having said that it's also good to experiment with stuff like 3D positioning in order to learn the 3D commands you will use later.

Login to post a reply

Server time is: 2024-11-26 17:40:59
Your offset time is: 2024-11-26 17:40:59