Item suit: Difference between revisions
Jump to navigation
Jump to search
Placement Tip:This entity should be placed at least one inch above the ground, or it will not be visible in-game.
No edit summary |
|||
Line 7: | Line 7: | ||
{{Placement Tip|This entity should be placed at least one inch above the ground, or it will not be visible in-game.}} | {{Placement Tip|This entity should be placed at least one inch above the ground, or it will not be visible in-game.}} | ||
== Suit jingle == | |||
When [[Dr. Gordon Freeman]] enters his suit in [[Half-Life 2]] a small tune starts playing. Here is how to set this up: | When [[Dr. Gordon Freeman]] enters his suit in [[Half-Life 2]] a small tune starts playing. Here is how to set this up: | ||
* If you haven't already, create the item_suit entity. | * If you haven't already, create the item_suit entity. | ||
Line 13: | Line 13: | ||
* Open its properties and name the entity. (This example will name it "SuitSong".) | * Open its properties and name the entity. (This example will name it "SuitSong".) | ||
* Select a song for its ''Sound Name'' property. 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 looks like it was intended for the HEV suit. | * Select a song for its ''Sound Name'' property. 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 looks like it was intended for the HEV suit. | ||
* Check the '' | * Check that all three flags in the ''SuitSong'' entity are checked. | ||
* Click on the item_suit and create an output for <code>OnPlayerTouch</code> that fire's <code>SuitSong</code>'s <code>PlaySound</code>. | * Click on the item_suit and create an output for <code>OnPlayerTouch</code> that fire's <code>SuitSong</code>'s <code>PlaySound</code>. | ||
Revision as of 20:11, 26 December 2016
Entity description
The HEV suit (The Mark V Hazardous Environment Suit). An upgraded version of the Mark IV suit that Black Mesa employees were required to wear when handling anomalous materials (in Half-Life).

Suit jingle
When Dr. Gordon Freeman enters his suit in Half-Life 2 a small tune starts playing. Here is how to set this up:
- If you haven't already, create the item_suit entity.
- Create an ambient_generic preferably somewhere near the suit.
- Open its properties and name the entity. (This example will name it "SuitSong".)
- Select a song for its Sound Name property. 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 looks like it was intended for the HEV suit.
- Check that all three flags in the SuitSong entity are checked.
- Click on the item_suit and create an output for
OnPlayerTouch
that fire'sSuitSong
'sPlaySound
.
Keyvalues
- Item:
Flags
- 1 : Short Logon
- When checked, doesn't play the logon (hl1/fvox/bell.wav) sample. In Half-Life this flag was used to cut the HEV suits long logon speech, but Dr. Kleiner apparently replaced it with a simple bell sound while upgrading it.
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.