54 lines
1.1 KiB
Smarty
54 lines
1.1 KiB
Smarty
params=
|
|
{
|
|
NAME="Actor_Template",
|
|
Actor_Template=
|
|
{
|
|
COMPONENTS=
|
|
{
|
|
}
|
|
}
|
|
}
|
|
includeReference("EngineData/Misc/Components/SoundComponent.ilu")
|
|
|
|
DESCRIPTOR =
|
|
{
|
|
{
|
|
SoundDescriptor_Template=
|
|
{
|
|
name="DBG_PlayModeRandom",
|
|
volume=0,
|
|
category="master",
|
|
limitMode=LimiterMode.StopOldest,
|
|
--limitCategory="Checkbox",
|
|
maxInstances=1,
|
|
soundPlayAfterDestroy=1,
|
|
params=
|
|
{
|
|
SoundParams=
|
|
{
|
|
-- numChannels=2,
|
|
loop=0, --if loop = 1 special behaviour for random and sequence
|
|
playMode=PlayMode.1, --0 for first,1 for random, 2 for random remember last, 3 for random sequence, 4 for sequence
|
|
randomVolMin=0.0,
|
|
randomVolMax=0.0,
|
|
randomPitchMin=1.0,
|
|
randomPitchMax=1.0,
|
|
fadeInTime=0.0,
|
|
fadeOutTime=0.0,
|
|
|
|
}
|
|
},
|
|
|
|
files =
|
|
{
|
|
{VAL = "world/audio/debugdata/Number_1One.wav"},
|
|
{VAL = "world/audio/debugdata/Number_2Two.wav"},
|
|
{VAL = "world/audio/debugdata/Number_3Three.wav"},
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
}
|
|
|
|
appendTable(component.SoundComponent_Template.soundList,DESCRIPTOR)
|