Item suit: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (revert)
Line 1: Line 1:
cnatro
{{wrongtitle|title=item_suit}}
{{wrongtitle|title=item_suit}}
==Entity Description==
 
== Entity description ==
[[Image:item_suit.jpg|thumb|200px|right|HEV Suit]]
[[Image:item_suit.jpg|thumb|200px|right|HEV Suit]]
The HEV suit (The Mark V '''H'''azardous '''E'''n'''v'''ironment Suit). An upgraded version of the Mark IV suit that [[Black Mesa]] employees were required to wear when handling anomalous materials (in [[Half-Life]]).
The HEV suit (The Mark V '''H'''azardous '''E'''n'''v'''ironment Suit). An upgraded version of the Mark IV suit that [[Black Mesa]] employees were required to wear when handling anomalous materials (in [[Half-Life]]).
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===
=== 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 16: Line 16:
* 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>.


==Keyvalues==
== Keyvalues ==
* {{kv item}}
* {{kv item}}
==Flags==
 
== Flags ==
* 1 : Short Logon
* 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.)
: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==
 
== Inputs ==
* {{i item}}
* {{i item}}
==Outputs==
 
== Outputs ==
* {{o item}}
* {{o item}}
[[Category:Entities]] [[Category:Items]]
 
[[Category:Entities]]
[[Category:Items]]

Revision as of 11:38, 6 October 2007

Template:Wrongtitle

Entity description

HEV Suit

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).

PlacementTip.gifPlacement 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:

  • If you haven't already, create the item_suit entity.
  • Create an ambient_generic preferably somewhere near the suit.
  • Open it's 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 the Play everywhere flag so that all its three flags are checked.
  • Click on the item_suit and create an output for OnPlayerTouch that fire's SuitSong's PlaySound.

Keyvalues

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

Outputs