Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
The Message template has been deleted. A list of pages that transclude it are at Valve Developer Community:Message transclusions.

sound_mix_layer

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CSoundMixLayer
CBaseEntity

sound_mix_layer is a point entity available in Left 4 Dead 2 Left 4 Dead 2. It is an entity used to set a mix layer to a specific value.

Note.pngNote:Developers seeking how to manage priorities of specific sounds should refer to mixgroups found in pak01_dir.vpk: /scripts/soundmixers.txt

Keyvalues

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Mix Layer Name (MixLayerName) <string>
Name of the mix layer to be setting the level of.
Level (Level) <float>
Set the Mix Layer Level

Inputs

Level <float>
Set the Mix Layer Level

Mix layers

More information regarding MixLayers can be found in pak01_dir.vpk: /scripts/soundmixers.txt

These are listed in the dev console commmand snd_list_mixers

  • mobBeatingLayer
  • mobRulesLayer
  • zombatMusicLayer
  • zombatMusic2Layer
  • zombatMusic3Layer
  • witchRageLayer
  • safeRoomLayer
  • unaliveLayer
  • PZVOWarnLayer
  • chargerAttackLayer
  • commentaryLayer
  • undeathLayer
  • adrenalineLayer
  • fluMusicLayer
  • rainLayer
  • stormLayer
  • voipLayer

Entries listed under the dev console command snd_list_mix_groups may work with a "Layer" post-fix, but need further testing.

External links

Audio Mixing (recorded music) - Wikipedia article regarding technical aspects of audio mixing