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.

Dark Physics & Dark A.I. & Dark Dynamix / RTS movement with Dark Physics?

Author
Message
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 13th Jan 2008 17:31
Hi
Should I use Dark physics for a RTS game movement?
If yes, how would I do it?

Example code please

Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 14th Jan 2008 19:29
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 16th Jan 2008 09:34
You can use the dark physics raytrace commands, to get the ground height etc. Do this by calling a raytrace, then subtracting the raytrace value from the characters position. That will return the grounds height/y pos below the player

CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 16th Jan 2008 16:16
Thanks

But is it good for peformance to use Dark Physics for this?
Or should I use my own movecode insted?

igitur
16
Years of Service
User Offline
Joined: 23rd Aug 2007
Location:
Posted: 21st Jan 2008 04:18
Don't bother, there are easy ways to make an RTS with pure DBP code rather than implementing DarkPhysics.
Twisted Steel Software
16
Years of Service
User Offline
Joined: 21st May 2007
Location: Teh Interwebs
Posted: 23rd Jan 2008 19:23
I'd say go with Dark Physics, as it allows physical, moving objects to be pushed around and such

-Jim

Intel Pentium 4 3.40 Ghz HT, 1.5 GB RAM, Nvidia Geforce 6800, 19" Dell CRT Monitor ... I need to upgrade ^-^
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Jan 2008 01:04
I'd say it's a waste for most parts of an RTS. Use it maybe for explosion debri, but that's about the only use I see for it.


Twisted Steel Software
16
Years of Service
User Offline
Joined: 21st May 2007
Location: Teh Interwebs
Posted: 24th Jan 2008 02:31
Or for fluid weapons if you have a PhyX card

-Jim

Intel Pentium 4 3.40 Ghz HT, 1.5 GB RAM, Nvidia Geforce 6800, 19" Dell CRT Monitor ... I need to upgrade ^-^

Login to post a reply

Server time is: 2024-05-20 00:25:28
Your offset time is: 2024-05-20 00:25:28