Jump to content
  • Advertisement
Sign in to follow this  

Making a FPS bot

This topic is 5062 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've searched for threads on bots but havent really found out an answer to the main question I have right now. The bot itself is not the main part of my project, I dont want to make anything extraordinary - I just want to make my FPS playable with some simple AI. From what I've read, doing a FSM with a system of waypoints could be just what I need. The problem is the waypoint part. I basically have a .bsp map in memory and a routine to check if a collision with the map happens between 2 points. From there, how can I build waypoints? I know that entities could be used (ammo boxes, health, armor, guns, etc). But I dont think that would be enough, would it? And Im also not too sure about navigation between those waypoints. The first part would be managing to get a path between 2 waypoints (which could be done offline and saved to a file?). And secondly, making bots follow these paths. What come to my mind right away would be to make the bots stay all the time on these 'lines' and move one way of the other... That would look unnatural, but would that be a good start anyway? Thanks for the help.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!