Jedi_Mediator Posted June 27, 2017 Share Posted June 27, 2017 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. Link to comment
mrwonko Posted June 27, 2017 Share Posted June 27, 2017 Check out the siege example map for team-specific triggers. ooeJack and Sturg1986 like this Link to comment
Jedi_Mediator Posted June 28, 2017 Author Share Posted June 28, 2017 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. Link to comment
ensiform Posted June 28, 2017 Share Posted June 28, 2017 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. Link to comment
mrwonko Posted June 29, 2017 Share Posted June 29, 2017 FWIW there should also be an example ctf map. Link to comment
Jedi_Mediator Posted June 29, 2017 Author Share Posted June 29, 2017 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! Link to comment
the_raven Posted June 30, 2017 Share Posted June 30, 2017 (I didn't read the OP attentively, never mind.) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now