AI code for FPS/3PS

Blitz3D Forums/Blitz3D Programming/AI code for FPS/3PS

I completely agree with Puki.

I spent weeks making my characters randomly move, bump off walls, etc, but inevitably they always got stuck somewhere.

Eventually I had to junk the system and start again using paths of waypoints.

The downside is that you couldn't use this for any kind of combat system (which luckily I didn't need).

The upside is that once you have such a system running, as puki says, you can have 'traffic lanes' of people that look pretty random but which actually aren't.

The final thing I added was that if two people collided they would turn to each other and say 'How are you?', pause, then move on.
A lot of work, but staggeringly good - the first time I saw them do that I whooped!