Просто и удобно, всё в одном файле, поддержка комментарий, как голых, так и после файлов Может быстро и просто скачать целую папку с сервера, указав лишь 1 путь Вот, собственно, содержание файла, без палок в начале: Используйте '//' для...
Не актуально, на новых SourceMod 1.12 и выше начиная с билда 6965 - Move menu sound selection from core config to gamedata. (#1896)
То есть, теперь чтоб поменять звуки в меню, нужно изменить файл:
/csgo/addons/sourcemod/gamedata/core.games/common.games.txt (ЧИТАТЬ UPD 2 СНИЗУ)
/**
* Menu Sounds
*/
"#default"
{
"Keys"
{
/**
* Specifies the sound that gets played when an item is selected from a menu.
*/
"MenuItemSound" "buttons/button14.wav"
/**
* Specifies the sound that gets played when an "Exit" button is selected
* from a menu.
*/
"MenuExitSound" "buttons/combine_button7.wav"
/**
* Specifies the sound that gets played when an "Exit Back" button is selected
* from a menu. This is the special "Back" button that is intended to roll back
* to a previous menu.
*/
"MenuExitBackSound" "buttons/combine_button7.wav"
}
}
Например я хочу поставить кастомные звуки из GTA SA Menu, так же обязательно лучше сделать в формат .wav с настройкой 44 100 Гц; 16 Бит; Стерео, PCM
Иначе может быть ошибка: S_StartSound: Invalid sample rate (48000) for sound 'menu\gta_sa_select.mp3
/**
* Menu Sounds
*/
"#default"
{
"Keys"
{
/**
* Specifies the sound that gets played when an item is selected from a menu.
*/
"MenuItemSound" "ui/gta_sa_selectfix.wav"
/**
* Specifies the sound that gets played when an "Exit" button is selected
* from a menu.
*/
"MenuExitSound" "ui/gta_sa_backfix.wav"
/**
* Specifies the sound that gets played when an "Exit Back" button is selected
* from a menu. This is the special "Back" button that is intended to roll back
* to a previous menu.
*/
"MenuExitBackSound" "ui/gta_sa_exitfix.wav"
}
}
UPD:
После перезапуска gamedate обновляет common.games.txt и в итоге все сбрасывается.... ищу решения UPD 2:
Нашел решение!
Чтоб common.games.txt брал наш параметр а не основной нужно было создать в этом месте папку customи там создать файл common.games.txt и прописать нашу настройку.
Сейчас все работает!
Качаем архив и радуемся, можете свои звуки ставить прописываем их в:
/csgo/addons/sourcemod/gamedata/core.games/custom/common.games.txt