Game Development Community

A.I dev on 1.5

by Brandon Jackson · in Torque Game Builder · 05/17/2007 (1:25 pm) · 1 replies

Does anybody know of a way to implement advanced A.I within the game engine possibly with behaviors and/or script. If you could give me any info if would be great.

About the author

Recent Threads


#1
05/20/2007 (10:13 pm)
For simple games I usually use finite state machines(FSMs). The agent has a set of states where each of them represents a single behaviour, ie. chase state, flee state, sleep state... In each "think"-tick the agent verifies its senses and updates its current state based on the previous state and the other input it needs(distance to player, health, ...) then performs the action that was assigned to the new state.

http://ai-depot.com/FiniteStateMachines/

This is a very great article about FSMs.