Page 1 of 1

SoU and old modules; Secret doors

Posted: Sat Jul 12, 2003 10:32 pm
by Starslayer_D
I was trying to take up work on my latest addition to housing, and allmost imediately upon the first test two things became aparent:

The upgrade of my client to SoU screwed over a lot of previous scripts:

Secret doors: The script needed to make them work had vanished. Neither was it present anymore in the "official" House of Doors module.

My NPC's were deluging me with scripting errors.

(Slicerdicer can veryfy this, he was present as well).

Anybody else observed this, and can offer help here on how to make my secret doors work again and stop my NPC's from flooding server in error messages?


Edit in:
when looking at the problem in the toolset, I get a nw_o2_dtwalldoor resource not found error. Seems that one has gotten removed from the resource pool of NWN

edit2:
they completely changed the way secret doors are done. Unfortunately, they forgot to describe how it works somewhere.

Re: SoU and old modules

Posted: Sun Jul 13, 2003 7:07 am
by KinX
Starslayer_D wrote:Edit in:
when looking at the problem in the toolset, I get a nw_o2_dtwalldoor resource not found error. Seems that one has gotten removed from the resource pool of NWN

edit2:
they completely changed the way secret doors are done. Unfortunately, they forgot to describe how it works somewhere.
i haven't had a look myself and can only offer general advise.

Maybe nw_o2_dtwalldoor got renamed to something else?

Have a look at the XP1 SP game and see how they did secret doors in there. There's a secret door in the elf tomb in chapter one.

Posted: Wed Aug 27, 2003 7:57 am
by Starslayer_D
HAs anybody by now figured out how to do secret doors under SoU?

If yes, can you please enlighten me?

Same goes for the projectile traps.

Posted: Wed Aug 27, 2003 9:38 am
by Voyor
The secret door that I use a lot does work now... at least, 2 day's ago. It was also broken, but not any more :D

Posted: Wed Aug 27, 2003 2:29 pm
by Lord Deathwalker
as far as i can tell the secret doors are the same if i use old secret door triggers!!

Posted: Wed Aug 27, 2003 2:39 pm
by Starslayer_D
Ok.. could you please explain, too? Floodgate changed secert doors, but neglected to describe how their new concept works... :(((

Posted: Wed Aug 27, 2003 6:52 pm
by Aloro
OK, the new secret doors are very cool. Here's a tutorial:

1) Lay down the trigger. This represents the area within which characters have a chance of discovering the door. For this example, let's use Triggers->Secret Object Trigger->Secret Walldoor Stone. Give the trigger a unique Tag. For this example, let's call it "MySecretDoor".
2) Lay down a waypoint where you want the secret door to appear. Give the waypoint the Tag "LOC_MySecretDoor". That's LOC_ + Tag of trigger.
3) Lay down a waypoint where you want the secret door to lead. Give the waypoint the Tag "DST_MySecretDoor". That's DST_ + Tag of trigger.
4) There is no step 4, you're done.

Say you just want to put a door in a wall, and not hide it. Go to Placeable Objects->Secret Object->Secret Door and put the door against a wall. Then make one waypoint with the Tag DST_ + Tag of the door (there is no trigger, in this case). That's it - now the door (always there) leads to the waypoint.

You can read up on this in the script called "x0_i0_secret".

- Aloro

Posted: Wed Aug 27, 2003 8:11 pm
by Mistcaller
Starslayer_D wrote:when looking at the problem in the toolset, I get a nw_o2_dtwalldoor resource not found error. Seems that one has gotten removed from the resource pool of NWN
I got the same problem, but when I opened the script "nw_o2_dttrapdoor" (which is used for trapdoors) I noticed that it can be used for doors too. So I changed the point where it refers to the trapdoor blueprint resref ("NW_PL_HIDDENDR03") with the walldoor blueprint resref: "NW_PL_HIDDENDR01" and saved it as "my_dtwalldoor2" . I used it on the heartbeat of the hidden wall door trigger and it works!

So you just put the trigger and only that (from the placeables) with the new OnHeartbeat script and a destination waypoint as the comments suggest. Then the door appears exactly on the trigger with the same orientation. I havent used the "LOC_*" waypoint yet...but I trust Aloro... :)

Posted: Wed Aug 27, 2003 8:43 pm
by Aloro
The new secret doors don't rely on heartbeats - just the OnEnter of a trigger or the OnUsed of a placeable door or trapdoor. They're much nicer. :)

- Aloro

Posted: Wed Aug 27, 2003 9:51 pm
by Mistcaller
You are right. I just tested the secret doors and they work fine.
I was refering to the hidden ones, which do have a problem with that missing script...

Posted: Fri Sep 05, 2003 2:41 am
by Scurvy_Platypus
No clue if this is of use to anyone, but here's a fix of some sort. Not a code monky so YMMV

http://nwvault.ign.com/Files/scripts/da ... 4810.shtml

Posted: Fri Sep 05, 2003 12:49 pm
by Vian
I thought that's how secret doors always worked!?

Well that's how I have always made mine... /Shrugs