Item suit: Difference between revisions
No edit summary |
Gameplayer (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
When [[Dr. Gordon Freeman]] enters his suit in [[Half-Life 2]], a small tune starts playing. | When [[Dr. Gordon Freeman]] enters his suit in [[Half-Life 2]], a small tune starts playing. | ||
To set this up, have the <code>item_suit</code> output <code>OnPlayerTouch</code> target an {{ent|ambient_generic}} with the input <code>PlaySound</code>. | To set this up, have the <code>item_suit</code> output <code>OnPlayerTouch</code> target an {{ent|ambient_generic}} that's placed close to the suit with the input <code>PlaySound</code>. | ||
The song used in Half-Life 2 is called '''song_trainstation_05_suit''' (<code>music/hl1_song11.mp3</code>), but there is apparently also a tune called '''song23''' (<code>music/hl2_song23_suitsong3.mp3</code>) that, judging by its name, was intended for the HEV suit. | The song used in Half-Life 2 is called '''song_trainstation_05_suit''' (<code>music/hl1_song11.mp3</code>), but there is apparently also a tune called '''song23''' (<code>music/hl2_song23_suitsong3.mp3</code>) that, judging by its name, was intended for the HEV suit. |
Revision as of 03:20, 22 September 2024


![]() |
---|
CItemSuit |
![]() |
item_suit
is a point entity available in Half-Life: Source,
Half-Life 2 series, and
Portal series.
This represents the Mark V Hazardous Environment Suit, Aka HEV-Suit, when not being worn by the player. It is an upgraded version of the Mark IV suit that Black Mesa employees were required to wear when handling anomalous materials (in Half-Life).
This is only a pickup to enable suit charging and the HUD (EquipSuit()
).

Suit sounds
When player receives damage, mechanical voice speaks and suit starts beeping. Suit responds to various kinds of damage including blood loss from bullets, fall from height, slashes from zombies and bites from poisonous headcrabs.
The volume of these sounds can be controlled with float console variable suitvolume. Accepted values range from 0 to 1. Set to 0 to mute suit sounds completely.
Suit Jingle
When Dr. Gordon Freeman enters his suit in Half-Life 2, a small tune starts playing.
To set this up, have the item_suit
output OnPlayerTouch
target an ambient_generic that's placed close to the suit with the input PlaySound
.
The song used in Half-Life 2 is called song_trainstation_05_suit (music/hl1_song11.mp3
), but there is apparently also a tune called song23 (music/hl2_song23_suitsong3.mp3
) that, judging by its name, was intended for the HEV suit.
Flags
- Short Logon (Deprecated) : [1]
When checked, doesn't play the logon (hl1/fvox/bell.wav
) sound. In Half-Life, this flag was used to cut the HEV suit's long logon speech, but was cut from Half-Life 2 along with many HEV voicelines. (Dr. Kleiner replaced the feature with a short bell)
Outputs
Item:
- OnPlayerTouch
- Fires when the player touches this item. !activator is the player.
- OnCacheInteraction
- This output fires when the player proves they have "found" this item.
- Fires on:
- Player Touch (whether or not player actually acquires the item).
- Picked up by +use.
- Picked up by gravity gun.
- Punted by gravity gun.

OnCacheInteraction
is non-functional. [todo tested in ?]- CBaseAnimating
- Point entities
- Non-internal Half-Life: Source entities
- Half-Life: Source entities
- Half-Life: Source point entities
- Non-internal Half-Life 2 series entities
- Half-Life 2 series entities
- Half-Life 2 series point entities
- Non-internal Portal series entities
- Portal series entities
- Portal series point entities
- Pages with uncategorized bugs
- Items