Item suit: Difference between revisions
m (Added the fact that this entity exists in Half-Life 1, although I have not made a goldsrc page for it yet) |
m (Spelling fixes and minor rewording.) |
||
Line 1: | Line 1: | ||
{{lang| | {{lang|Item_suit}} | ||
{{Entity also in GoldSrc}} | {{Entity also in GoldSrc}} | ||
[[File: item_suit.png | right | 300px]] | [[File: item_suit.png | right | 300px]] | ||
{{hl2 point|item_suit}} This represents the Mark V '''H'''azardous '''E'''n'''v'''ironment Suit when not being worn by the player. It is an upgraded version of the Mark IV suit that [[Black Mesa Research Facility|Black Mesa]] employees were required to wear when handling anomalous materials (in [[Half-Life]]). This only a pickup to enable suit charging and the [[HUD]] (<code>EquipSuit()</code>). | {{hl2 point|item_suit}} This represents the Mark V '''H'''azardous '''E'''n'''v'''ironment Suit when not being worn by the player. It is an upgraded version of the Mark IV suit that [[Black Mesa Research Facility|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]] (<code>EquipSuit()</code>). | ||
{{Placement Tip|This entity should be placed at least one | {{Placement Tip|This entity should be placed at least one unit above the ground, or it will not be visible in-game.}} | ||
{{code class|CItemSuit|item_suit.cpp}} | {{code class|CItemSuit|item_suit.cpp}} | ||
Line 19: | Line 19: | ||
==Flags== | ==Flags== | ||
*1: Short Logon | *1: Short Logon (Deprecated) | ||
:When checked, doesn't play the logon (<code>hl1/fvox/bell.wav</code>) sound. In Half-Life, this flag was used to cut the HEV suit's long logon speech, but | :When checked, doesn't play the logon (<code>hl1/fvox/bell.wav</code>) 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. | ||
==Keyvalues== | ==Keyvalues== |
Revision as of 17:43, 30 December 2022



Template:Hl2 point This represents the Mark V Hazardous Environment 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.
Keyvalues
Item:

Inputs
Item:

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 ?]