Item suit: Difference between revisions
Jump to navigation
Jump to search
(→Entity Description: Simple instructions on how to make it show up in-game.) |
(Added flag description and provided instructions for a simple suit song.) |
||
Line 5: | Line 5: | ||
This entity will collide with the floor if placed directly on it, so be sure to place it one or more units ''above'' the ground, or it will not be there in-game. | This entity will collide with the floor if placed directly on it, so be sure to place it one or more units ''above'' the ground, or it will not be there in-game. | ||
===Suit Song=== | |||
When 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 <code>item_suit</code> entity. | |||
* Create an <code>ambient_generic</code> 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 <code>item_suit</code> and create an Output called: "OnPlayerTouch SuitSong PlaySound" | |||
==Keyvalues== | ==Keyvalues== | ||
Line 10: | Line 19: | ||
==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.) | |||
==Inputs== | ==Inputs== | ||
* {{i item}} | * {{i item}} |
Revision as of 02:07, 8 February 2006
Entity Description
This item gives the HEV suit to players.
This entity will collide with the floor if placed directly on it, so be sure to place it one or more units above the ground, or it will not be there in-game.
Suit Song
When 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 called: "OnPlayerTouch SuitSong 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.)