Info player rebel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy)
No edit summary
Line 1: Line 1:
{{LanguageBar|title = {{mono|info_player_(rebel / combine)}}}}
{{Preserved entity|all}}
{{Preserved entity|all}}
[[File: info_player_start.png | right | 300px]]
[[File: info_player_start.png | right | 300px]]
{{CD|CPointEntity|nolink=1|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/61ca3f725417d5b479824cded09eaab1909151be/src/game/server/hl2mp/hl2mp_player.cpp#L47 hl2mp_player.cpp]}}
{{CD|CPointEntity|nolink=1|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/61ca3f725417d5b479824cded09eaab1909151be/src/game/server/hl2mp/hl2mp_player.cpp#L47 hl2mp_player.cpp]}}
{{This is a|point entity|name=info_player_rebel|game=Half-Life 2: Deathmatch}}
{{This is a|point entity|name=info_player_rebel|name1=info_player_combine|game=Half-Life 2: Deathmatch|notitlechange=1}}
Represents a spawn point of a player on the rebel team during a team deathmatch game in Half-Life 2: Deathmatch.
Represents a spawn point of a player on the rebel/combine team during a team deathmatch game in Half-Life 2: Deathmatch.
{{note|If no {{code|info_player_rebel}}s are present in the map, rebel players will spawn at {{ent|info_player_deathmatch}}s instead.}}
{{note|If no {{code|info_player_rebel}}/{{code|info_player_combine}} are present in the map, rebel/combine players will spawn at {{ent|info_player_deathmatch}}s instead.}}


== Keyvalues ==
== Keyvalues ==
Line 10: Line 11:


==See also==
==See also==
* {{ent|info_player_combine}}
* {{ent|info_player_deathmatch}}
* {{ent|info_player_deathmatch}}
* {{ent|info_player_start}}
* {{ent|info_player_start}}

Revision as of 18:15, 10 May 2025

English (en)Translate (Translate)
Recycle-warning.png
This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected.
Info player start.png
C++ Class hierarchy
CPointEntity
CBaseEntity
C++ hl2mp_player.cpp

info_player_rebel and info_player_combine are point entities available in Half-Life 2: Deathmatch Half-Life 2: Deathmatch. Represents a spawn point of a player on the rebel/combine team during a team deathmatch game in Half-Life 2: Deathmatch.

Note.pngNote:If no info_player_rebel/info_player_combine are present in the map, rebel/combine players will spawn at info_player_deathmatchs instead.

Keyvalues

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

See also