Sound and Music

From Valve Developer Community
Revision as of 06:53, 23 July 2010 by TomEdwards (talk | contribs) (# = music)
Jump to navigation Jump to search

Music differs from other sounds in Source only in that its path is prefixed with a '#' character. #sound.wav (or .mp3) is music whereas sound.wav is not.

Entities

Articles

AI sounds

  • AI sounds are not audible to the player; they are purely an AI construction. They can be placed in-map with the ai_sound entity.

Music

Materials

To specify the set of sounds for a custom material (the noises produced in response to hits, scrapes, etc), see Material surface properties.

Notes

  • To play music, use Hammer Sound Browser to search for keyword music.
  • Many entities can have sounds assigned to them. For example, prop_door_rotating can be assigned sounds for opening, closing, swinging, being locked, and being unlocked. See the individual entities for details.

See Also

External links