Team: Difference between revisions
Jump to navigation
Jump to search
Warning:
Tip:You can test these out in game with console command
Tip:You can change it using
Co-op Strike and play for the Terrorist team
Warning:Setting this keyvalue to below 0 or above 3 will crash the game.
(Added Team Fortress 2 values) |
|||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
{{This is a|[[keyvalue]]|name=teamnumber|engine=Source|game=csgo|game1=tf2}} | |||
It defines the team of [[player]]. | |||
{{tip|You can test these out in game with console command <code>ent_fire player AddOutput "teamnumber #"</code> where ''#'' is a number from table below.}} | {{tip|You can test these out in game with console command <code>ent_fire player AddOutput "teamnumber #"</code> where ''#'' is a number from table below.}} | ||
== Various teamnumber in | == Various teamnumber values in Counter-Strike titles == | ||
{| class="standard-table" | {| class="standard-table" | ||
Line 28: | Line 29: | ||
|} | |} | ||
{{Tip|You can change it using <code>ent_fire</code> in {{Csgo mode|Coop}} and play for the Terrorist team}} | {{Tip|You can change it using <code>ent_fire</code> in {{Csgo mode|Coop}} and play for the Terrorist team}} | ||
== Various teamnumber values in Team Fortress 2 == | |||
{{warning|Setting this keyvalue to below 0 or above 3 will crash the game.}} | |||
{| class="standard-table" | |||
!Decimal | |||
!Description | |||
!Player [[3D Model|Model]] and [[Texture]] | |||
|- | |||
|<code>0</code> | |||
|'''Unassigned''' | |||
|Invisible or <span style="color:#B0494A">RED</span> style if a class was selected then teamnumber changed through addoutput | |||
|- | |||
|<code>1</code> | |||
|'''Spectators''' | |||
|Invisible or <span style="color:#B0494A">RED</span> style without cosmetics if a class was selected then teamnumber changed through addoutput | |||
|- | |||
|<code>2</code> | |||
|<span style="color:#B0494A">RED</span> | |||
|<span style="color:#B0494A">RED</span> style | |||
|- | |||
|<code>3</code> | |||
|<span style="color:#4F758F">BLU</span> | |||
|<span style="color:#4F758F">BLU</span> style | |||
|} |
Revision as of 00:14, 11 November 2024
teamnumber
is a keyvalue available in Counter-Strike: Global Offensive and
Team Fortress 2.

- The {{{game}}} parameter is inconsistent with the name defined by the {{csgo}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Counter-Strike: Global Offensive.
- The {{{game1}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game1}}} parameter to Team Fortress 2.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
It defines the team of player.

ent_fire player AddOutput "teamnumber #"
where # is a number from table below.Various teamnumber values in Counter-Strike titles
Decimal | Description | Player Model |
---|---|---|
1
|
Spectator | Invisible |
2
|
Terrorist | Terrorist map default, or choosen agent |
3
|
Counter-Terrorist | Counter-Terrorist map default, or choosen agent |
Other | Undefined | Terrorist map default |

ent_fire
in 
Various teamnumber values in Team Fortress 2

Decimal | Description | Player Model and Texture |
---|---|---|
0
|
Unassigned | Invisible or RED style if a class was selected then teamnumber changed through addoutput |
1
|
Spectators | Invisible or RED style without cosmetics if a class was selected then teamnumber changed through addoutput |
2
|
RED | RED style |
3
|
BLU | BLU style |