Jump to content
  • Advertisement
Sign in to follow this  
The Human Genocide

Is there a name for this?

This topic is 4067 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 have been developing AI for a project of mine, which is a top down shooter. This is pretty much how it works: The AI has a line of sight. If you get in it's line of sight, it attempts to see what kind of gun you have. Whether it sees depends on how close are and how long you are in the line of sight. After it determines your weapon type, it views your weapon compared to its. Then, it will run away or go after you depending on that. Like, if you have a shotgun, and it has a sniper, it will try to get farther away. Also, I have it keeping track of your ammo. If it sees you shoot, it notes that you have one less ammo. This way it can keep track of when you are about to have to reload. If it sees you reload, it restores it's ammo variable. It doesn't have access to see exactly what your ammo is, but it assumes that when it first sees you you have full health and ammo. My question is, is there a name for this?

Share this post


Link to post
Share on other sites
Advertisement
AI is generally classified by algorithm, not behavior.

I guess I'd call it Heuristic AI or maybe just StateMachine AI. I mean, you really just functionally describe a standard state machine driven AI. What you do with the state machine and heuristic is the behavior, but it's not a different type of AI.

-me

Share this post


Link to post
Share on other sites
I implemented something like this using a state machine.

You're definitely using heuristics to drive the state change, so I guess you could make up a term like "heuristically-driven state machine" or something like that. I'd just call it a state machine.

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!