User Details
User Details
- User Since
- Aug 3 2013, 11:37 PM (593 w, 6 d)
May 10 2016
May 10 2016
TRexian added a comment to T67033: AI Indoor Awareness including Windows/Doors.
IMHO the FSM could look something like this.
2 different AI modes: offensive, defensive.
Defensive - scan visible areas for opfor, look for cover. May or may not keep moving. May try to move to highest point/furthest point from entrance.
Offensive - scan visible areas for opfor, always moving to next "open" building position that isn't already occupied by friendlies. Array of building positions tracked so that as each is cleared, it is ignored by friendlies. When no more positions in array, unit is released for next building or waypoint.