Author Topic: Certain team hurt trigger  (Read 4185 times)

Futilrevenge

  • Posts: 18
  • Turrets: +4/-0
Certain team hurt trigger
« 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:
I Yam what i Yam. Tremulous.

Kaleo

  • Posts: 2098
  • Turrets: +176/-220
    • KaleoDesign
Re: Certain team hurt trigger
« Reply #1 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.
Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...

Plague Bringer

  • Posts: 3815
  • Turrets: +147/-187
Re: Certain team hurt trigger
« Reply #2 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. Don't quote me on any of that, though.
U R A Q T

==Troy==

  • Posts: 440
  • Turrets: +65/-67
Re: Certain team hurt trigger
« Reply #3 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.

Winnie the Pooh

  • Posts: 442
  • Turrets: +45/-85
Re: Certain team hurt trigger
« Reply #4 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.
Quote
I also realize that this is the internet, but even more so this is the forum for a video game on an internet, then even beyond that this is TREMULOUS forums the Satan version of all video game forums for a video game that is ON the internet.

professor

  • Posts: 232
  • Turrets: +1/-33
Re: Certain team hurt trigger
« Reply #5 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. 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...
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!