Skip to content
Přemysl Talich edited this page Mar 15, 2018 · 8 revisions

TeamGames provides you two teams, red team and blue team.

TeamGames teams

Q: Why only two team?
A: I found out that two teams are just right and simple for making games.

Few rules about moving prisoners to teams:

  1. Only wardens (CTs - not warden plugin, although this could be done via TG_Warden module) can move prisoners to TG teams (through TG menu).
  2. Admins with access to sm_teamgames can use TG menu and so can move prisoners to TG teams.
  3. TG teams are locked (no moving allowed) during TG game.

Teams settings

ConVar Description
tg_team_changedelay Team change immunity after team change (to prevent team change spam)
tg_team_diff How to differ TG teams
0 = Render color
1 = Use model in [PlayerSkin]
tg_team_attack Can prisoners attack each other even if there is no game?
tg_team_notification Location for notifications about player's team
0 = turned off
1 = KeyHint text (bottom-right)
2 = hsay
3 = tg hud
4 = screen overlay (this might break other overlays!)
tg_chat_teamprefix Use TG team chat prefix for players in TG team?

File prefix [PlayerSkin <team>]

  • Example: [PlayerSkin Red] models/player/techknow/prison/team_1/leet_p2.mdl
Argument Description
team Team (Red or Blue)

File prefix [TeamOverlay <team>]

  • Example: [TeamOverlay Red] materials/overlays/teamgames/redteam.vmt
Argument Description
team Team (Red or Blue)

File prefix [RebelSound]

  • Example: [RebelSound] sound/tg/jetorebel.mp3