item_suit

From Valve Developer Community
Jump to navigation Jump to search
edit
Item suit bms fixed.png
Item suit bms12.png

item_suit is a model entity available in Black Mesa Black Mesa. This entity represents the Mark IV Hazardous Environment suit. Picking it up will enable flashlight, running, 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.
Icon-Bug.pngBug:Stripping suit will not set 0 value for armor. The armor will also reduce damage even after stripping.
Icon-Bug.pngBug:Save reload will disable boot sequence.
Icon-Bug.pngBug:Level transition will break the HUD if boot sequence wasn't finished.
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)).
Icon-Important.pngImportant:The boot sequence works only if map called bm_c1a0a. This is a hardcoded feature.
Class hierarchy
CItem_Suit
CBasePickup
CBaseAnimating
CBaseEntity

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

Boot Sequence : [131072]
Doesn't affect anything.
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.
sv_always_run 0 Bool Sets player's movement style. 0 - walk with normal speed, running available with the suit only and only if hold the button. 1 - always run, the button will make player very slow walking with very quite step sounds. Forced to 1 in multiplayer mode.

See Also