Sound mix layer: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Note:Developers seeking how to manage priorities of specific sounds should refer to mixgroups found in pak01_dir.vpk: /scripts/soundmixers.txt
		
	
ThaiGrocer (talk | contribs) m (→Mix layers)  | 
				 (its position in the world irrelevant so it's logical entity)  | 
				||
| (12 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{CD|CSoundMixLayer}}  | ||
{{this is a|logical entity|name=sound_mix_layer|game=Left 4 Dead 2}} It is an entity used to set a mix layer to a specific value.  | |||
{{note|Developers seeking how to manage priorities of specific sounds should refer to mixgroups found in '''pak01_dir.vpk:''' /scripts/soundmixers.txt}}  | |||
__NOTOC__  | |||
== Keyvalues ==  | |||
{{KV Targetname}}  | |||
{{KV|Mix Layer Name|intn=MixLayerName|string|Name of the mix layer to be setting the level of.}}  | |||
{{KV|Level|intn=Level|float|Set the Mix Layer Level}}  | |||
== Inputs ==  | |||
{{I|Level|Set the Mix Layer Level|param=float}}  | |||
==Mix layers==  | ==Mix layers==  | ||
More information regarding MixLayers can be found in '''pak01_dir.vpk:''' /scripts/soundmixers.txt  | |||
These are listed in the dev console commmand <code>snd_list_mixers</code>  | These are listed in the dev console commmand <code>snd_list_mixers</code>  | ||
*mobBeatingLayer  | *mobBeatingLayer  | ||
| Line 40: | Line 34: | ||
Entries listed under the dev console command <code>snd_list_mix_groups</code> may work with a "Layer" post-fix, but need further testing.  | Entries listed under the dev console command <code>snd_list_mix_groups</code> may work with a "Layer" post-fix, but need further testing.  | ||
==External links==  | ==External links==  | ||
[[Category:  | [http://en.wikipedia.org/wiki/Audio_mixing_(recorded_music) Audio Mixing (recorded music)] - Wikipedia article regarding technical aspects of audio mixing  | ||
[[Category:Sound System]]  | |||
Latest revision as of 07:03, 29 April 2025
| CSoundMixLayer | 
sound_mix_layer  is a   logical entity  available in 
 Left 4 Dead 2. It is an entity used to set a mix layer to a specific value.
Keyvalues
- Name (targetname) <string>[ Edit ]
 - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. 
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities 
- 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