Jump to content

Team-Specific Entities


Recommended Posts

Posted

Are there any team-specific entities in JKA? That is, entities that are only usable (or can be set to only be usable) by one team or another in a team-based multiplayer game? I'm looking for a way to make a button that can only be used by one team.

 

Obviously I'm interested in entities other than the red/blue flags and red/blue player spawners.

Posted

Thanks! That helped me figure out team-specific triggers. I now have a toggleable forcefield that frags red team but not blue team.

 

Now I'm just wondering about team-specific spawn points. According to the Radiant documentation, the entities "team_ctf_blueplayer" and "team_ctf_redplayer" should work as blue and red spawn points in CTF. But when I start my map in CTF mode, I always spawn at the info_player_start in the middle of the map, regardless of which team I choose. It seems like the "team_" spawners don't work the way the manual says they should.

 

Does anyone know the correct team spawn entities for CTF mode? The siege example map doesn't have them, since it's...well...siege.

Posted

You need both team_CTF_blueplayer and bluespawn and the red versions as well.

 

In siege you should probably be using the siege spawns but I'm not sure what those are off hand.  info_ something I think.

Posted

Okay...it took some tinkering, but it seems to finally be working. Apparently entity names are case-sensitive--it didn't work until I had "team_CTF_blueplayer," "team_CTF_bluespawn," etc., with the "CTF" in all caps. Weird.

 

Thanks for the help!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...