This article relates to the game "Half-Life 2: Deathmatch". Click here for more information.

info_player_deathmatch

From Valve Developer Community
Revision as of 10:27, 8 January 2024 by Thunder4ik (talk | contribs) (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
Jump to navigation Jump to search

English (en)Translate (Translate)
Info player start.png

info_player_deathmatch is an e0 available in Half-Life 2: Deathmatch Half-Life 2: Deathmatch. Also in Black Mesa Black Mesa and Portal 2: Community Edition Portal 2: Community Edition.

Entity description

Represents a spawn point of a player during a non-team deathmatch game.

Warning.pngWarning:In Half-Life 2: Deathmatch Half-Life 2: Deathmatch point does not disabling if a physics prop is blocking it, which can cause a player to get stuck in physics prop. Fixed in Black Mesa Black Mesa.
Confirm: Isn't fixed in Portal 2: Community Edition Portal 2: Community Edition ?
Icon-Bug.pngBug:In Black Mesa Black Mesa player can respawn at any moment during a multiplayer game if press Choose team button and use Auto distribution button. With this player 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 or target).
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>
Here a list of items that player will receive if he appears at this point.(only in Black Mesa)
Todo: Learn how to give more than one weapon or item.
Note.pngNote:Player always get item_suit.
Note.pngNote:If nothing is specified here - player will get item_weapon_crowbar, item_weapon_glock with full ammo and 3 item_weapon_frag.
Icon-Bug.pngBug:Players wth no weapons uses T pose, even though the models provide _noweapon animations.
Confirm:Can be fixed with plugins ?
  [todo tested in ?]
Icon-Bug.pngBug:Players that use weapon_headcrab uses T pose.
Confirm:Can be fixed with plugins ?
  [todo tested in ?]

Inputs

Enable <void> (only in Black Mesa)
Enable this spawnpoint
Note.pngNote:Also fires when a player or any other object stops blocking a given point.
Disable <void> (only in Black Mesa)
Disable this spawnpoint
Note.pngNote:Also fires when a player or any other object starts blocking a given point.


Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/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 <stringRedirectInput/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