params= { NAME="Actor_Template", Actor_Template= { COMPONENTS= { } } } includeReference("EngineData/Misc/Components/SoundComponent.ilu") DESCRIPTOR = { { SoundDescriptor_Template= { name="AMB_${MapName}$_Intro", volume=0, category="AMB", limitMode=LimiterMode.RejectNew, -- maxInstances=1, params= {SoundParams={ numChannels=2, loop=0, playMode=PlayMode.Random, randomVolMin=0.0, randomVolMax=0.0, randomPitchMin=1.0, randomPitchMax=1.0, fadeInTime=0.0, fadeOutTime=0.0, }}, files= { { VAL="${MapFolder}$/audio/amb/amb_${MapName}$_intro.wav", }, } } }, } appendTable(component.SoundComponent_Template.soundList,DESCRIPTOR)