PDA

View Full Version : How to make the sliding door open with delay ?


Supernova
02-03-2005, 10:17 AM
The door I want to use the masterswitch with is like that at the start of E2L7 (a non-stretching sliding door)

Yes I've tried using the Masterswitch (sprite N.8), but I couldn't be able to make this trick.
I've used the configuration below...please would u check if there's somthing wrong?

[LT = LowTag ; HT = HighTag]

Touchplate (LT=X ; HT=0)
[In the left shutter sector] Masterswitch (LT=X ; HT=200)
[In the right shutter sector] Masterswitch (LT=X ; HT=200)

The door is two sectors, with a sector effector (LT=15; HT=X) in each.

Please help me solving this wierd problem.

Geoffrey
02-03-2005, 01:46 PM
I tried the same thing, didn't seem to work, found an alternative. http://forums.3drealms.com/ubbthreads/images/graemlins/doh.gif

jimbob
02-03-2005, 03:19 PM
your best bet is to open a map that has sliding doors, and take em apart to see how they are build up. its really hard to explain how to make em, let alone how to make advanced ones, with windows inside and stuff.

Supernova
02-03-2005, 04:55 PM
Geoffrey said:
I tried the same thing, didn't seem to work, found an alternative. http://forums.3drealms.com/ubbthreads/images/graemlins/doh.gif



Thx for your reply Geoffrey
could you please share your alternative with me? http://forums.3drealms.com/ubbthreads/images/graemlins/rolleyes.gif http://forums.3drealms.com/ubbthreads/images/graemlins/tinyted.gif http://forums.3drealms.com/ubbthreads/images/graemlins/grin.gif


jimbob said:
your best bet is to open a map that has sliding doors, and take em apart to see how they are build up. its really hard to explain how to make em, let alone how to make advanced ones, with windows inside and stuff.



hello jimbob
thx 4 the tip, but I think I can indeed build the door (had had a look at original duke maps already, as you hinted me), so that's not the problem.
The problem is I've always happened to read that the Masterswitch' s job is to activate a sector-effector (like the one used to create earthquakes, explosions, http://forums.3drealms.com/ubbthreads/images/graemlins/rolleyes.gifDOORS http://forums.3drealms.com/ubbthreads/images/graemlins/rolleyes.gif, etc..) after a delay time. So it always works in couple with a sector-effector AND must be activated by a Touchplate sprite. ( I've managed to activate it by switch to make some good C-9 detonate and it worked perfectly...but this is another interesting story tho http://forums.3drealms.com/ubbthreads/images/graemlins/tinyted.gif...)
If I said something wrong about the masterswitch and sector-effector please let me know! (I don't want to get them pissed off, just imagine the mess they will cause in the maps http://forums.3drealms.com/ubbthreads/images/graemlins/grin.gif http://forums.3drealms.com/ubbthreads/images/graemlins/hhg.gif)....

jimbob
02-03-2005, 04:58 PM
tried using an activator instead of a masterswitch, afaik masterswitches only work once and then lose thier function ( or holes in walls would reset when triggered again ) and it should also work without a touchplate and just using the use key.

Supernova
02-03-2005, 06:23 PM
hi jimbob
please tell me how you created the door with the activator,
How did you set up the LowTag and HighTag of all the sprites involved ?

Semicharm
02-03-2005, 06:32 PM
OK, first of all I would NOT recommend using the way sliding doors are made in the game as a model since their design is really more complex than it needs to be.

Anyway the problem is really with the way you set the high tags of the doors. Just simply change the high tag of one of the doors.

What happens is when the master switch activates one of the doors, the game will go out and find every door that has the same high tag and activate it too, but since the other door also has a master switch it will do the same, instantly counteracting the first by activating the high tag again. However, you must have a master switch or activator in both doors to prevent the player for being able to use either of them.

Supernova
02-03-2005, 09:17 PM
Hello,

Geoffrey, Jimbob, semicharm,
wonderful news : I've solved the problem!!

Here is how to make the door open by switch without being able to open "manually" one of its shutters. The Touchplate version is the same of course, just replace the switch with the touchplate.

In order to get both shutters "locked" unless you press the switch you must insert TWO activators (one in each shutter)...It's the only way. But the switch cannot activate 2 different tags !! Then all you have to do, it's to create a sort of link (or bridge, or whatever you wanna call it) between the switch's lowtag and the "openable shutter" ' s sector effector's hightag. Just follow the numbers. I know, I'm not that good to explain these things, so if there's something you don't understand just ask ok?

1. Switch(LT=X, HT=0)

2. Make the door, set both sector lowtags to 25 and put one Sector effector(LT=15, HT=X) in the first sector (either), and another Sector effector(LT=15, HT=Y) in the second.

3. Put one Activator(LT=X, HT=0) in the first sector and another ("link") Activator(LT=X, HT=Y) in the second.

That's all.

Semicharm
02-03-2005, 09:44 PM
That's what I said...
BTW the Activator doesn't need a high tag since they ignore them anyway.

Geoffrey
02-04-2005, 03:33 AM
Thx for your reply Geoffrey
could you please share your alternative with me?



St 20 doom door http://forums.3drealms.com/ubbthreads/images/graemlins/love.gif http://forums.3drealms.com/ubbthreads/images/graemlins/wink.gif

NutWrench
02-04-2005, 10:35 AM
Geoffrey said:

Thx for your reply Geoffrey
could you please share your alternative with me?



St 20 doom door http://forums.3drealms.com/ubbthreads/images/graemlins/love.gif http://forums.3drealms.com/ubbthreads/images/graemlins/wink.gif



I used Build for years but I never figured out how to do horizontal sliding doors either. http://forums.3drealms.com/ubbthreads/images/graemlins/frown.gif

The most amazing effect I ever saw using a sliding door was a door that had a wall-sized mirror on it. It worked perfectly, too.

I've got the map on my hard drive, somewhere.

jimbob
02-04-2005, 11:48 AM
Supernova said:
hi jimbob
please tell me how you created the door with the activator,
How did you set up the LowTag and HighTag of all the sprites involved ?

give the activator the same tag as the switch or touchplate. not sure wether its an high or lotag though. i usually dont make doors that use switches or touchplates to open.

Semicharm
02-04-2005, 04:08 PM
I've only seen it done twice, once in a demo map I released a long time ago and once in another map that someone showed me because he had trouble getting another effect working. It was a store I think, but I don't remember the name of the map or if it was ever released. His version was much simpler than mine but the design only works in limited cases. If the file name had the word "river" in it then it was mine. http://forums.3drealms.com/ubbthreads/images/graemlins/wink.gif

Semicharm
02-04-2005, 04:13 PM
Sliding doors? Those are fairly easy to make, provided that you completely ignore how they were done in the game maps.