Info player marine: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(It's Marine team officially. To check, write team message, the chat will say "(Marine) PlayerName: text".)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{langsp}}
{{CDA|CPointEntity|CBaseEntity|}}  
 
{{todo|Rework page, move most bug to {{ent|player}}.}}
{{this is a|point entity|name=info_player_marine|game=Black Mesa}}
 
[[File:Info_player_sALT1.png|right|300px]]
 
 
==Entity description==
==Entity description==
Represents a spawn point of a player on the [[Marine]] team during a team deathmatch game in {{Bms|4}}.
Represents a spawn point of a player on the Marine team during a team deathmatch game in {{Bms|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 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.}}
{{important|Blocking of all spawn points in {{bms|4}} will cause players to spawn at map center.}}
{{bug|hidetested=1|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 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.}}
{{tip|If you want to place your spawn point on a displacement surface - place your spawn point in air, players will automatically teleporting to ground.}}


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV Parentname}}
{{KV Angles}}
{{KV Angles}}
{{KV|List of items to spawn the player with.|intn=itemstogive|string|Here a list of items that player will receive if he appears at this point.}}{{bms|only|}}
{{KV|List of items to spawn the player with.|intn=itemstogive|string|Comma-delimited list of items that player will receive if spawning at this point.
{{important|To give more than one item or weapon you must add comma after name of item (without space). For example, to give 3 batteries, gluon gun and grenade for mp5 write the next: <code>item_battery,item_battery,item_battery,weapon_gluon,item_grenade_mp5</code>.}}
:{{important|Items must be separated by commas with no spaces. For example, to give a player three [[item_battery (BMS)|batteries]], a [[weapon_gluon (BMS)|gluon gun]], and a [[item_grenade_mp5 (BMS)|grenade for the MP5]], put {{code|item_battery,item_battery,item_battery,weapon_gluon,item_grenade_mp5}}.}}
{{note|Player always get [[item_suit]].}}
:{{note|Players always get [[item_suit]].}}
{{note|If nothing is specified here - player will get [[item_weapon_crowbar]], [[item_weapon_glock]] with full ammo and 3 [[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 uses T pose, even though the models provide <code>_noweapon</code> animations.{{confirm|Can be fixed with plugins ?}}}}
:{{bug|hidetested=1|Players with no weapons will T-pose, even though <code>_noweapon</code> animations exist.}}
{{bug|Players that use [[weapon_headcrab]] uses T pose.{{confirm|Can be fixed with plugins ?}}}}
:{{bug|hidetested=1|Players using [[weapon_headcrab (BMS)|weapon_headcrab]] will T-pose.}}
{{bug|Items can be picked up not only by player that appears at spawn point. {{confirm|Can be fixed with plugins ?}}}}
:{{bug|hidetested=1|Items can be picked up not only by player that appears at spawn point.{{clarify}} {{confirm|Can be fixed with plugins ?}}}}
}}


==Inputs==
==Inputs==
{{IO|Enable|param=void|Enable this spawnpoint}}
{{I|Enable|param=void|Enable this spawnpoint}}
{{note|Also fires when a player or any other object stops blocking a given point.}}
{{note|Also fires when a player or any other object stops blocking a given point.}}
{{IO|Disable|param=void|Disable this spawnpoint}}
{{I|Disable|param=void|Disable this spawnpoint}}
{{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==
* [[info_player_scientist]]
* [[info_player_scientist]] - spawn point for [[npc_human_scientist|scientist]] team in {{bms|1}} multiplayer.
* [[info_player_deathmatch]]
* [[info_player_deathmatch]] - general multiplayer spawn point.
* [[info_player_start]]
* [[info_observer_menu]] - spawn point for spectators in {{bms|1}} multiplayer.
* [[info_player_combine]]
* [[info_player_start]] - general singleplayer spawn point.
* [[info_player_rebel]]
* [[info_player_combine]] - spawn point for [[combine]] team in {{hl2dm|1}} multiplayer.
* [[game_player_equip]]
* [[info_player_rebel]] - spawn point for [[npc_citizen|rebel]] team in {{hl2dm|1}} multiplayer.
* [[game_player_equip]] - gives weapons to players.
[[Category:Player spawn entities]]

Latest revision as of 06:49, 29 May 2025

C++ Class hierarchy
CPointEntity
CBaseEntity
Todo: Rework page, move most bug to player.

info_player_marine is a point entity available in Black Mesa Black Mesa.

Info player sALT1.png


Entity description

Represents a spawn point of a player on the Marine team during a team deathmatch game in Black Mesa Black Mesa.

Icon-Important.pngImportant:Blocking of all spawn points in Black Mesa Black Mesa will cause players to spawn at map center.
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.
Tip.pngTip:If you want to place your spawn point on a displacement surface - place your spawn point in air, players will automatically teleporting to ground.

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>
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>
Enable this spawnpoint
Note.pngNote:Also fires when a player or any other object stops blocking a given point.
Disable <void>
Disable this spawnpoint
Note.pngNote:Also fires when a player or any other object starts blocking a given point.

See also