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 Discussion / I need some help!!

Author
Message
UltimateDemon13
21
Years of Service
User Offline
Joined: 9th Feb 2004
Location: United States
Posted: 13th Feb 2004 02:00
I need some help

With 3 things:

- How to Keep Objects on the Matrix it is annoying me when they fall forever.
- How to use Cartography Shop and Magic World?
- And... well maybe only 2 things
UltimateDemon13
21
Years of Service
User Offline
Joined: 9th Feb 2004
Location: United States
Posted: 13th Feb 2004 02:02
I remembered the 3rd thing
- How do you get fround height?
Doucan
21
Years of Service
User Offline
Joined: 26th Nov 2003
Location: Vermont USA
Posted: 13th Feb 2004 03:46 Edited at: 13th Feb 2004 03:49
Do you mean GROUND height?

If so Try to use the get ground height() command. (if you are using a matrix.) Look it up in DB help, it's quite simple, really. If your using a mesh then I'd imagine you would use the nuclear glory collision DLL. (I can't really say because I don't have nuclear glory)

If you're using get ground height() then I have some advice for you.

If one object is chasing another (One object points itself at the
target and moves til it's in range) then make sure that if you position the target above the martrix like so,

Position object whatever x#,get ground height(x#,z#)+35,z#

or whatever that you have the persuer point at those same coordinates or else when he reached the target he'll fall flat on his face. (It's actually kind of funny)

also, If you find that the object keeps wobbling with every contour of the matrix then establish its x and z angles at zero.

Place these commands in the main loop so that they keep your dudes on the ground

Now all the experienced coders are gonna tell me how crappy my code is.

Completed Doucan movies: Doucan year of the Monkey, Doucan II: the revenge of Mortakia. Current project: Doucan movie DVD resoration. Progress: 20%

Login to post a reply

Server time is: 2025-05-22 18:59:47
Your offset time is: 2025-05-22 18:59:47