I just had another one of those “I’m really doing it!” moments this week as I finally got some AI chasing and attacking logic implemented in the game. When I say AI I’m not talking about SkyNet this is really just a series of commands that tell my enemies in the game how to react to the player character. The current Yakuza hive brain can be broken down like this:
- Patrol your designated area
- If you see Neon follow him until you are within firing range
- If you are in range fire your uzi
- Reload and fire again until Neon is Dead
It seems pretty simple when broken down and realistically it is but this is just the first layer. As I add Stealth and Combat into the mix things will get a little more interesting.