I'm no scripter. I was disappointed that NWN2 did not included/finish the secret door scripts used in NWN1 and/or did not include "placealbe" doors to be used with these scripts.
Rewriting the scripts was no problem. It is the door placeables that was the issue.
I created two "wooden" door placeables (made from a crate) for both the wall and floor trap doors and two stone secret doors. Again a wall and floor trap door.
The scripts work exactly as they did in NWN1.
Place the detect tirgger.
Give it a unique tag... trig_secdoor1
Set the DIFF variable to the detect DC you want.
Set the "on enter" to the script you want to use....
tw_sec_tdoor wooden trap door
tw_sec_wdoor wooden wall door
tw_sec_stdoor stone trap door
tw_sec_swdoor stone wall door
Create two waypoints using loc and dst + the unique tag of your trigger to create the location of your secret door and it's destination
(waypoints using example above)
loc_trig_secdoor1
dst_trig_secdoor1
And you're done!
Everything else works just as it did in NWN1!
A tip for placing the wall door waypoint. Point the arrow towards the wall and move it into the wall until the flag is just showing.
Posted by PGB01 at 2011-10-28 16:56:49 Voted 10.00 on 10/28/11
Just what I needed and quite easy to understand.
Posted by pelhikano at 2011-04-04 00:28:02 Voted 10.00 on 04/04/11
Fantastic, works fine and is easy to use.
Posted by Gonzo Gygax at 2007-12-28 01:05:30 Voted 10.00 on 12/28/07
This is a must for any NWN builder. I have used these scripts repeatedly and I recommend them to anyone, this is the way a secret door should work and it works a charm. If you don't have it yet, get it AND VOTE for it. Thanks, Tzell! _________________________ Loudwater / KOW / Khalidine
Posted by SorceressAshura at 2007-12-17 07:08:46 Voted 9.75 on 12/17/07
Forgot to vote... Doh.. Ugh I need more coffee. _________________________ AKA: GuardianofLore.
Posted by SorceressAshura at 2007-12-17 07:08:06 Voted 9.75 on 12/17/07
A very useful package, I'm glad it was transitioned out of NWN1, to 2. I've been working on some VFX files that create Doors using model files. Maybe you can use them to fix this door issue? _________________________ AKA: GuardianofLore.
Thanks for putting this together. Although not the ability to activate/deactivate the secret doors made to blend in to the tilesets, these are probably as close as we can get for now. _________________________ Raith Veldrin
Sands of Solvheil Series | Atlas & Gazetteer | Blog
You must be Logged In to post comments in this section.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone