i need some help with AI
Posted: Sat May 14, 2005 9:02 am
Hi,
I am developing an FPS game.
I have almost everything done... except the most important thing: AI!
I need help with two things:
1. How to make an enemy shoot me when I come near him
2. How to make the enemy keep facing towards me until I kill him.
I also need some help with timing.
For example.. if the player is using a shotgun, there's a pause of 500ms before each shot.
It will be really helpful if someone posted some code.
Thanks
-Zubair-
I am developing an FPS game.
I have almost everything done... except the most important thing: AI!
I need help with two things:
1. How to make an enemy shoot me when I come near him
2. How to make the enemy keep facing towards me until I kill him.
I also need some help with timing.
For example.. if the player is using a shotgun, there's a pause of 500ms before each shot.
It will be really helpful if someone posted some code.
Thanks
-Zubair-