Help - Search - Members - Calendar
Full Version: Team specific triggers?
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Mapping Forum > Mapping Help and Troubleshooting
schkorpio
hi again smile-fix.gif

just wondering if its possible to create team specific entities in ns1?

for example if i wanted to have a hurt field that only damages marines?

or a wall that can only be walked through as an alien?

or buttons that can only be activated by an alien?
StixNStonz
Try a trigger_presence. Search for it in the Official Mapping Guidelines. There might be another way but its late and im tired tounge.gif
Kouji_San
Have a look at the point entity game_team_master

To use it as an alien master set it up like this:

-name: alien
-team index: 2

To use it as a marine master set it up like this:

-name: marine
-team index: 1


team index 0 is the readyroom team, can be used for RR triggers for example (get creative tounge.gif)

Anyway now you can use lets say a trigger_hurt and set it's master as one of the game_team_masters above --> for example if you set "marine" as master it will only hurt marines. The same goes for teleporters, buttons, doors etc... I use it for the alien lockable resnodes in my map and the teleporter (along with an elaborate entity mix to make the resnodes work ofcourse)

I do have to add to this that I have not tested it with trigger_hurt or the teleport area brush, I don't see why it shouldn't work though...



Just a little side note...

Are you having trouble finding the Mapping Help and Troubleshooting sub forum? biggrin-fix.gif
schkorpio
QUOTE(Kouji_San @ Jun 26 2007, 06:57 AM) [snapback]1635795[/snapback]

I do have to add to this that I have not tested it with trigger_hurt or the teleport area brush, I don't see why it shouldn't work though...
Just a little side note...

Are you having trouble finding the Mapping Help and Troubleshooting sub forum? biggrin-fix.gif

Thanks Kouji! biggrin-fix.gif thats awesome.

um... oops ill be sure to post in there next time LOL smile-fix.gif
schkorpio
dang i don't think it works :S maybe i did it wrong - the trigger_hurt just goes about hurting everyone, and trigger_teleporter doesn't seem to teleport anyone :s

i'll post my map in when i get home from work ( about 10 hrs from this post ) - maybe ill need to go back to verc and consult the trigger manual!
schkorpio
after consulting the VERC its working now smile-fix.gif

class dismissed biggrin-fix.gif you guys are going into the credits when my is announcable smile-fix.gif

i might play around with the trigger presence aswell.
Kouji_San
Keep in mind that that trigger will also trigger when a teamspecific projectile is going trough it...

--> gorge shoots --> trigger_presence "aliens" will trigger
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.