Emergent behaviour in NPCs - book/article recommendations
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!"
At this stage, programming details would be handy, but an overview might be better. I was thinking of giving each NPC a 'class', so that a beggar NPC would move out of the way of a nightwatchman, but move towards a priest in the hope of a hand-out. So an idea of the kind of assignments I'd need to make for each NPC.
Essentially, I want to try and simulate an interesting town environment - with lots of interaction between the NPCs, and would be willing to learn whatever programming techniques were required.
thanks
Quote: Original post by littlered
sorry, yes, I sould have been specific. I've done a reasonable amount of work with State machines, some pathfinding, and an implementation of MinMax, as far as programming goes.
At this stage, programming details would be handy, but an overview might be better. I was thinking of giving each NPC a 'class', so that a beggar NPC would move out of the way of a nightwatchman, but move towards a priest in the hope of a hand-out. So an idea of the kind of assignments I'd need to make for each NPC.
Essentially, I want to try and simulate an interesting town environment - with lots of interaction between the NPCs, and would be willing to learn whatever programming techniques were required.
thanks
That stuff should be data-driven :) I strongly recommend looking at Jeff Orkin's paper/presentation "Three States and a Plan". I believe there's an example of how a well-done planner can induce interesting emergent behavior. And anyhow, planners are something every AI programmer should look into.
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!"
@InnocuousFox - again - thanks for the reply, what sort of actions would you look to include? Basic needs like hunger and sleep? Or would they be more personality driven (eg. a social person, a greedy person, a collector driven to search out the last remaining item for their collection?)
Or would they be more literal like performing a task assigned from the possible actions available to their job?
Now, apply things like that to individual NPCs. What are the actions that they could take? What are the factors that would be considered in deciding between those actions? What are ways that people could differ in their opinion of what factors are important? Encode those into coefficients that are stored in the NPC's object. Those are things that differentiate him from the guy next to him. A behavioral fingerprint, if you will.
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!"
Quote: Original post by InnocuousFox
What are the actions that they could take?
I think this is the crucial bit I need to think about - I need to define the majority of these first.
thanks again