Skip to content

Instantly share code, notes, and snippets.

@pfirsich
Created September 13, 2015 13:22
Show Gist options
  • Save pfirsich/79a8b216bbf33d794915 to your computer and use it in GitHub Desktop.
Save pfirsich/79a8b216bbf33d794915 to your computer and use it in GitHub Desktop.
Custom radio panels (used in conjunction with my autoexec) for CS:GO. Found in csgo/resource/ui. It's a little messy, since toggle, incrementvar, exec and some other commands are prohibited from being executed from a radio command.
"RadioPanel.txt"
{
//"SFUI_StandardRadio"
//"SFUI_GroupRadio"
//"SFUI_ReportRadio"
"Groups"
{
"standard"
{
"hotkey" "1"
"title" "Online Features"
"timeout" "25"
"Commands"
{
"roger"
{
"hotkey" "1"
"label" "#SFUI_Radio_Roger"
"cmd" "roger"
}
"negative"
{
"hotkey" "2"
"label" "#SFUI_Radio_Negative"
"cmd" "negative"
}
"holdpos"
{
"hotkey" "3"
"label" "#SFUI_Radio_Hold_Pos"
"cmd" "holdpos"
}
"lefthand"
{
"hotkey" "4"
"label" "Left hand"
"cmd" "cl_righthand 0; snd_playsounds Buttons.snd14"
}
"righthand"
{
"hotkey" "5"
"label" "Right Hand"
"cmd" "cl_righthand 1; snd_playsounds Buttons.snd14"
}
"enablegamehints"
{
"hotkey" "6"
"label" "Enable Game Hints"
"cmd" "gameinstructor_enable 1; snd_playsounds Buttons.snd14"
}
"disablegamehints"
{
"hotkey" "7"
"label" "Disable Game Hints"
"cmd" "gameinstructor_enable 0; snd_playsounds Buttons.snd14"
}
"cheer"
{
"hotkey" "8"
"label" "#SFUI_Radio_Cheer"
"cmd" "cheer"
}
}
}
"group"
{
"hotkey" "3"
"title" "Practice Menu"
"timeout" "25"
"Commands"
{
"botplace"
{
"hotkey" "1"
"label" "bot_place"
"cmd" "bot_place; snd_playsounds Buttons.snd14"
}
"kickbots"
{
"hotkey" "2"
"label" "bot_kick"
"cmd" "bot_kick; snd_playsounds Buttons.snd14"
}
"botaddt"
{
"hotkey" "3"
"label" "bot_add_t"
"cmd" "bot_add_t; snd_playsounds Buttons.snd14"
}
"botaddct"
{
"hotkey" "4"
"label" "bot_add_ct"
"cmd" "bot_add_ct; snd_playsounds Buttons.snd14"
}
"enableimpacts"
{
"hotkey" "5"
"label" "sv_showimpacts 1"
"cmd" "sv_showimpacts 1; snd_playsounds Buttons.snd14"
}
"disableimpacts"
{
"hotkey" "6"
"label" "sv_showimpacts 0"
"cmd" "sv_showimpacts 0; snd_playsounds Buttons.snd14"
}
"enabletrajectory"
{
"hotkey" "7"
"label" "sv_grenade_trajectory 1"
"cmd" "sv_grenade_trajectory 1; snd_playsounds Buttons.snd14"
}
"disabletrajectory"
{
"hotkey" "8"
"label" "sv_grenade_trajectory 0"
"cmd" "sv_grenade_trajectory 0; snd_playsounds Buttons.snd14"
}
"mprestart"
{
"hotkey" "9"
"label" "mp_restartgame 1"
"cmd" "mp_restartgame 1"
}
}
}
"report"
{
"hotkey" "2"
"title" "Quick Settings"
"timeout" "25"
"Commands"
{
"muteenemies"
{
"hotkey" "1"
"label" "cl_mute_enemy_team 1"
"cmd" "cl_mute_enemy_team 1; cl_mute_enemy_team; snd_playsounds Buttons.snd14"
}
"unmuteenemies"
{
"hotkey" "2"
"label" "cl_mute_enemy_team 0"
"cmd" "cl_mute_enemy_team 0; cl_mute_enemy_team; snd_playsounds Buttons.snd14"
}
"enablevoicechat"
{
"hotkey" "3"
"label" "voice_scale 1"
"cmd" "voice_scale 1; voice_scale; snd_playsounds Buttons.snd14"
}
"disablevoicechat"
{
"hotkey" "4"
"label" "voice_scale 0"
"cmd" "voice_scale 0; voice_scale; snd_playsounds Buttons.snd14"
}
"enablenetgraph"
{
"hotkey" "5"
"label" "Enable Net Graph"
"cmd" "net_graphheight 0; snd_playsounds Buttons.snd14"
}
"disablenetgraph"
{
"hotkey" "6"
"label" "Disable Net Graph"
"cmd" "net_graphheight 9999; snd_playsounds Buttons.snd14"
}
"botcrouch"
{
"hotkey" "7"
"label" "(Practice) bot_crouch 1"
"cmd" "bot_crouch 1; snd_playsounds Buttons.snd14"
}
"botuncrouch"
{
"hotkey" "8"
"label" "(Practice) bot_crouch 0"
"cmd" "bot_crouch 0; snd_playsounds Buttons.snd14"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment