This article relates to the game "Half-Life 2: Deathmatch". Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

Info player deathmatch: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Info player deathmatch/en to Info player deathmatch without leaving a redirect: Move en subpage to basepage)
No edit summary
Line 7: Line 7:
Represents a spawn point of a player during a free-for-all deathmatch game.  
Represents a spawn point of a player during a free-for-all deathmatch game.  
{{warning|In {{hl2dm|4}} point does not disable if a physics prop is blocking it, which can cause a player to get stuck in physics props. Fixed in {{Bms|4}}. {{confirm| Isn't fixed in {{P2ce|4}} ?}}}}
{{warning|In {{hl2dm|4}} point does not disable if a physics prop is blocking it, which can cause a player to get stuck in physics props. Fixed in {{Bms|4}}. {{confirm| Isn't fixed in {{P2ce|4}} ?}}}}
{{bug|In {{Bms|4}} player can respawn at any moment during a multiplayer game if press <code>Choose team</code> button and use <code>Auto distribution</code> 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.}}
{{bug|In {{Bms|4}} player can respawn at any moment during a multiplayer game if press <code>Choose team</code> button and use <code>Auto distribution</code> 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.|hidetested=1}}
{{important|If there are no available spawns, players will spawn at the map center.}}
{{important|If there are no available spawns, players will spawn at the map center.}}
{{tip|If you want to place your spawn point on a displacement surface - place your spawn point in the air as players will automatically teleport to the ground, but won't be able to spawn if it is clipping into the floor}}
{{tip|If you want to place your spawn point on a displacement surface - place your spawn point in the air as players will automatically teleport to the ground, but won't be able to spawn if it is clipping into the floor}}
Line 15: Line 15:
==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV Parentname}}
{{KV Angles}}
{{KV Angles}}


Line 22: Line 21:
:{{note|Players always get [[item_suit]].}}
:{{note|Players always get [[item_suit]].}}
:{{note|If nothing is specified here, then players will get [[item_weapon_crowbar (BMS)|item_weapon_crowbar]], [[item_weapon_glock (BMS)|item_weapon_glock]] with full ammo and 3 [[item_weapon_frag (BMS)|item_weapon_frag]].}}
:{{note|If nothing is specified here, then players will get [[item_weapon_crowbar (BMS)|item_weapon_crowbar]], [[item_weapon_glock (BMS)|item_weapon_glock]] with full ammo and 3 [[item_weapon_frag (BMS)|item_weapon_frag]].}}
:{{bug|Players with no weapons will T-pose, even though <code>_noweapon</code> animations exist.{{confirm|Can be fixed with plugins ?}}}}
:{{bug|Players with no weapons will T-pose, even though <code>_noweapon</code> animations exist.|hidetested=1}}
:{{bug|Players using [[weapon_headcrab (BMS)|weapon_headcrab]] will T-pose.{{confirm|Can be fixed with plugins ?}}}}
:{{bug|Players using [[weapon_headcrab (BMS)|weapon_headcrab]] will T-pose.|hidetested=1}}
:{{bug|Items can be picked up not only by player that appears at spawn point.{{clarify}} {{confirm|Can be fixed with plugins ?}}}}
:{{bug|Items can be picked up not only by player that appears at spawn point.{{clarify}} {{confirm|Can be fixed with plugins ?}}|hidetested=1}}
|only={{bms}}}}
|only={{bms}}|hidetested=1}}


==Inputs==
==Inputs==
Line 32: Line 31:
{{IO|Disable|param=void|Disable this spawnpoint|only=BMS}}
{{IO|Disable|param=void|Disable this spawnpoint|only=BMS}}
{{note|Also fires when a player or any other object starts blocking a given point.}}
{{note|Also fires when a player or any other object starts blocking a given point.}}
{{I Targetname}}
{{I Parentname}}
==Outputs==
{{O Targetname}}


==See also==
==See also==

Revision as of 11:36, 20 October 2024

English (en)Translate (Translate)

Icon-NotInFGD.png
This entity is not in the FGD by default, except in Half-Life Deathmatch: SourceHalf-Life 2: DeathmatchBlack MesaPortal 2: Community Edition.
See below for instructions on making it available.

info_player_deathmatch is a point entity available in all Source Source games.

Info player start.png

Entity description

Represents a spawn point of a player during a free-for-all deathmatch game.

Warning.pngWarning:In Half-Life 2: Deathmatch Half-Life 2: Deathmatch point does not disable if a physics prop is blocking it, which can cause a player to get stuck in physics props. 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 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.
Icon-Important.pngImportant:If there are no available spawns, players will spawn at the map center.
Tip.pngTip:If you want to place your spawn point on a displacement surface - place your spawn point in the air as players will automatically teleport to the ground, but won't be able to spawn if it is clipping into the floor
Note.pngNote:In Half-Life 2: Deathmatch Half-Life 2: Deathmatch, if no info_player_rebel or info_player_combine entities are present, the respective teams will spawn from info_player_deathmatch instead. The same is true for Black Mesa Black Mesa if no info_player_scientist or info_player_marine entities are present.

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

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 Black Mesa)
Comma-delimited list of items that player will receive if spawning at this point.
Icon-Important.pngImportant: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.pngNote:Players always get item_suit.
Note.pngNote:If nothing is specified here, then players will get item_weapon_crowbar, item_weapon_glock with full ammo and 3 item_weapon_frag.
Icon-Bug.pngBug:Players with no weapons will T-pose, even though _noweapon animations exist.
Icon-Bug.pngBug:Players using weapon_headcrab will T-pose.
Icon-Bug.pngBug:Items can be picked up not only by player that appears at spawn point.[Clarify]
Confirm:Can be fixed with plugins ?

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.

See also