item_suit
Class hierarchy |
---|
CItemSuit |
item_suit.cpp
|
item_suit
is a point entity available in Half-Life 2, Half-Life 2: Episode One, Half-Life 2: Episode Two, and Half-Life 2: Deathmatch.
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 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
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
- [
1
] : Short Logon (Deprecated)
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?]- TODO rewrite lang to LanguageBar
- CBaseAnimating
- Half-Life 2 entities
- Half-Life 2 point entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One point entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two point entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities
- Pages with uncategorized bugs
- Items