То звук работает, то не работает.Как захочет...Я прекэшнул в люа и ничего.
"precache"
{
"soundfile" "sounds/otrijka.vsnd"
"particle" "particles/units/heroes/hero_riki/riki_smokebomb.vpcf"
"particle" "particles/units/heroes/hero_riki/riki_smokebomb_b.vpcf"
}
.....
"FireSound"
{
"EffectName" "SoundOtrijka"
"Target" "CASTER"
}
{
"soundfile" "sounds/otrijka.vsnd"
"particle" "particles/units/heroes/hero_riki/riki_smokebomb.vpcf"
"particle" "particles/units/heroes/hero_riki/riki_smokebomb_b.vpcf"
}
.....
"FireSound"
{
"EffectName" "SoundOtrijka"
"Target" "CASTER"
}
PrecacheResource( "soundfile", "sounds/otrijka.vsnd", context )
PrecacheResource( "soundfile", "soundevents/otrijka.vsndevts", context )
PrecacheResource( "soundfile", "soundevents/otrijka.vsndevts", context )
"SoundOtrijka"
{
"operator_stacks"
{
"update_stack"
{
"reference_operator"
{
"operator" "sos_reference_stack"
"reference_stack" "dota_src1_3d"
"operator_variables"
{
"vsnd_files"
{
"value"
{
"value0" "sounds/otrijka.vsnd"
}
}
"volume" { "value" "10.00000" }
"pitch_rand_min" { "value" "-0.05000" }
"pitch_rand_max" { "value" "0.050000" }
"pitch" { "value" "1.000000" }
"soundlevel" { "value" "100.00000" }
"distance_max" { "value" "1600.000" }
"event_type" { "value" "1.000000" }
}
}
}
}
}
{
"operator_stacks"
{
"update_stack"
{
"reference_operator"
{
"operator" "sos_reference_stack"
"reference_stack" "dota_src1_3d"
"operator_variables"
{
"vsnd_files"
{
"value"
{
"value0" "sounds/otrijka.vsnd"
}
}
"volume" { "value" "10.00000" }
"pitch_rand_min" { "value" "-0.05000" }
"pitch_rand_max" { "value" "0.050000" }
"pitch" { "value" "1.000000" }
"soundlevel" { "value" "100.00000" }
"distance_max" { "value" "1600.000" }
"event_type" { "value" "1.000000" }
}
}
}
}
}