Jump to content
  • Advertisement
Sign in to follow this  
RojanShrestha

Beginning Fuzzy logic?

This topic is 2549 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 was wondering if I should implement fuzzy logic for my game in which the AI has to select weapons and different attacks and defend options...
Also I want to know how tough is it to implement fuzzy logic.. After understanding the theory can it be done within a month.. I'm running on a tight schedule here!!

Share this post


Link to post
Share on other sites
Advertisement

I was wondering if I should implement fuzzy logic for my game in which the AI has to select weapons and different attacks and defend options...
Also I want to know how tough is it to implement fuzzy logic.. After understanding the theory can it be done within a month.. I'm running on a tight schedule here!!


You sure you want "fuzzy logic" in the classic sense or simply "variable importance of criteria". Big difference.

Ironically, the weapon selection/who to attack problem is exactly the main example in the last half of my book. *shrug*

The gist is, however, create values and weights for different ideas, tweak them as necessary when combined with other considerations, score things, add things, and then pick the best one. It's actually not that hard to get started.

Share this post


Link to post
Share on other sites

Also I want to know how tough is it to implement fuzzy logic.. After understanding the theory can it be done within a month.. I'm running on a tight schedule here!!


Pretty straightforward. Check out the book entitled "Programming Game AI by Example". Chapter 10 on Fuzzy Logic has many code examples (C++). There are also many fuzzy logic libraries available.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!