🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

AI for strategic decider

Started by
7 comments, last by shade4x 5 years, 3 months ago

hello....

i need recomendations for methods that used to decide the strategic or state of NPCs FSM, except fuzzy

 

Advertisement

Try to use proper grammar. I honestly don't understand what you are asking.

You should also provide some context: Tell us what you are trying to do, what you have found in searching for a solution, what options you are considering based on what you have read, what you have tried, what relevant experience you have, etc.

 

Since the AI depends entirely on what the game is/does, the inputs available, and how the NPCs act, this is a near impossible question to answer as (poorly) written.

Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play

"Reducing the world to mathematical equations!"

Hey Arinal,

What does "FSM" stand for?

If your NPC is doing something simple you can simply use a chain of "if" statements.
Example (pseudo code obviously):


if(the sun came up)
{
	walk to the store
}
if(at the store)
{
  	Walk around and play animations to look busy
}
if(player interacts with you)
{
	if(the sun is up)
    {	
  		open shop screen
    }
  	if(the sun is down)
    {
     	say "Come back in the morning" 
    }
}
if(the sun goes down)
{
  	go home
}


If you need your NPC to act in more complex ways I recommend Goal Oriented AI Planning (or GOAP)

Start here:

http://intrinsicalgorithm.com/IAonAI/2012/11/ai-architectures-a-culinary-guide-gdmag-article/

Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play

"Reducing the world to mathematical equations!"

16 hours ago, jbarrios said:

What does "FSM" stand for?

FSM usually stands for "Finite-state machine".

5 hours ago, 1024 said:

FSM usually stands for "Finite-state machine".

Or Flying Spaghetti Monster... but we try to keep religion out of these forums. So yeah, let's go with finite state machine.

Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play

"Reducing the world to mathematical equations!"

On 12/23/2018 at 5:46 AM, ArinalRifqi said:

hello....

i need recomendations for methods that used to decide the strategic or state of NPCs FSM, except fuzzy

 

Your Answer is: 42

This topic is closed to new replies.

Advertisement