False back Panel

Post » Tue Jun 19, 2012 5:49 pm

I'm trying add a secret room to this house I'm making, and I was wondering if I could do this.

I want to have the cabinet door act as an actual cabinet, but when you click on the torch beside the cabinet the cabinet doors open as usual and the false panel slide away as if you had activated them both. Is this possible to do? if so could you please teach me :happy:

Thanks :smile:
User avatar
Harry Leon
 
Posts: 3381
Joined: Tue Jun 12, 2007 3:53 am

Post » Tue Jun 19, 2012 8:14 pm

Load the inn cell that has a false backed wardrobe on the main quest line and look how its done
User avatar
Christina Trayler
 
Posts: 3434
Joined: Tue Nov 07, 2006 3:27 am

Post » Tue Jun 19, 2012 10:32 am

I'm trying add a secret room to this house I'm making, and I was wondering if I could do this.

I want to have the cabinet door act as an actual cabinet, but when you click on the torch beside the cabinet the cabinet doors open as usual and the false panel slide away as if you had activated them both. Is this possible to do? if so could you please teach me :happy:

Thanks :smile:

I must say I'm a complete new in modding, but I will try to help with my ideas/opinion:

I'm not sure I understand the first part of your question. I mean, you want the cabinet to actually work as a cabinet, but only show it's secret if using the torch?

If that is the case, I think you must use the "parents" and "active" tabs, to trigger other object's scripts using another object, similar to buttons to open secret doors (you can check any dungeon that does this, to see the code). For instance, Ysgramor has a trigger for when the player inserts a sword in a slot, to open a door.

Also, keep in mind that you are requiring TWO different objects here. One real cabinet (container) and then a static cabinet with it's back false panel, which is independent.

What I would try is to place the real cabinet and the false panel, on final position. The panel will be inaccessible because the real cabinet will hide it. Then, the torch should trigger a script that "replaces" this cabinet with the model for secret cabinet. Remember it's a container so you can't just delete it... , maybe you can write a script that "moves" the real cabinet outside the house area, and at same time you move the false cabinet into this position. What I'm not sure is about the doors.

Well, you probably already though about all this, but I hope it helps a little.
User avatar
Wayne W
 
Posts: 3482
Joined: Sun Jun 17, 2007 5:49 am


Return to V - Skyrim