]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - binds-xonotic.cfg
Listbox: highlight item under the cursor
[xonotic/xonotic-data.pk3dir.git] / binds-xonotic.cfg
1 // alias for switching the teamselect menu
2 bind f5 menu_showteamselect
3
4 bind f6 team_auto
5
6 bind f7 menu_showsandboxtools
7
8 // movement
9 bind w +forward
10 bind a +moveleft
11 bind s +back
12 bind d +moveright
13 bind UPARROW +forward
14 bind LEFTARROW +moveleft
15 bind DOWNARROW +back
16 bind RIGHTARROW +moveright
17 bind SHIFT +crouch
18 bind ENTER +jump
19 bind SPACE +jump
20
21 // weapons
22 bind 0 weapon_group_0
23 bind 1 weapon_group_1
24 bind 2 weapon_group_2
25 bind 3 weapon_group_3
26 bind 4 weapon_group_4
27 bind 5 weapon_group_5
28 bind 6 weapon_group_6
29 bind 7 weapon_group_7
30 bind 8 weapon_group_8
31 bind 9 weapon_group_9
32 bind q weaplast
33 bind MOUSE1 +fire
34 bind MOUSE2 +fire2
35 bind MOUSE3 togglezoom
36 bind MOUSE4 weaplast
37 bind MOUSE5 +hook
38 bind MWHEELUP weapnext
39 bind MWHEELDOWN weapprev
40 bind r reload
41 bind BACKSPACE dropweapon
42 bind g dropweapon
43 bind f +use
44 bind v +button8 // drag object
45
46 // misc
47 bind e +hook
48 bind ` toggleconsole
49 bind ~ toggleconsole
50 bind TAB +showscores
51 bind ESCAPE togglemenu
52 bind t messagemode
53 bind y messagemode2
54 bind z messagemode2
55 bind u "+con_chat_maximize"
56 bind m +hud_panel_radar_maximized
57 bind i +show_info
58 bind PAUSE pause
59 bind F10 menu_showquitdialog
60 bind F11 disconnect
61 bind F12 screenshot
62 bind F4 ready
63 bind ALT +showaccuracy
64
65 // Gamepad defaults. Tested with Logitech Rumblepad 2, I hope similar ones works as well.
66 bind JOY1 "+crouch"
67 bind JOY2 "+jump"
68 bind JOY3 "weapprev"
69 bind JOY4 "weapnext"
70 bind JOY5 "+fire2"
71 bind JOY6 "+fire"
72 bind JOY7 "+zoom"
73 bind JOY8 "dropweapon"
74 bind JOY9 "menu_showteamselect"
75 bind JOY10 "+show_info"
76 bind JOY11 "+showscores"
77 bind JOY12 "+con_chat_maximize"
78 seta joyadvanced "1"
79 seta joyadvaxisr "2"
80 seta joyadvaxisx "3"
81 seta joyadvaxisy "1"
82 seta joyadvaxisz "4"
83 seta joysidesensitivity "1.0"
84 seta joypitchsensitivity "0.9"
85 seta joyyawsensitivity "-1.8"
86 // SDL only
87 seta joy_deadzoneforward "0.05"
88 seta joy_deadzonepitch "0.05"
89 seta joy_deadzoneside "0.05"
90 seta joy_deadzoneup "0.05"
91 seta joy_deadzoneyaw "0.05"
92 seta joy_sensitivitypitch "0.9"
93 seta joy_sensitivityyaw "-1.8"
94
95 // team say
96 bind kp_ins messagemode
97 bind kp_del messagemode2
98 bind kp_end "+userbind 1"
99 bind kp_downarrow "+userbind 2"
100 bind kp_pgdn "+userbind 3"
101 bind kp_leftarrow "+userbind 4"
102 bind kp_5 "+userbind 6"
103 bind kp_rightarrow "+userbind 7"
104 bind kp_home "+userbind 9"
105 bind kp_uparrow "+userbind 10"
106 bind kp_pgup "+userbind 11"
107 bind kp_multiply "+userbind 12"
108 bind kp_slash "+userbind 13"
109 bind kp_enter "+userbind 16"
110 bind kp_plus "+userbind 17"
111 bind kp_minus "+userbind 18"
112
113 bind F1 vyes
114 bind F2 vno
115
116 //used for spectate/observer mode
117 bind F3 spec
118
119 // usercommands. These can be edited and bound by the menu.
120 seta "userbind1_press" "say_team quad soon";  seta "userbind1_release" "";  seta "userbind1_description" "team: quad soon"
121 seta "userbind2_press" "say_team free item %x^7 (l:%y^7); g_waypointsprite_team_here_p";  seta "userbind2_release" "";  seta "userbind2_description" "team: free item, icon"
122 seta "userbind3_press" "say_team took item (l:%l^7); g_waypointsprite_team_here";  seta "userbind3_release" "";  seta "userbind3_description" "team: took item, icon"
123 seta "userbind4_press" "say_team negative";  seta "userbind4_release" "";  seta "userbind4_description" "team: negative"
124 seta "userbind5_press" "say_team positive";  seta "userbind5_release" "";  seta "userbind5_description" "team: positive"
125 seta "userbind6_press" "say_team need help (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_helpme; cmd voice needhelp";  seta "userbind6_release" "";  seta "userbind6_description" "team: need help, icon"
126 seta "userbind7_press" "say_team enemy seen (l:%y^7); g_waypointsprite_team_danger_p; cmd voice incoming";  seta "userbind7_release" "";  seta "userbind7_description" "team: enemy seen, icon"
127 seta "userbind8_press" "say_team flag seen (l:%y^7); g_waypointsprite_team_here_p; cmd voice seenflag";  seta "userbind8_release" "";  seta "userbind8_description" "team: flag seen, icon"
128 seta "userbind9_press" "say_team defending (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here";  seta "userbind9_release" "";  seta "userbind9_description" "team: defending, icon"
129 seta "userbind10_press" "say_team roaming (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here";  seta "userbind10_release" "";  seta "userbind10_description" "team: roaming, icon"
130 seta "userbind11_press" "say_team attacking (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here";  seta "userbind11_release" "";  seta "userbind11_description" "team: attacking, icon"
131 seta "userbind12_press" "say_team killed flagcarrier (l:%y^7); g_waypointsprite_team_here_p"; seta "userbind12_release" ""; seta "userbind12_description" "team: killed flag, icon"
132 seta "userbind13_press" "say_team dropped flag (l:%d^7); g_waypointsprite_team_here_d"; seta "userbind13_release" ""; seta "userbind13_description" "team: dropped flag, icon"
133 seta "userbind14_press" "say_team dropped gun %w^7 (l:%l^7); g_waypointsprite_team_here; wait; dropweapon"; seta "userbind14_release" ""; seta "userbind14_description" "team: drop gun, icon"
134 // TODO change this to "use" once we can
135 seta "userbind15_press" "say_team dropped flag/key %w^7 (l:%l^7); g_waypointsprite_team_here; wait; +use"; seta "userbind15_release" "-use"; seta "userbind15_description" "team: drop flag/key, icon"
136 seta "userbind16_press" "say :-) / nice one"; seta "userbind16_release" ""; seta "userbind16_description" "chat: nice one"
137 seta "userbind17_press" "say good game"; seta "userbind17_release" ""; seta "userbind17_description" "chat: good game"
138 seta "userbind18_press" "say hi / good luck and have fun"; seta "userbind18_release" ""; seta "userbind18_description" "chat: hi / good luck"
139 seta "userbind19_press" "+showscores; +con_chat_maximize"; seta "userbind19_release" "-showscores; -con_chat_maximize"; seta "userbind19_description" "scoreboard / chat history"
140 seta "userbind20_press" "toggle cl_capturevideo"; seta "userbind20_release" ""; seta "userbind20_description" "toggle recording .avi"
141 seta "userbind21_press" "toggle vid_fullscreen; vid_restart"; seta "userbind21_release" ""; seta "userbind21_description" "toggle fullscreen"
142 seta "userbind22_press" ""; seta "userbind22_release" ""; seta "userbind22_description" ""
143 seta "userbind23_press" ""; seta "userbind23_release" ""; seta "userbind23_description" ""
144 seta "userbind24_press" ""; seta "userbind24_release" ""; seta "userbind24_description" ""
145 seta "userbind25_press" ""; seta "userbind25_release" ""; seta "userbind25_description" ""
146 seta "userbind26_press" ""; seta "userbind26_release" ""; seta "userbind26_description" ""
147 seta "userbind27_press" ""; seta "userbind27_release" ""; seta "userbind27_description" ""
148 seta "userbind28_press" ""; seta "userbind28_release" ""; seta "userbind28_description" ""
149 seta "userbind29_press" ""; seta "userbind29_release" ""; seta "userbind29_description" ""
150 seta "userbind30_press" ""; seta "userbind30_release" ""; seta "userbind30_description" ""
151 seta "userbind31_press" ""; seta "userbind31_release" ""; seta "userbind31_description" ""
152 seta "userbind32_press" ""; seta "userbind32_release" ""; seta "userbind32_description" ""
153 alias _userbind_call "${$1}"
154 alias +userbind "_userbind_call userbind${1}_press"
155 alias -userbind "_userbind_call userbind${1}_release"