Thursday, June 21, 2007

Waypoints and AI

I've implemented a system borrowed from the GG pages that allows me to spawn alien bots in avatar form, then mount them to a vehicle. Once they have done this, they then scan for humans - the function is more adaptive and will scan for any type - and then they go after it.

What's really cool is they know how to fly the ship I've mounted them to.

Future work this month will include the following...
- Spawn enemies from barracks inside mother ship
- They have to walk to a ship in the hangar
- They then have to fly the ship out of the hangar
- Once disembarked they will then look for humans to eat / shoot / capture
- When they have a human they will perform their role on them.
- Missile / Laser / Weapons inventory system for player
- Recharge systems for player
- Humans to perform work - infrastructure.

No comments: