Tremulous Forum

Media => Mapping Center => Topic started by: maigel on February 09, 2008, 08:11:47 pm

Title: Team Doors
Post by: maigel on February 09, 2008, 08:11:47 pm
Hi,
is there a possibility to make doors where only aliens or hums are able to get in?
Title: Re: Team Doors
Post by: AKAnotu on February 09, 2008, 08:13:34 pm
I thought about this for a while a few days ago, but I don't think that it's possible without a little code revision done. Wait for 1.2, and read stuff on siege for the time being. Seige is about the same
Title: Re: Team Doors
Post by: Survivor on February 09, 2008, 11:17:44 pm
yes, class and equipment triggers can make it so only a certain team can open doors. Kill triggers in conjunction with these can make it so only a certain team can pass.
Title: Re: Team Doors
Post by: AKAnotu on February 09, 2008, 11:31:00 pm
yes, class and equipment triggers can make it so only a certain team can open doors. Kill triggers in conjunction with these can make it so only a certain team can pass.
sweet.
so how do you do this?
Title: Re: Team Doors
Post by: Lava Croft on February 10, 2008, 04:24:56 am
A trigger_hurt is a somewhat blunt solution. Having clipping brushes that only block a certain team would be a far more elegant solution.
Title: Re: Team Doors
Post by: maigel on February 10, 2008, 10:21:37 am
A trigger_hurt is a somewhat blunt solution. Having clipping brushes that only block a certain team would be a far more elegant solution.
sounds good too buy how do i do this?
Title: Re: Team Doors
Post by: Lava Croft on February 10, 2008, 02:10:57 pm
A trigger_hurt is a somewhat blunt solution. Having clipping brushes that only block a certain team would be a far more elegant solution.
sounds good too buy how do i do this?
That's the thing, I don't think that is possible, yet. :(
Title: Re: Team Doors
Post by: Survivor on February 11, 2008, 06:34:47 pm
Nope, go for the sadistic option, go kill trigger.
Title: Re: Team Doors
Post by: techhead on February 11, 2008, 08:34:57 pm
You could have steeply sloped floors that narrow down to 30 units, so trespassing humans will slide down into a bottomless pit, lava, etc.
Aliens (Excepting dretch) can simply put one foot on each wall and walk across.
Combining this with small spaces (and slick surfaces) can make "single class" areas feasible.
Title: Re: Team Doors
Post by: doomagent13 on February 15, 2008, 12:04:44 pm
A trigger_hurt is a somewhat blunt solution. Having clipping brushes that only block a certain team would be a far more elegant solution.
sounds good too buy how do i do this?
That's the thing, I don't think that is possible, yet. :(

Invisible team-activated door?
Title: Re: Team Doors
Post by: Redman on February 16, 2008, 11:52:12 pm
The most easy way is use target_relay:

trigger_multiple or other entitie -----> targer_relay (human_only or alien_only or random) -----> func_door or other entitie
Title: Re: Team Doors
Post by: maxell on February 23, 2008, 11:35:26 am
i beileive it is possible because i have tried that by myself ( i failed) but i used a patch for GTK radiant which allows you to changes entity commands (like only a humans can activate the door to open it)
Title: Re: Team Doors
Post by: OverFlow on February 24, 2008, 06:42:26 pm
Haven't completely thought this through but...

Might be possible to have kind of an 'airlock' system.

Basically, there would be a first door that opens for anyone, but when it closes, it turns on some team triggers that will close the second door if the incorrect team is found inside the chamber, also opening the first door to let them out.  If the incorrect team is not found in the chamber, then the second door never closes, and a timer will open the first door after some time to reset everything.

The 'airlock' takes care of the possibility of members of opposite teams going through a team-triggered door at the same time.

Might have to actually make this to see if its possible.  And even so it might be complicated enough that it would get broken after extended use online...

And now I realize I only thought this through for one direction, hmmm
Title: Re: Team Doors
Post by: maxell on February 24, 2008, 08:33:09 pm
well it is a idea but i was thinking of a door which crushers the wrong team when there tuch the door.. or make it a istant kill when you touch something aroud the door... or maybe a so calle "pipe" to small for humns to get in but big enough for  dretches..
Haven't completely thought this through but...

Might be possible to have kind of an 'airlock' system.

Basically, there would be a first door that opens for anyone, but when it closes, it turns on some team triggers that will close the second door if the incorrect team is found inside the chamber, also opening the first door to let them out.  If the incorrect team is not found in the chamber, then the second door never closes, and a timer will open the first door after some time to reset everything.

The 'airlock' takes care of the possibility of members of opposite teams going through a team-triggered door at the same time.

Might have to actually make this to see if its possible.  And even so it might be complicated enough that it would get broken after extended use online...

And now I realize I only thought this through for one direction, hmmm
it is a god idea but needs more thoughts and maybe you could put a teleporter which teleports the wrong enemy to the base or something
Title: Re: Team Doors
Post by: ShadowNinjaDudeMan on February 25, 2008, 07:36:51 pm
it is a god idea

Steady on there.

Maybe its time, with the advent of 1.2 just aroiund the corner (or thereabouts) to create two new common textures:

alienclip

humanclip

Guess what they do.
Title: Re: Team Doors
Post by: Zero Ame on February 27, 2008, 12:13:01 am
You could just make 1 door and have a button/switch that when swtiched it finds what has turned it and if not the right class it does nothing, but if correct class it makes the door open.
Title: Re: Team Doors
Post by: blood2.0 on February 27, 2008, 01:35:45 am
My idea is a combo of both the kill switch and the airlock. For the aliens base there are two triggers  that are 30 units apart so no human and ever alien besides a dretch can open the doors the back door or door 1 stays open for 3 seconds and the second door only 1 second like this (i only have paint oh and sorry about the unets instead of units) (http://farm4.static.flickr.com/3287/2294461263_43dac0f87a_o.jpg)
and for the humans door its just the size of a battle suit and really long and does 50 damage ever second so you wont die if you touch it only if you go it it.
that is my idea i hope there is a better way
Title: Re: Team Doors
Post by: mooseberry on February 27, 2008, 04:25:29 am
uhhh...  ??? ::)
Title: Re: Team Doors
Post by: Amanieu on February 27, 2008, 05:49:03 am
The MGDev server has barricades that shrink to about half their original size when an alien touches them. Also acid tubes can damage through the barricades so together they make a very good defense.  :barricade: :barricade: :barricade:
Title: Re: Team Doors
Post by: techhead on February 28, 2008, 12:37:58 am
Team door do have problems when a person decide to hang out behind it when all the spawns are gone.
Just saying...
Title: Re: Team Doors
Post by: blood2.0 on February 29, 2008, 12:09:50 am
The MGDev server has barricades that shrink to about half their original size when an alien touches them. Also acid tubes can damage through the barricades so together they make a very good defense.  :barricade: :barricade: :barricade:
And???