Difficult door problem Created 18 years ago2005-06-22 18:30:13 UTC by Lac Lac

Created 18 years ago2005-06-22 18:30:13 UTC by Lac Lac

Posted 18 years ago2005-06-22 18:30:13 UTC Post #116237
I just found out that making a rotating door with glass, that acts like a simple door with a "Use Only" flag, is harder than you think.

First problem occurs if you make the glass and the door two seperate func_doors entities with both having a "Use Only" flag. What happens is that when you press the use key in front of the door, you either trigger the glass, or the door frame, not both.

As an alternative you can but a trigger_multiple entity in front of the door, and make it trigger both the glass and the door frame. Only problem is that the doors opens even if you only pass by =|.

If there only was a way to trigger both the glass and the door frame at the same time by useing the use key.

A button could've done, but sadly u aint able to create pass-through button entities. :(

Anyone got an idea about how to solve this? thanks.
Posted 18 years ago2005-06-22 18:54:15 UTC Post #116239
Move the trigger multiple closer to the door for one.
Posted 18 years ago2005-06-22 19:13:36 UTC Post #116244
Or when the door will open it will trigger the glass to move! ;)
Posted 18 years ago2005-06-22 19:18:32 UTC Post #116245
yeah. but how can i do that by forcing the playuer to use the "use key" to open the door=?
Posted 18 years ago2005-06-22 19:20:47 UTC Post #116246
Good Idea Elon! Just make the door 'use only', and have it trigger the glass. Set the delay to trigger to .001, and hopefully the door/glass will open simultaneously.
Posted 18 years ago2005-06-22 19:21:28 UTC Post #116247
Hmmmmm...Use only flag! Remamber once using it once but I think it means it will open becuase of some event! Anyway give it a try! :|
Posted 18 years ago2005-06-22 19:49:05 UTC Post #116251
The Use only flag is simply that.

'Door won't open unless you hit the E key, or whatever you have set in controls for Use.
Posted 18 years ago2005-06-22 19:51:34 UTC Post #116252
Yeah. know that. Tried what Elon said though, but there is a little delay from when the door swings open until the glass swings open. Cant seem to find whats causing it.
Posted 18 years ago2005-06-22 20:14:13 UTC Post #116253
A Func_rot_button has a not solid flag! ;)
Posted 18 years ago2005-06-22 20:18:54 UTC Post #116254
Yeah. Last post was for Elon's benefit.

Seems even if you set the delay to something like .0001, there is some build-in delay.

try puttin a func door right in front of your existing door/glass func doors. Set properties to:

texture: blue(what you use for invisible)
rendermode: texture
fx amount: 255
target: your 2 doors, give them the same name.
delay: 0.001

flags to check:

passable, use only

This way you can still use use to trigger both doors simultaneously.
Posted 18 years ago2005-06-22 20:21:32 UTC Post #116256
Why not use a delay of 0! :lol:
Posted 18 years ago2005-06-22 20:25:25 UTC Post #116257
Hmmm...can you use a negative delay like -1? Maybe this will help! :
Posted 18 years ago2005-06-22 20:25:42 UTC Post #116258
Using 0 causes bugs sometimes, especially when using multimanager.
A Func_rot_button has a not solid flag!
Just what does that have to do with what we're talking about? :zonked:
Posted 18 years ago2005-06-22 20:27:52 UTC Post #116261
We can put a Func_rot_button where the door is may be this will solve the problem! But probley it will be the same! What about the negative delay?
Posted 18 years ago2005-06-22 21:08:57 UTC Post #116269
Keep it as is.. Make a Square brush over the door textured with the {blue. Now tie it to a 'func_button, 'FX: Solid' 'FX Amount: 255' to make it invisible, put it's target to 'door' (the name of both doors) And check the 'Not Solid' Flag, and there you go!.. Now when you go to use the 'use' key, both doors will open at the same time. ;)
Unbreakable UnbreakableWindows 7.9 Rating!
Posted 18 years ago2005-06-22 21:25:22 UTC Post #116277
BAH! Rowley, Your one step ahead of me! Sorry.
Unbreakable UnbreakableWindows 7.9 Rating!
Posted 18 years ago2005-06-23 05:17:20 UTC Post #116319
yeah. tried your idea Rowley (and unbreakable ;) ), it does make both the door and the glass open at the same time, but it doesnt get rid of the little delay. When you press the use key, it takes a little while (0.5 - 1.0 sec) before the door opens.
Posted 18 years ago2005-06-23 05:29:31 UTC Post #116322
Ohh...that kind of the delay! I thought a delay between the time when the two doors open! :o
Posted 18 years ago2005-06-23 07:38:35 UTC Post #116353
that was the original problem i had.
Posted 18 years ago2005-06-23 07:39:24 UTC Post #116354
you could make a button with the invisible texture and make it move away with a speed of 99999 ! Then the player could pass as the door open and wouldnt probebly notice the button :P
Posted 18 years ago2005-06-23 07:50:11 UTC Post #116356
it takes a little while (0.5 - 1.0 sec) before the door opens.
That's odd. It should open immediately when you hit the use key. Maybe the door speed is just set really low...try increasing it. :)

Elon: Have you tested your negative delay theory? That will be cool if it works. ;)
Posted 18 years ago2005-06-23 08:30:20 UTC Post #116364
<quote>you could make a button with the invisible texture and make it move away with a speed of 99999</quote>

hehe, good idea, but could cause some problems when you consider that the door is supposed to be in a multiplayer map.
Posted 18 years ago2005-06-23 08:42:00 UTC Post #116365
oh :P thought it was a sp map ^^
Posted 18 years ago2005-06-23 12:16:53 UTC Post #116400
I'm testing it now!
Posted 18 years ago2005-06-23 12:18:35 UTC Post #116401
tell us what you find out asap.
Posted 18 years ago2005-06-23 12:59:02 UTC Post #116419
Doesn't work! :( sigh...it could have been usefull! :roll:
Posted 18 years ago2005-06-25 22:35:28 UTC Post #117156
Prehaps you could take the glass out of the door? Lol... Ask commander Touvak says, "When every action has been exsaused, take the only action left... inaction."

Well not exactly like that but that's his point. Unless the glass serves an important purpose of coarse.
Posted 18 years ago2005-06-27 00:39:32 UTC Post #117366
Intersting qutote... and quite true. Sometimes doing nothing is the best thing! :)
You must be logged in to post a response.