Hi all,
I have tried simple AI using waypoint. Stored my world data (It have 7 rooms) in a map (2d array), which holds pre-calculated path to travel from one room to other. I have successfully completed the demo.
In my demo I have randomly select a room i.e. 0 to 6 destination.
Start = 0
End = 6
My algorithm will return the path to travel from 0 to 4. Ex the return value 0-1-3-6
Its working perfect.
May I know How to achieve Roaming AI (Realistic AI movement) from one point to next?
I tried but it comes crazy.
Refer me some tutorial.
Roaming AI
did you try to use OpenSteer ???
It's really cool !!!
http://opensteer.sourceforge.net/
a demo for Irrlicht: http://s-fonline.com/webhosting/dhenton ... erdemo.php
It's really cool !!!
http://opensteer.sourceforge.net/
a demo for Irrlicht: http://s-fonline.com/webhosting/dhenton ... erdemo.php
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:

http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Randomly select some room and calculate the root to the selected room and it will travel.
Traveling from one point to its next point is not looks realistic. I simply calculate the angle from my current point to its next point and giving some speed to travel between the points.
Every time my enemy reaches a point i.e. room it has to local search that room. My AI has the path, it knows were to go.
I have to integrate OpenSteer code.
Traveling from one point to its next point is not looks realistic. I simply calculate the angle from my current point to its next point and giving some speed to travel between the points.
Every time my enemy reaches a point i.e. room it has to local search that room. My AI has the path, it knows were to go.
Long time i saw the demo looks cool.did you try to use OpenSteer ???
I have to integrate OpenSteer code.
