DaNbKa
Участник
- Сообщения
- 95
- Реакции
- 43
Всем привет, вопрос таков: у меня стоит плагин quakesoundsv3 и он в конфиге воспроизводит
одно событие и все четко но как сделать чтобы играло несколько звуков случайно. напимер:
Открываю файл addons/sourcemod/configs/quake/stal1.cfg
У меня к примеру событие:
"selfkill"
{
"sound" "quake/stal1/death_a.mp3"
"config" "36"
}
Нужно несколько звуков что включаются случайным образом!
Типо никто не знает чтоль?!
одно событие и все четко но как сделать чтобы играло несколько звуков случайно. напимер:
Открываю файл addons/sourcemod/configs/quake/stal1.cfg
"SoundSet"
{
"headshot"
{
"0"
{
"sound" "quake/stal1/headshot_1.mp3"
"config" "10"
}
"1"
{
"sound" "quake/stal1/headshot_2.mp3"
"config" "2"
}
"3"
{
"sound" "quake/stal1/headshot_3.mp3"
"config" "17"
}
}
"killsound"
{
"4"
{
"sound" "quake/stal1/killsound1.mp3"
"config" "17"
}
"6"
{
"sound" "quake/stal1/killsound2.mp3"
"config" "36"
}
"8"
{
"sound" "quake/stal1/killsound3.mp3"
"config" "9"
}
"9"
{
"sound" "quake/stal1/killsound4.mp3"
"config" "9"
}
"11"
{
"sound" "quake/stal1/killsound5.mp3"
"config" "9"
}
"12"
{
"sound" "quake/stal1/holyshit.mp3"
"config" "18"
}
"14"
{
"sound" "quake/stal1/godlike.mp3"
"config" "18"
}
"15"
{
"sound" "quake/stal1/wickedsick.mp3"
"config" "36"
}
"17"
{
"sound" "quake/stal1/impressive.mp3"
"config" "9"
}
"18"
{
"sound" "quake/stal1/ludicrouskill.mp3"
"config" "20"
}
"20"
{
"sound" "quake/stal1/ultrakill.mp3"
"config" "18"
}
}
"combo"
{
"2"
{
"sound" "quake/stal1/megakill.mp3"
"config" "18"
}
"3"
{
"sound" "quake/stal1/ludicrouskill.mp3"
"config" "18"
}
"4"
{
"sound" "quake/stal1/multikill.mp3"
"config" "20"
}
"5"
{
"sound" "quake/stal1/quadcombo.mp3"
"config" "17"
}
}
"first blood"
{
"sound" "quake/stal1/firstblood1.mp3"
"config" "18"
}
"grenade"
{
"sound" "quake/stal1/grenade.mp3"
"config" "36"
}
"selfkill"
{
"sound" "quake/stal1/death_a.mp3"
"config" "36"
}
"round play"
{
"sound" "quake/stal1/play_d.mp3"
"config" "9"
}
"knife"
{
"sound" "quake/stal1/knife.mp3"
"config" "18"
}
"teamkill"
{
"sound" "quake/stal1/teamkiller1.mp3"
"config" "9"
}
"join server"
{
"sound" ""
"config" "9"
}
}
{
"headshot"
{
"0"
{
"sound" "quake/stal1/headshot_1.mp3"
"config" "10"
}
"1"
{
"sound" "quake/stal1/headshot_2.mp3"
"config" "2"
}
"3"
{
"sound" "quake/stal1/headshot_3.mp3"
"config" "17"
}
}
"killsound"
{
"4"
{
"sound" "quake/stal1/killsound1.mp3"
"config" "17"
}
"6"
{
"sound" "quake/stal1/killsound2.mp3"
"config" "36"
}
"8"
{
"sound" "quake/stal1/killsound3.mp3"
"config" "9"
}
"9"
{
"sound" "quake/stal1/killsound4.mp3"
"config" "9"
}
"11"
{
"sound" "quake/stal1/killsound5.mp3"
"config" "9"
}
"12"
{
"sound" "quake/stal1/holyshit.mp3"
"config" "18"
}
"14"
{
"sound" "quake/stal1/godlike.mp3"
"config" "18"
}
"15"
{
"sound" "quake/stal1/wickedsick.mp3"
"config" "36"
}
"17"
{
"sound" "quake/stal1/impressive.mp3"
"config" "9"
}
"18"
{
"sound" "quake/stal1/ludicrouskill.mp3"
"config" "20"
}
"20"
{
"sound" "quake/stal1/ultrakill.mp3"
"config" "18"
}
}
"combo"
{
"2"
{
"sound" "quake/stal1/megakill.mp3"
"config" "18"
}
"3"
{
"sound" "quake/stal1/ludicrouskill.mp3"
"config" "18"
}
"4"
{
"sound" "quake/stal1/multikill.mp3"
"config" "20"
}
"5"
{
"sound" "quake/stal1/quadcombo.mp3"
"config" "17"
}
}
"first blood"
{
"sound" "quake/stal1/firstblood1.mp3"
"config" "18"
}
"grenade"
{
"sound" "quake/stal1/grenade.mp3"
"config" "36"
}
"selfkill"
{
"sound" "quake/stal1/death_a.mp3"
"config" "36"
}
"round play"
{
"sound" "quake/stal1/play_d.mp3"
"config" "9"
}
"knife"
{
"sound" "quake/stal1/knife.mp3"
"config" "18"
}
"teamkill"
{
"sound" "quake/stal1/teamkiller1.mp3"
"config" "9"
}
"join server"
{
"sound" ""
"config" "9"
}
}
"selfkill"
{
"sound" "quake/stal1/death_a.mp3"
"config" "36"
}
Нужно несколько звуков что включаются случайным образом!
Сообщения автоматически склеены:
Типо никто не знает чтоль?!
Последнее редактирование: