View Single Post

Default 

December 13th, 2012, 13:55
I'll add a Q and A from the comments:

I asked:
Originally Posted by GhanBuriGhan
Nice work on the NPC behavior. I always hate it when NPC are oblivious to stealing, and I wouldn't have expected it to be handled so well in this game.
A question though: Is this behavior generic (e.g. the NPC will try to find any guard in the vicinity) or scripted for each specific situation?
The answer was:
Originally Posted by Orphic
There's no scripting going on, aside from the guards' dialog when he catches up to you. The behavior is generic, though it depends on the individual NPC's temperament. For example: an aggressive NPC who loves fighting won't even bother going for the guard, he'll just attack, a timid NPC may just run away, etc. Sometimes the NPC may yell and alert other NPCs who themselves will run in search of a guard. And once a guard is alerted he'll call out to other guards in the vicinity. We find this system works quite well in terms of producing interesting and emergent behavior.
GhanBuriGhan is offline

GhanBuriGhan

GhanBuriGhan's Avatar
Wose extraordinaire

#2

Join Date: Oct 2006
Posts: 3,507