Neverwinter Nights

File information

Last updated

Original upload

Created by

Henesua

Uploaded by

henesua

Virus scan

Safe to use

Documentation

Readme

View as plain text

Light Shy Creatures
version 1.00
by The Magus AKA Henesua
[email protected]

This ERF includes six scripts for the AI system, three scripts for the light tracking system that the AI needs to work efficiently, and an example creature that exhibits the light shy begavior. For the creature, see the "Light Shy Spider" in the creature palette under Custom : Monsters : Insects : Spiders.

The purpose of this system is to make certain creatures shy of light sources carried by the PC. This version is rudimentary and functions best in areas that are completely dark.

Possibilities for future development include adding sensitivity to day/night, tile sources of light, and placeable light sources.


Instructions:

Setting up light tracking and testing the system:
1. Open a module
2. Import this ERF into the module
3. Edit Module Properties
a. Click "Events"
b. Adjust the "OnPlayerEquipItem" field to read "_mod_equip"
C. Adjust the "OnPlayerUnEquipItem" field to read "_mod_unequip"
4. Add several of the "Light Shy Spider" to an area


Creating additional light shy creatures:
1. Edit "Light Shy Spider"
a. Click "Scripts"
b. Save Script Set as "AI Light Shy"
c. Close creature
2. Create new creature
3. Edit Properties
a. Click "Scripts"
b. Load Script Set "AI Light Shy"