Item suit (Black Mesa): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{LanguageBar}}
{{TabsBar|main=item_suit}}
{{TabsBar|main=item_suit}}
{{Stub}}
[[File: Item suit bms fixed.png | right | 100px]]
{{This is a|point entity|name=item_suit|game=Black Mesa}}  
[[File: item_suit_bms12.png | right | 100px]]
This entity represents the Mark IV Hazardous Environment suit.
{{This is a|point entity|name=item_suit|game=Black Mesa}} This entity represents the Mark IV Hazardous Environment suit. Picking it up will enable flashlight, sprint, [[HUD]], armor and the suit voice lines.
{{note|By default, all players in multiplayer are in the suit. Can be stripped by {{ent|player_weaponstrip}}.}}
{{bug|hidetested=1|Stripping suit and giving it again in multiplayer will show weapon's ammo and clip amount, even if the weapon is stripped.}}
{{note|Stripping suit will set 0 value for armor.}}
{{note|Most objects that inherit class {{code|CBasePickup}} in {{bms|1}} have the following features:
* They're [[VPhysics]] objects (disabled in multiplayer mode).
* Respawn in multiplayer mode (''item_weapon_'' entities creating [[Env xen portal effect|xen portal effects]] as well).
* No physics and collision in multiplayer.
* Model can be changed to your own via the parameter (which is not in the FGD by default, added in [https://github.com/MyGamepedia/Enhanced-Black-Mesa-FGD Enhanced Black Mesa FGD]).
}}
{{bug|hidetested=1|Doesn't collide with other {{code|CBasePickup}} and ''weapon_'' entities {{not|{{bms12}}}}.}}
 
==Keyvalues==
{{KV|Respawn Time|intn=respawntime|float|Time waited between respawns in multiplayer mode.}}
{{KV|Model|intn=model|studio|Model to use for this entity.|nofgd=1}}
 
==Outputs==
{{O|OnPlayerDenied|param=void|Fires if the player has not picked it up when touched.}}
{{O|OnPlayerPickup|param=void|Fires if the player picked it up.}}
 
==Inputs==
{{I|AttachTo|param=void|Attaches this entity to [[!activator]], the entity becomes impossible to pick up. It becomes invisible in first person mode, but only in [[Steam]] versions of the game only.}}
{{I|Respawn|param=void|Respawn this entity in multiplayer. Fired by this entity after the amount of time from ''Respawn Time'' property.}}
{{I|Disable|param=void|Make this item invisible and disable the ability to be picked up by players.
{{important|Does not disable physics and collision.}}
}}
{{I|Enable|param=void|Make this item visible and enable the ability to be picked up by players.}}
{{I|Fall|param=void|Doesn't seem to work.}}


==Flags==
==Flags==
{{fl|1|Start Asleep|}}
{{Fl|1|[[Physics optimization|Start Asleep]]}}
{{fl|2|Motion Disabled|}}
{{Fl|2|[[Physics optimization|Motion Disabled]]}}
{{fl|131072|Boot Sequence|Doesn't affect anything. {{todo|Find out why the boot sequence works only if a map called '''bm_c1a0a'''. Is it hardcoded or not ?}}}}
{{Fl|4|Hard Respawn|Respawn this entity even if it's already spawned. The timer will cycle throughout entire round. Picking up does not restart the timer.}}
{{Fl|8|Silent Pickup|Pick up this entity with no sound and [[HUD]] animation.}}


==Outputs==
==Dedicated Console Variables==
{{O BaseEntityIO}}
{{varcom|start}}
{{O|OnPlayerDenied|Fires when the player picks up this object.}}
{{varcom|suitvolume|0.25|[[Float]]|Sound volume for the suit voice lines.}}
{{O|OnPlayerPickup|Fires when the player attempts to pick up this object but is denied.}}
{{varcom|end}}
 
==See Also==
* [[Item battery (Black Mesa)|item_battery]] - battery for the suit
* [[Item suitcharger (Black Mesa)|item_suitcharger]] - armor charger for the suit

Revision as of 11:57, 17 May 2025

edit
Item suit bms fixed.png
Item suit bms12.png

item_suit is a point entity available in Black Mesa Black Mesa. This entity represents the Mark IV Hazardous Environment suit. Picking it up will enable flashlight, sprint, HUD, armor and the suit voice lines.

Note.pngNote:By default, all players in multiplayer are in the suit. Can be stripped by player_weaponstrip.
Icon-Bug.pngBug:Stripping suit and giving it again in multiplayer will show weapon's ammo and clip amount, even if the weapon is stripped.
Note.pngNote:Stripping suit will set 0 value for armor.
Note.pngNote:Most objects that inherit class CBasePickup in Black Mesa have the following features:
  • They're VPhysics objects (disabled in multiplayer mode).
  • Respawn in multiplayer mode (item_weapon_ entities creating xen portal effects as well).
  • No physics and collision in multiplayer.
  • Model can be changed to your own via the parameter (which is not in the FGD by default, added in Enhanced Black Mesa FGD).
Icon-Bug.pngBug:Doesn't collide with other CBasePickup and weapon_ entities (not in Black Mesa (mod)).

Keyvalues

Respawn Time (respawntime) <float>
Time waited between respawns in multiplayer mode.
Model (model) <model path> !FGD
Model to use for this entity.

Outputs

OnPlayerDenied <void>
Fires if the player has not picked it up when touched.
OnPlayerPickup <void>
Fires if the player picked it up.

Inputs

AttachTo <void>
Attaches this entity to !activator, the entity becomes impossible to pick up. It becomes invisible in first person mode, but only in Steam versions of the game only.
Respawn <void>
Respawn this entity in multiplayer. Fired by this entity after the amount of time from Respawn Time property.
Disable <void>
Make this item invisible and disable the ability to be picked up by players.
Icon-Important.pngImportant:Does not disable physics and collision.
Enable <void>
Make this item visible and enable the ability to be picked up by players.
Fall <void>
Doesn't seem to work.

Flags

Start Asleep : [1]
Motion Disabled : [2]
Hard Respawn : [4]
Respawn this entity even if it's already spawned. The timer will cycle throughout entire round. Picking up does not restart the timer.
Silent Pickup : [8]
Pick up this entity with no sound and HUD animation.

Dedicated Console Variables

Cvar/Command Parameters or default value Descriptor Effect
suitvolume 0.25 Float Sound volume for the suit voice lines.

See Also