Game Development Community

AI Pathfinding Issues

by BD · in Torque Game Builder · 06/01/2006 (7:01 am) · 2 replies

Im supposed to be making a soccer game, since world cup is comming up,
and i cant get the "players" to follow the grid i've set up.

exec("./generateGrid.cs"); (is in the game.cs)
and i have the generate grid coded correctly, but cant get them to:
a) follow the path
b) seek out the ball
c) not run through each other

its really frustrating and i'd appricate any help ya'll can give.

BD

About the author

Recent Threads


#1
06/01/2006 (7:42 am)
Without seeing your generateGrid.cs it's impossible to respond really. But your question is a very broad one with many possible solutions.

I like the book Programming Game AI by Example by Mat Buckland. It has examples ranging from finite state machines to path finding, navigation, agents.
#2
06/01/2006 (7:43 am)
The Buckland book has examples in C++ but I have managed to translate the finite state machine into torquescript.