Item suit (Black Mesa): Difference between revisions
Jump to navigation
Jump to search
Note:By default, all players in multiplayer are in the suit. Can be stripped by player_weaponstrip.
Bug: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
Important:Does not disable physics and collision.
MyGamepedia (talk | contribs) (→Flags) |
MyGamepedia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{TabsBar|main=item_suit}} | {{TabsBar|main=item_suit}} | ||
[[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|[[Physics optimization|Start Asleep]]}} | ||
{{ | {{Fl|2|[[Physics optimization|Motion Disabled]]}} | ||
{{ | {{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.}} | |||
== | ==Dedicated Console Variables== | ||
{{ | {{varcom|start}} | ||
{{ | {{varcom|suitvolume|0.25|[[Float]]|Sound volume for the suit voice lines.}} | ||
{{ | {{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
item_suit is a point entity available in
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.
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).
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.
- 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
- item_battery - battery for the suit
- item_suitcharger - armor charger for the suit