Ok, so i'm nearly finished with the bulk of the set.. heres the run down
OnArea - blank
OnClose - blank (may add autolock but don't know... see OnOpen)
OnDamaged - see OnAttacked
OnDeath - See below
OnFailToOpen - blank
OnHB - blank
OnLock - See below
OnAtt - See below
OnOpen - See below
OnSpell - blank
OnUnLock - See below
OnUserDef - blank
OnDeath: Modified death script by Sir Elric. Includes relock timer
OnLock: Can set random unlock DC or leave as original door value
OnAtt: Sets custom hardness based on type of weapon attack (semi-functional)
OnOpen: Will auto close and if lockable auto lock the door
OnUnlock: Can be set to give xp to PC or whole party or noone.
Almost everything configured via include file. Also includes (optional) scripted random number generator off the vault for those who think the BW Random() function isn't random at all.
/* Misc Settings */
const int USING_HAK = 0; // 1 = Using weapons hak
/* Random Lock Settings */
const int VEASY = 5;
const int EASY = 10;
const int MEDIUM = 20;
const int HARD = 30;
const int VHARD = 40;
const int RANDOM_ON = 1; // 0 = No Random lock DCs, 1 = Random DC on relock
const int RANDOMI = 1; // 0 = Bioware, 1 = Syrsnein Random Number Generator
/* Door Hardness Ratings */
const int BLUNT_DR = 2;
const int SLASH_DR = 5;
const int PIERCE_DR = 10;
/* Door Lock/Relock Delay */
const float DELAY_CLOSE = 6.0;
const float DELAY_LOCK = 7.0;
/* SE Door Constants */
const float RESPAWN_TIMER = 5.0; // Default respawn delay
const int DO_CRAFT_DROP = FALSE;// Drop default Bioware crafting item?
This is the basics so far, if anyone has thoughts or ideas on things to change/add etc let me know so I can polish up and release (about 5 years late I might add...)