20 August, 2012

Insects in game

So going along with the theme that insects are controlling this whole experiment I am considering inserting some hive type insects as NPC (non player characters) to mix things up a bit.  This of course will be added much later as I want to get the basics nailed down first.  The reason I will be adding this is that I am sure I will have to program some AI in order to complete my masters degree.  So the idea I have is this.

1. Wasps nest
This will be the most difficult enemy as it will be flying and it will also have both distance and melee attacks.  If a player comes too close to the nest they will get triggered and all come out of the nest at the same time to attack.  I'd like there to be enough enemies that spawn so as to overwhelm a single player or even a small group ( probably a pod size) meaning that taking one down is a serious event requiring a lot of coordination. Of course taking one down would also give a large amount of rewards in the form of nest material which could then be incorporated into weaponry or vehicles.

2. Bee's nest
This type is going to be in the form of suicide bomber type fighting,  as the AI will move quickly to the player and then explode.  Again it will spawn enough enemies to protect against a fairly large attack,  with a faster respawn rate compared to the other nest types.

3. Ant's nest/hill
These will be ground based insects that will close in quickly, then attach themselves to a player doing constant damage until the player is frozen, then they will move on to the next player and so on.

For all three insect types the only class that can outrun them will be the scout class.  Builder's will be necessary to harvest the nest material in all three cases,  and the firepower of the soldier class will be absolutely necessary in taking down a nest.  Luckily hive algorithms are fairly common so implementation shouldn't be all too difficult, though I haven't yet started the programming yet so I guess I'll find out eventually.

When a nest is not active I'll probably have a few of the insects outside doing simple patrolling.  If an insect is attacked it will make it's way to the nest and set off the alarm if it is not taken completely out before then.  Once in alarm state the various swarms will attack any players in a much wider area than the normal radius, meaning that if a group of players sets off this alarm they had better get away fast or be prepared to fight the whole swarm.

No comments:

Post a Comment