Alice AI component (T.D.A)

We’ve written a lot about the basic AI developement in Alice but we still haven’t revealed everything that we designed. A lot of the AI used in Warzone: Georgian Front most of you can find on this blog. But there are some things we had not released, for it was still being tested. Our most advanced AI component is called T.D.A. T.D.A. stands for Tactical Decision Analysis and it basically does what it says. The idea of this component is to analyze what the Player is doing, and how to react on it. In Warzone: Georgian Front, there are only a few things that the player can try on the AI. This is the component:

parameters: who gun enemy enemy_turret enemy_gun

if who is at least 15 meters away from enemy

world.intercept who=who

who turn to face enemy

world.shoot gun=gun

else

do nothing

if who is in front of enemy

world.flank who=who

who turn to face enemy

world.shoot gun=gun

else

do nothing

if enemy is behind who

        if enemy_gun distance to enemy_turret >= 1

         who move foward 5 meters

         who turn to face enemy

         who move foward 1 meter

         world.shoot gun=gun

        else

         who turn to face enemy

         world.shoot gun=gun

else

do nothing

This component allows the AI to flank, intercept, and not let the player flank it. This component has been tested in our game Warzone: Georgian Front. This is where it would be added in the AI:

world.enemy AI who gun

if who is within 10 meters of Player

who turn to face Player

world.shoot gun=gun

world.TDA who=who gun=gun enemy=Player enemy_turret=Player.turret enemy_gun=Player.turret.barrel.longgun

Leave a Reply