info_player_deathmatch
Jump to navigation
Jump to search



info_player_deathmatch
is a point entity available in all Source games.
Entity description
Represents a spawn point of a player during a free-for-all deathmatch game.







Choose team
button and use Auto distribution
button. With this players get a huge advantage over other players during a multiplayer game, such as avoiding death or spawning at a required point. Can be fixed with plugins only. [todo tested in ?]




Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- 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.
- List of items to spawn the player with. (itemstogive) <string> (only in
)
- Comma-delimited list of items that player will receive if spawning at this point.
Important:Items must be separated by commas with no spaces. For example, to give a player three batteries, a gluon gun, and a grenade for the MP5, put item_battery,item_battery,item_battery,weapon_gluon,item_grenade_mp5.
Note:Players always get item_suit.
Note:If nothing is specified here, then players will get item_weapon_crowbar, item_weapon_glock with full ammo and 3 item_weapon_frag.
Bug:Players with no weapons will T-pose, even though
_noweapon
animations exist.[todo tested in ?]Confirm:Can be fixed with plugins ?
Bug:Players using weapon_headcrab will T-pose.
[todo tested in ?]Confirm:Can be fixed with plugins ?
Bug:Items can be picked up not only by player that appears at spawn point.[Clarify]
[todo tested in ?]Confirm:Can be fixed with plugins ?
Inputs


Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
Outputs
See also
- info_player_combine - spawn point for combine team in Half-Life 2: Deathmatch multiplayer.
- info_player_rebel - spawn point for rebel team in Half-Life 2: Deathmatch multiplayer.
- info_player_start - general singleplayer spawn point.
- info_player_scientist - spawn point for scientist team in Black Mesa multiplayer.
- info_player_marine - spawn point for HECU team in Black Mesa multiplayer.
- info_observer_menu - spawn point for spectators in Black Mesa multiplayer.
- game_player_equip - gives weapons to players.