Updated 01/24/04: code reorganized into an include file with functions. should be much easier to incorporate into your mods now.
Torches now have a limited lifespan! Uses new 'OnPlayerEquipItem' event featured in HotU.
To use: Import this ERF into your module. Follow directions listed in Import ERF dialog box!
Edit 'loc_inc_torches' to change lifespan. Default is 20 minutes of real-time. Lifespan is persistent across area transitions and savegames. Should work for both single-player and multiplayer now!
Notes: Does NOT use Module/Area Heartbeat!
Revision 2 makes the script more robust (first version behaved strangely after savegames) and adds an AUTO-DIMMING function... after 60 seconds, torch's color and strength will change slightly to represent the dying of the light! Revision 3 is functionally identical to revision 2 but the code is more organized, clean, etc. Easier to merge with other scripts.
Updated again, probably for last time unless I get feature requests or bug reports.
If you use this in your PW or whatever, please let me know (curiosity). I've looked over the code and I *think* it should work fine for a typical multiplayer server.
Please post the cost by itself - the include will not work with NWN except with BOTH SoU and HotU, even though the script functions will not require them (by the sounds of it).
Please post the cost by itself - the include will not work with NWN except with BOTH SoU and HotU, even though the script functions will not require them (by the sounds of it).
1. Upgrade to patch version 1.61 which is probably the version I used to export.
2. Get the ERF editor from the Vault, and try using it to extract the individual script files from the ERF package, and then paste them into your module.
3. Send me a email and I can send you a ZIP containing just the scripts so you can just paste them into your module.
Posted by Anonymous ( ..xxx.xxx ) at 2004-01-03 07:05:00
What version of NWN did you export this with. I am running 1.59 and it tells me I need to be a higher version in order to get this to import. I really like this idea and want to try it out. Thanks for the script.
Granamere
You must be Logged In to post comments in this section.