Neverwinter Nights 2
0 of 0

File information

Last updated

Original upload

Created by

Kamal

Uploaded by

kamalktk

Virus scan

Safe to use

About this mod

Flexible, easy to use ai for generic commoners.

Permissions and credits
Requires Skywing's Advanced Script Compiler to compile the scripts
http://nwvault.ign.com/View.php?view=nwn2plugins.Detail&id=99

This is an ai system for the generic commoners that occupy your towns/cities etc. It is not meant for anyone you want to follow a specific behavior or schedule. The goal is to provide an simple to implement, but relatively advanced AI for those "unimportant nameless npc" groups that fill out and add ambiance to game worlds. This ai allows your generic commoners to have schedules and carry out quasi realistic actions, automatically, and in as simple for a builder to implement manner as possible.


To greatly improve performance if you are using a lot of commoner ai npc's, in the script sh_npc_leg_oh, add the following at the beginning of the main() function.
if (GetAILevel(OBJECT_SELF) == AI_LEVEL_VERY_LOW)
{
return;
}
Then npc's will not run their routines if players are out of the area. This will be less realistic as players enter the area and then the npc's adjust to a new time.