i would to know if someone have good examples of AI for a FPS game.
For example.
CODE 1 (may be using paths or not, i dont know)
A code tha move the enemy in "zig-zag" against the player and stops the enemy in each node and shoots to the player.
CODE 2
A code that move the enemy against the player and when the player hurt it, then it run far away the player.
In the magazines i found examples whithout paths.
there is one example in that the enemy detects the distance
of the player and begins to run against the player and shoot
him but it moves in a straightway and that makes easy to the player shoot it.
if the enemy detects the player and begins to run making "zig-zag" it would be wonderful , becuase for the player would be difficult to shoot it. and thats is the idea.
Gracias, amigos. Hasta la vista.