Team: Difference between revisions
Jump to navigation
Jump to search
Note:All these inputs/keyvalues are integers
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.
m (Nescius moved page Teamnumber to Team) |
|||
| Line 9: | Line 9: | ||
== Changing team == | == Changing team == | ||
* '''SetTeam''' input - available to all entities | * '''SetTeam''' input - available to all entities | ||
* '''teamnumber''' keyvalue {{since|{{asw|4}}}} and {{also|{{tf2branch}}}} | * '''teamnumber''' keyvalue {{since|{{asw|4}}}} and {{also|{{tf2branch}}}} | ||
* '''TeamNum''' input/keyvalue - sets so called initial team not the team itself, which sets the entity's actual team when the entity is spawned (even when loading from save file) | * '''TeamNum''' input/keyvalue - sets so called initial team not the team itself, which sets the entity's actual team when the entity is spawned (even when loading from save file) | ||
{{note|All these inputs/keyvalues are integers}} | |||
== Team values == | == Team values == | ||
Revision as of 03:29, 26 March 2025
Every entity has a team property but it's mostly relevant for players or npcs. It can affect appearance or other behavior of player. Material proxies can be used to render a texture only for some team list of material proxies.
Example of other entities where team affects their behaviour:
- func_simpleladder in

team determines who can climb it - other examples[Todo]
Changing team
- SetTeam input - available to all entities
- teamnumber keyvalue (in all games since
Alien Swarm) and (also in
) - TeamNum input/keyvalue - sets so called initial team not the team itself, which sets the entity's actual team when the entity is spawned (even when loading from save file)
Team values
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 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 |

Left 4 Dead series
| Decimal | Description | Player Model and Texture |
|---|---|---|
0
|
Unassigned | |
1
|
Spectators | |
2
|
Survivor | |
3
|
Infected | |
4
|
L4D1_Survivor (only in |
Survivors spawned using info_l4d1_survivor_spawn |