Author Topic: Stage Doors  (Read 5938 times)

ShadowCoder

  • Posts: 13
  • Turrets: +0/-0
Stage Doors
« 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!  :)

ghostisback

  • Posts: 139
  • Turrets: +8/-1
Re: Stage Doors
« Reply #1 on: January 18, 2009, 02:57:53 pm »
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 !!!

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Stage Doors
« Reply #2 on: January 18, 2009, 06:04:02 pm »
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.

professor

  • Posts: 232
  • Turrets: +1/-33
Re: Stage Doors
« Reply #3 on: January 18, 2009, 11:36:03 pm »
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
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

Zero Ame

  • Posts: 329
  • Turrets: +33/-15
    • NOS
Re: Stage Doors
« Reply #4 on: January 19, 2009, 05:15:54 am »
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.

ghostisback

  • Posts: 139
  • Turrets: +8/-1
Re: Stage Doors
« Reply #5 on: January 19, 2009, 10:46:23 am »
@ 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 !!!

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Stage Doors
« Reply #6 on: January 19, 2009, 10:55:05 am »
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.

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: Stage Doors
« Reply #7 on: January 21, 2009, 06:29:10 am »
Make 2 doors
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Stage Doors
« Reply #8 on: January 21, 2009, 07:06:20 am »
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

  • Posts: 139
  • Turrets: +8/-1
Re: Stage Doors
« Reply #9 on: January 21, 2009, 09:08:03 am »
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

ShadowCoder

  • Posts: 13
  • Turrets: +0/-0
Re: Stage Doors
« Reply #10 on: January 21, 2009, 10:26:46 pm »
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

[RUS] dRiver

  • Posts: 6
  • Turrets: +0/-0
    • http://krond.ru/
Re: Stage Doors
« Reply #11 on: January 22, 2009, 01:22:00 pm »
Quote
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). =]
[STAY PARANOID]=

The Me

  • Posts: 85
  • Turrets: +19/-21
Re: Stage Doors
« Reply #12 on: January 22, 2009, 03:42:33 pm »
Is it possible to have doors shut when a team reaches a certain stage?

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Stage Doors
« Reply #13 on: January 22, 2009, 07:48:07 pm »
Yes. Have the doors open from a trigger_stage, then again with another trigger_stage for a different stage.