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 / i dont want dark ai to move entitys side ways when avoiding ?

Author
Message
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 23rd Sep 2006 13:01
how can i get dark ai to yust simply make an entity to wait instead of strafing sideways when moving and avoiding other entitys?
iam working on an rts and it looks weird if the tanks moves sideways but it dosent matter for the soilders .
thanks
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Sep 2006 18:09
how about interrogating AI get entity state$(), and setting the entity to Idle if it's avoiding?



Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 25th Sep 2006 22:56
that command only supprts these commands ?

Manual – The entity is under manual control and will not do anything itself.
Idle – The entity has nothing to do and will return to its idle position.
Patrol – The entity will patrol its patrol path.
Go To Destination – The entity will move to its destination.
Investigate – The entity has detected something (e.g. a sound) and will investigate it.
Attack – The entity has spotted a target and will attempt to attack it.
Run And Attack – The entity has spotted a target and will move towards it.
Strafe And Attack – The entity has spotted a target and is moving sideways.
Defend – The entity is will return to its defend area.
Search Area – The entity will check a possible path a target could have taken.
Wait In Cover – The entity will duck behind available cover and wait to pop up and shoot.

or have some new ones bin added after the release of the help file ?
cheers
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 26th Sep 2006 00:29
It was just a quick suggestion, I didn't have the manual with me at the time



Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 26th Sep 2006 20:45
no worries iam really thank full for that you took your time to trye to help me out.

i have actually yust ordered 2 books so that i can get better as i have bin using dark basic now for 2 years but nead to go to the next level as i currently have learned my programming thru the forums and trial and error.

Darkbasic Pro Game Progamming .... from thomson learning
Ai Game Engine Programming .... that actually describes the fundamentals of ai programming for rts games with pathfinding.

so its yust to wait for the books and see where they takes me.

cheers

i have never programmed anything before i started to use dbp so i belive i have to start to read some books that explains it all some more.

Login to post a reply

Server time is: 2024-04-20 02:44:30
Your offset time is: 2024-04-20 02:44:30