Tremulous Forum

Media => Mapping Center => Topic started by: Futilrevenge on January 03, 2009, 03:32:57 am

Title: Certain team hurt trigger
Post by: Futilrevenge on January 03, 2009, 03:32:57 am
Well, I'm new to these forums, but i am a mapper for many games, so I have allot of mapping experience. anyway, I'm working on a map currently and I need some help with gtkradiant. How do you create a trigger that only hurts a certain team, like if your an alien/human and you enter the trigger area and gets hurt, but the opposite team is immune? is this even possible? Thanks  :granger:
Title: Re: Certain team hurt trigger
Post by: Kaleo on January 03, 2009, 06:44:10 am
I think you can apply a team variable to a hurt entity that will allow it only to affect one team.

Not one hundred percent sure about this though.
Title: Re: Certain team hurt trigger
Post by: Plague Bringer on January 03, 2009, 02:53:57 pm
I think you can apply a team variable to a hurt entity that will allow it only to affect one team.

Not one hundred percent sure about this though.
I can confirm that much, at least. I believe it's key: team, with a value of either 1 (alien) or 2 (human). I do believe it would be relatively the same as creating a door that only opens for one team (http://tremmapping.pbwiki.com/Starting+Tremulous+Mapping#IncludingaTrigger). Don't quote me on any of that, though.
Title: Re: Certain team hurt trigger
Post by: ==Troy== on January 03, 2009, 04:20:46 pm
a trigger_equipment or trigger_class targeting taget_hurt will also allow you to damage players based on their class or equipment.
Title: Re: Certain team hurt trigger
Post by: Winnie the Pooh on January 04, 2009, 08:25:02 am
Filter the triggers you are using through a trigger relay and set the key for the aliens only.
Title: Re: Certain team hurt trigger
Post by: professor on January 04, 2009, 08:34:26 pm
I think you can apply a team variable to a hurt entity that will allow it only to affect one team.

Not one hundred percent sure about this though.
I can confirm that much, at least. I believe it's key: team, with a value of either 1 (alien) or 2 (human). I do believe it would be relatively the same as creating a door that only opens for one team (http://tremmapping.pbwiki.com/Starting+Tremulous+Mapping#IncludingaTrigger). Don't quote me on any of that, though.
yea, but isnt the team thing for having a sertain team of enities, not for an effect on a sertain team in game??? cuz ive seen it both ways such as when ur making a s2 door, u use 1 for alien, and 2 for human, but i know u can make a team of doors that operate together, well at least i think...