Game Development Community

AI

by Eric Soyon · in Torque 3D Beginner · 05/26/2010 (12:49 pm) · 4 replies

Does anybody know how to get AI working in Torque3D? I can't seem to figure it out. It doesn't appear in the mission editor.


#1
05/26/2010 (4:45 pm)
They have to spawn via script. If you read AIplayer.cs (scritps/server) you should be able to figure out how it works - and uncomment out Aimanager in gamecore.cs.
#2
05/26/2010 (7:09 pm)
Using the stock ai script would entail creating a path and then a series of path markers for a "dumb bot" to run in a never ending circle. But think of this as an example or stepping stone only. One can easily add a variety of behavior to this - you can do a lot through script with a little creativity. For further study/improvement do a search through the Resources for the KillerKorc and/or AIGuard (Improved AIGuard) ai solutions -- both of which are easily added to T3D.

Quote:
- and uncomment out Aimanager in gamecore.cs.
That's still commented? Ooops :D
#3
05/27/2010 (5:58 am)
@Mike
That's actually removed totally from beta
#4
05/28/2010 (8:25 am)
Got it working. Thanks!