Sound mix layer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Cleanup)
Line 1: Line 1:
{{l4d2 point|sound_mix_layer}} It is used to set a mix layer to a specific value.
{{l4d2 point|sound_mix_layer}}
 
== Entity description ==
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}}
{{note|Developers seeking how to manage priorities of specific sounds should refer to mixgroups found in '''pak01_dir.vpk:''' /scripts/soundmixers.txt}}


==KeyValues==
== Keyvalues ==
*{{KV Targetname}}
{{KV|Mix Layer Name|string|Name of the mix layer to be setting the level of.}}
*{{ScrollBox|title=MixLayerName|
{{KV|Level|float|Set the Mix Layer Level}}
Mix Layer Name [-1..x] <[[string]]>
{{KV Targetname}}
: Name of the mix layer to be setting the level of.
 
}}
== Inputs ==
*{{ScrollBox|title=Level|
{{IO|Level|Set the Mix Layer Level|param=float}}
;  Level <[[float]]>
: Set the Mix Layer Level.
}}
==Inputs==
{{I Targetname}}
{{I Targetname}}
{{ScrollBox|title=SoundMixLayer|
 
; <code>Level <[[float]]></code>
== Outputs ==
: Set the Mix Layer Level
}}
==Outputs==
{{O Targetname}}
{{O Targetname}}
==Mix layers==
==Mix layers==
More information regarding MixLayers can be found in '''pak01_dir.vpk:''' /scripts/soundmixers.txt
More information regarding MixLayers can be found in '''pak01_dir.vpk:''' /scripts/soundmixers.txt
Line 43: Line 40:
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.


==See also==
==External links==
==External links==
[http://en.wikipedia.org/wiki/Audio_mixing_(recorded_music) Audio Mixing (recorded music)] - Wikipedia article regarding technical aspects of audio mixing
[http://en.wikipedia.org/wiki/Audio_mixing_(recorded_music) Audio Mixing (recorded music)] - Wikipedia article regarding technical aspects of audio mixing
[[Category:Left_4_Dead_2]]

Revision as of 01:40, 11 June 2011

Template:L4d2 point

Entity description

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

Mix Layer Name ([todo internal name (i)]) <string>
Name of the mix layer to be setting the level of.
Level ([todo internal name (i)]) <float>
Set the Mix Layer Level
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

Level <floatRedirectInput/float>
Set the Mix Layer Level


Outputs

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