46 lines
735 B
Smarty
46 lines
735 B
Smarty
params=
|
|
{
|
|
NAME="Actor_Template",
|
|
Actor_Template=
|
|
{
|
|
COMPONENTS=
|
|
{
|
|
}
|
|
}
|
|
}
|
|
includeReference("EngineData/Misc/Components/SoundComponent.ilu")
|
|
|
|
DESCRIPTOR =
|
|
{
|
|
{
|
|
SoundDescriptor_Template=
|
|
{
|
|
name="amb_${MapName}$_outro",
|
|
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}$_outro.wav",
|
|
},
|
|
}
|
|
}
|
|
|
|
},
|
|
}
|
|
|
|
appendTable(component.SoundComponent_Template.soundList,DESCRIPTOR)
|