Tremulous Forum
Media => Mapping Center => Topic started by: ShadowCoder on January 18, 2009, 06:07:40 am
-
Hello my problem for today is i have made 4 doors, 2 activating at stage 2 and the other 2 activating at stage 3. When I reach stage 2 the door does nothing and the same problem happens with the stage 3 doors. In GTKradiant 1.5.0 the trigger_stage entities are on there appropriate doors. Maybe I have something wrong in the key/value field?
Here is what I have in one of the trigger_stage entities...
**note** The entity is NOT in the void.
classname trigger_stage
origin 720 313 160
stage 1
target stage2door1
team 1
Here is the door it is pointing too...
angle -2
classname func_door
targetname stage2door1
Any and all help would be appreciated. Thanks! :)
-
Hi !!!
First of all insert a wait 999999 var in the door entity otherwise it will open and close after 2 secs...
Second : this door must open only at Alien Stage 2 or at Humans Stage 2 too ?
Have Fun !!!
-
If you tested by changing g_humanStage and g_alienStage (which won't work), then try again by setting cvars like g_alienStage2Treshold to 0.
-
You don't have to have a separete trigger to make the door work on a stage, just make the door have all the stuff that u had put on the trigger that should work
-
Second : this door must open only at Alien Stage 2 or at Humans Stage 2 too ?
A good way to do this is to make the door into either 2 or 3 seperate doors. like this ||| the middle would move when humans get stage 2 and outside 2 when aliens get stage 2
Or || 1 at as2 and other at hs2
Also you might want to make the doors speed 1 so that when they do get it takes awhile to get up and then make the wait 999999 like ghost said to do.
-
@ Zero Ame: to open a door at stage 2 (human or alien) only need to trigger it with the 2 triggers... important is the wait value otherwise it will close immediatly :)
Example:
classname trigger_stage
origin 720 313 160
stage 1
target stage2door1
team 1 ********** ALIENS STAGE 2 ********
wait 999999
classname trigger_stage
origin 720 320 160
stage 1
target stage2door1
team 2 ********** HUMANS STAGE 2 ********
wait 999999
Here is the door it is pointing too...
angle -2
classname func_door
targetname stage2door1
Have Fun !!!
-
I think Zero Ame described a door that opens when both teams are S2, whereas you described a doot that opens when either team is S2.
-
Make 2 doors
-
For a door that opens when BOTH are s2, you can use a func_train, since it needs to be triggered twice if it is waiting at a path_corner. ghostisback: trigger_stage doesn't use a wait key, tho you need a wait key on the door or it will close again in 2 sec.
-
ghostisback: trigger_stage doesn't use a wait key, tho you need a wait key on the door or it will close again in 2 sec.
My error !!! i want to wait door not trigger, sorry :P
-
Hi !!!
First of all insert a wait 999999 var in the door entity otherwise it will open and close after 2 secs...
Second : this door must open only at Alien Stage 2 or at Humans Stage 2 too ?
Have Fun !!!
If you tested by changing g_humanStage and g_alienStage (which won't work), then try again by setting cvars like g_alienStage2Treshold to 0.
Thank you Ghostisback and UsaKilleR. These 2 helped my problem. :D
-
If you tested by changing g_humanStage and g_alienStage (which won't work), then try again by setting cvars like g_alienStage2Treshold to 0.
Ye, also was surprised by this one day. But, according to manual, trigger_stage still untested. And, accidently, i may not work. And sometime it happens (even on UCTS, where i saw such doors 1st time). =]
-
Is it possible to have doors shut when a team reaches a certain stage?
-
Yes. Have the doors open from a trigger_stage, then again with another trigger_stage for a different stage.