mirror of
https://github.com/fortressforever/fortressforever-scripts.git
synced 2024-12-02 00:52:16 +00:00
130 lines
2.2 KiB
Text
130 lines
2.2 KiB
Text
// Command Menu Definition
|
|
//
|
|
// "filename.res"
|
|
// {
|
|
// "menuitem1"
|
|
// {
|
|
// "label" "#GoToB" // lable name shown in game, # = localized string
|
|
// "command" "echo hallo" // a command string
|
|
// "toggle" "sv_cheats" // a 0/1 toggle cvar
|
|
// "rule" "map" // visibility rules : "none", "team", "map","class"
|
|
// "ruledata" "de_dust" // rule data, eg map name or team number
|
|
// }
|
|
//
|
|
// "menuitem2"
|
|
// {
|
|
// ...
|
|
// }
|
|
//
|
|
// ...
|
|
//
|
|
// }
|
|
//
|
|
//--------------------------------------------------------
|
|
// Everything below here is editable
|
|
|
|
"spectatormenu.res"
|
|
{
|
|
"menuitem1"
|
|
{
|
|
"label" "#Valve_Close" // name shown in game
|
|
"command" "spec_menu 0" // type data
|
|
}
|
|
|
|
"menuitem2"
|
|
{
|
|
"label" "#Valve_Settings"
|
|
|
|
"menuitem21"
|
|
{
|
|
"label" "#Valve_Chat_Messages"
|
|
"toggle" "hud_saytext"
|
|
}
|
|
|
|
"menuitem22"
|
|
{
|
|
"label" "#Valve_Show_Status"
|
|
"toggle" "spec_drawstatus"
|
|
}
|
|
|
|
"menuitem23"
|
|
{
|
|
"label" "#Valve_Overview_Locked"
|
|
"toggle" "overview_locked"
|
|
}
|
|
|
|
"menuitem24"
|
|
{
|
|
"label" "#Valve_Overview_Names"
|
|
"toggle" "overview_names"
|
|
}
|
|
|
|
"menuitem25"
|
|
{
|
|
"label" "#Valve_Overview_Health"
|
|
"toggle" "overview_health"
|
|
}
|
|
|
|
"menuitem26"
|
|
{
|
|
"label" "#Valve_Overview_Tracks"
|
|
"toggle" "overview_tracks"
|
|
}
|
|
}
|
|
|
|
"menuitem3"
|
|
{
|
|
"label" "#Valve_Overview"
|
|
|
|
"menuitem31"
|
|
{
|
|
"label" "#Valve_Overview_Off"
|
|
"command" "overview_mode 0"
|
|
}
|
|
|
|
"menuitem32"
|
|
{
|
|
"label" "#Valve_Overview_Small"
|
|
"command" "overview_mode 1"
|
|
}
|
|
|
|
"menuitem33"
|
|
{
|
|
"label" "#Valve_Overview_Large"
|
|
"command" "overview_mode 2"
|
|
}
|
|
|
|
"menuitem34"
|
|
{
|
|
"label" "#Valve_Overview_ZoomIn"
|
|
"command" "overview_zoomrel 1.1"
|
|
}
|
|
|
|
"menuitem35"
|
|
{
|
|
"label" "#Valve_Overview_ZoomOut"
|
|
"command" "overview_zoomrel 0.9"
|
|
}
|
|
}
|
|
|
|
"menuitem4"
|
|
{
|
|
"label" "#Valve_Auto_Director"
|
|
"toggle" "spec_autodirector"
|
|
}
|
|
|
|
"menuitem5"
|
|
{
|
|
"label" "#Valve_Show_Scores"
|
|
"command" "togglescores"
|
|
}
|
|
}
|
|
|
|
// Here are the rest of the buttons and submenus
|
|
// You can change these safely if you want.
|
|
|
|
|
|
|
|
|
|
|
|
|