News:

Come Chat with us live! Learn how HERE!

Main Menu

Team Doors

Started by maigel, February 09, 2008, 08:11:47 PM

maigel

Hi,
is there a possibility to make doors where only aliens or hums are able to get in?

AKAnotu

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

Survivor

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.
I'm busy. I'll ignore you later.

AKAnotu

Quote from: 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.
sweet.
so how do you do this?

Lava Croft

A trigger_hurt is a somewhat blunt solution. Having clipping brushes that only block a certain team would be a far more elegant solution.

maigel

Quote from: 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.
sounds good too buy how do i do this?

Lava Croft

Quote from: maigel on February 10, 2008, 10:21:37 AM
Quote from: 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.
sounds good too buy how do i do this?
That's the thing, I don't think that is possible, yet. :(

Survivor

Nope, go for the sadistic option, go kill trigger.
I'm busy. I'll ignore you later.

techhead

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.
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!

doomagent13

Quote from: Lava Croft on February 10, 2008, 02:10:57 PM
Quote from: maigel on February 10, 2008, 10:21:37 AM
Quote from: 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.
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?

Redman

#10
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

maxell

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)
Quote from Moosenberry: "harry the plant had a tumor in the shape of a lemon growing on him so"
Modified into: "He had a tumor in the shape of a lemon on him so"
my answer: "So, He picked it and squized it into a nice lemon squash with ice cubes of course"

OverFlow

#12
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

maxell

#13
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..
Quote from: 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
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
Quote from Moosenberry: "harry the plant had a tumor in the shape of a lemon growing on him so"
Modified into: "He had a tumor in the shape of a lemon on him so"
my answer: "So, He picked it and squized it into a nice lemon squash with ice cubes of course"

ShadowNinjaDudeMan

Quote from: maxell on February 24, 2008, 08:33:09 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.
Quote from: Colynn' on August 13, 2009, 05:21:09 PM
My favorite player is Jesus, because everything is forgiven when he respawns.

NOM!NOM!NOM!

Zero Ame

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.

blood2.0

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)
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

mooseberry

Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

Amanieu

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:
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

techhead

Team door do have problems when a person decide to hang out behind it when all the spawns are gone.
Just saying...
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!

blood2.0

Quote from: 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:
And???