51 lines
1.6 KiB
Smarty
51 lines
1.6 KiB
Smarty
includeReference("EngineData/Helpers/sound_base.ilu")
|
|
params =
|
|
{
|
|
NAME="Actor_Template",
|
|
Actor_Template =
|
|
{
|
|
TAGS =
|
|
{
|
|
{
|
|
VAL = "snd",
|
|
},
|
|
},
|
|
COMPONENTS =
|
|
{
|
|
{
|
|
NAME="SoundComponent_Template",
|
|
SoundComponent_Template =
|
|
{
|
|
SoundList =
|
|
{
|
|
{
|
|
SoundDescriptor_Template =
|
|
{
|
|
Name = "SW_CheckBox_Off",
|
|
Volume = 2,
|
|
Category = "UI",
|
|
LimitCategory = "Checkbox",
|
|
LimitMode = 1, -- LimiterMode_StopOldest
|
|
MaxInstances = 1,
|
|
Files =
|
|
{
|
|
{
|
|
VAL = "world/audio/soundwich/sw_checkbox_off.wav",
|
|
},
|
|
},
|
|
Params =
|
|
{
|
|
SoundParams =
|
|
{
|
|
PlayMode = 1, -- PlayMode_Random
|
|
},
|
|
},
|
|
SoundPlayAfterdestroy = 1,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|