]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - quickmenu_example.txt
Rankings panel: allow immediate update of speed unit when changing hud_panel_physics_...
[xonotic/xonotic-data.pk3dir.git] / quickmenu_example.txt
1 // This quickmenu example file can be loaded by setting
2 // hud_panel_quickmenu_file quickmenu_example.txt
3 // and executing "quickmenu file"
4 // For more options see "quickmenu help"
5
6 "Chat"
7         "nice one" "say :-) / nice one"
8         "good game" "say good game"
9         "hi / good luck" "say hi / good luck and have fun"
10 "Chat"
11
12 "Settings"
13         // nested submenu
14         "Sound settings"
15                 "Hit sound" "toggle cl_hitsound"
16                 "Chat sound" "toggle cl_chatsound"
17         "Sound settings"
18
19         // A toggle command displays a checkbox showing the current cvar's state
20         "enable 3rd person view" "toggle chase_active"
21         // it's possible to invert the meaning of the checkbox by inverting the
22         // parameters of toggle from the implicit 1 0 to 0 1
23         "disable 3rd person view" "toggle chase_active 0 1"
24 "Settings"
25
26 "screenshot" "wait; screenshot"
27
28 // Commands that accept a player's name as parameter (%s), followed by one of
29 // these special keywords:
30 //   ALLPLAYERS_BUT_ME
31 //   ALLPLAYERS
32 //   OWNTEAMPLAYERS_BUT_ME
33 //   OWNTEAMPLAYERS
34 //   ENEMYTEAMPLAYERS
35 // lets you pick a player's name from a list:
36 "private chat with:" "commandmode tell \"%s\"" ALLPLAYERS_BUT_ME