This week we had to try out some quick AI behaviour, so we made a prototype were we could take control of a drone. This way we could set restrictions on the movement and behaviour our final ai should be.
We came to the conclusion that we wanted 2 types of drones. One that moves randomly around and one that follows a set path. After the drone sees a player he has to wait 1 or 2 seconds before chasing the player. This wait time is a “scan” to identify the player. It gives the player more breathing room to stay hidden.
After the player is found the drone will get more movespeed and will go to +-5m from the player and ten attack with a zap attack.
If the player goes out of the line of sight, the drone will move to the last known position and return to his normal beaviour after 2 seconds (if the player is lost).
Drones can float to a minimum of 1m above the ground to maximum tree height.
The player can shoot the drone, the first shot will stun the drone (circuit malfunction) for 1 or 2 seconds. the second shot will kill the drone.
This was our test for this week and what we’ve learned from it 🙂