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 Professional Discussion / Help placing 3D models

Author
Message
AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 21st Jun 2010 06:14
I realize that there isn't a 3D editor, so does anyone have any good suggestions for placing objects precisely?

IDEA-What if you made a map plan on graph paper to represent your map overhead(do you guys think that might work?)

-Austin
AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 21st Jun 2010 06:16
What i have so far(my first DB Pro project)
Dia
21
Years of Service
User Offline
Joined: 16th Jan 2005
Location:
Posted: 21st Jun 2010 07:33 Edited at: 21st Jun 2010 07:38
you can do it a couple ways

1. forum search for plant maps. they can be adapted to include any 3d object you wish to place.

2. use an array to store object data. i.e.



this is the basic type array that I use to hold all of my map objects in a rts type setting

This is not the Sig you are looking for....
Xsnip3rX
19
Years of Service
User Offline
Joined: 20th Feb 2007
Location: Washington State
Posted: 21st Jun 2010 07:37
Umm, and that's not what you have so far, i recognize that from the code snippet library...
AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 21st Jun 2010 17:26
@ Xsnip3rX
-what do you mean
luskos
19
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 21st Jun 2010 20:36 Edited at: 21st Jun 2010 20:36
Quote: "What i have so far(my first DB Pro project)"


He means you claim it`s your code but he recognize it from code snippet library, which is aviable no more.

Coding is My Kung Fu!
And My Kung Fu is better than Yours!
AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 21st Jun 2010 22:11 Edited at: 21st Jun 2010 22:13
oh
AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 21st Jun 2010 22:12 Edited at: 21st Jun 2010 22:13
I spent 1.5 hours doing a tutorial and thats what i got

but i typed every line of code
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 22nd Jun 2010 00:41 Edited at: 22nd Jun 2010 00:43
The best way I can think of would be to make an editor that saves the positions and then loads them into your game. However, if you're new this isn't something to attempt.

Here's an easier way
When I was new, I used to print the camera's X/Y/Z coordinates to the screen. I would then move the camera to where I wanted my object to be, write the coordinates down on some paper, and position the object there using POSITION OBJECT. It's a little sloppy but it at least gives you a pretty close ballpark range.

And keep following the tutorials, that's how to learn .

EDIT: Your graph paper idea could work as well. If you made each square represent a certain number of units and took a certain square to be the origin (0,0,0), you could just count how many squares away from the origin your object was on the X/Z axes. For each axis, you would then multiply the number of squares by the number of units each square represents, and there you have your coordinates .

AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 22nd Jun 2010 01:06
@ Sixty Squares

THANK YOU SO MUCH
THAT IS A GREAT IDEA
-FREE PENGUIN FOR U
Xsnip3rX
19
Years of Service
User Offline
Joined: 20th Feb 2007
Location: Washington State
Posted: 22nd Jun 2010 10:10
and of course i don't mean to be rude just give credit where it's due please, alas i have no clue who made that tutorial...

Login to post a reply

Server time is: 2026-07-25 08:30:06
Your offset time is: 2026-07-25 08:30:06