This repository has been archived by the owner on Oct 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
keyconf.txt
150 lines (111 loc) · 6.33 KB
/
keyconf.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
// For some reason, if I don't add test to -fire_close_menu, -attack doesn't work.
// So useless test in -fire_close_menu.
alias +fire_close_menu "test $wm_IsOpened wm_close_menu_and_select +attack"
alias -fire_close_menu "test $wm_IsOpened -attack -attack"
alias +alt_fire_close_menu "test $wm_IsOpened wm_close_menu +altattack"
alias -alt_fire_close_menu "test $wm_IsOpened -altattack -altattack"
alias wm_open_menu "wm_IsOpened 1; netevent wm_open"
alias wm_close_menu "wm_IsOpened 0; netevent wm_close"
alias wm_close_menu_and_select "wm_IsOpened 0; netevent wm_close_and_select"
alias toggle_menu "test $wm_IsOpened wm_close_menu wm_open_menu"
alias +press_menu "wm_open_menu"
alias -press_menu "wm_close_menu"
alias +press_inv "netevent wm_open_inventory"
alias -press_inv "netevent wm_close_inventory"
// scroll buttons section //////////////////////////////////////////////////////////////////////////
alias wm_scroll_next "netevent wm_scroll_next"
alias wm_scroll_prev "netevent wm_scroll_prev"
alias wm_open_scroll_next "wm_open_menu; wm_scroll_next"
alias wm_open_scroll_prev "wm_open_menu; wm_scroll_prev"
alias wm_test_open_scroll_next "test $M8fWeaponMenuOpenOnScroll wm_open_scroll_next weapnext"
alias wm_test_open_scroll_prev "test $M8fWeaponMenuOpenOnScroll wm_open_scroll_prev weapprev"
alias next_weapon_menu "test $wm_IsOpened wm_scroll_next wm_test_open_scroll_next"
alias prev_weapon_menu "test $wm_IsOpened wm_scroll_prev wm_test_open_scroll_prev"
////////////////////////////////////////////////////////////////////////////////////////////////////
alias +wm_fire_favorite "netevent wm_fire_favorite"
alias -wm_fire_favorite "netevent wm_favorite_back"
alias wm_print_debug_info "netevent wm_print_info"
alias +smart_select_1 "wm_IsOpened 1; netevent wm_smart_select:1"
alias -smart_select_1 ""
alias +smart_select_2 "wm_IsOpened 1; netevent wm_smart_select:2"
alias -smart_select_2 ""
alias +smart_select_3 "wm_IsOpened 1; netevent wm_smart_select:3"
alias -smart_select_3 ""
alias +smart_select_4 "wm_IsOpened 1; netevent wm_smart_select:4"
alias -smart_select_4 ""
alias +smart_select_5 "wm_IsOpened 1; netevent wm_smart_select:5"
alias -smart_select_5 ""
alias +smart_select_6 "wm_IsOpened 1; netevent wm_smart_select:6"
alias -smart_select_6 ""
alias +smart_select_7 "wm_IsOpened 1; netevent wm_smart_select:7"
alias -smart_select_7 ""
alias +smart_select_8 "wm_IsOpened 1; netevent wm_smart_select:8"
alias -smart_select_8 ""
alias +smart_select_9 "wm_IsOpened 1; netevent wm_smart_select:9"
alias -smart_select_9 ""
alias +smart_select_0 "wm_IsOpened 1; netevent wm_smart_select:0"
alias -smart_select_0 ""
alias +smart_select_10 "wm_IsOpened 1; netevent wm_smart_select:10"
alias -smart_select_10 ""
alias +smart_select_11 "wm_IsOpened 1; netevent wm_smart_select:11"
alias -smart_select_11 ""
// Edit Weapon List Section ////////////////////////////////////////////////////
alias wm_increase_priority "netevent wm_increase_priority; closemenu"
alias wm_increase_slot "netevent wm_decrease_priority; closemenu"
alias wm_decrease_slot "netevent wm_decrease_slot; closemenu"
// Aliases Section /////////////////////////////////////////////////////////////
alias m8f_wm_open "netevent wm_toggle_inventory"
alias m8f_wm_mark_quick "netevent wm_mark_favorite"
alias m8f_wm_select_quick "netevent wm_select_favorite"
alias m8f_wm_toggle_quick_inv "netevent wm_toggle_quick_inv"
alias m8f_wm_clear_quick_inv "netevent wm_clear_quick_inv"
alias m8f_wm_use_quick_inv0 "netevent wm_use_quick_inv:0"
alias m8f_wm_use_quick_inv1 "netevent wm_use_quick_inv:1"
alias m8f_wm_use_quick_inv2 "netevent wm_use_quick_inv:2"
alias m8f_wm_use_quick_inv3 "netevent wm_use_quick_inv:3"
alias m8f_wm_use_quick_inv4 "netevent wm_use_quick_inv:4"
alias m8f_wm_use_quick_inv5 "netevent wm_use_quick_inv:5"
alias m8f_wm_use_quick_inv6 "netevent wm_use_quick_inv:6"
alias m8f_wm_use_quick_inv7 "netevent wm_use_quick_inv:7"
alias m8f_wm_use_quick_inv8 "netevent wm_use_quick_inv:8"
alias m8f_wm_use_quick_inv9 "netevent wm_use_quick_inv:9"
// Controls Key Section ////////////////////////////////////////////////////////
AddKeySection "Weapon Menu +: Basic Controls" "WeaponMenuKeys"
AddMenuKey "Fire/Select+Close/Use" "+fire_close_menu"
AddMenuKey "Secondary Fire/Close" "+alt_fire_close_menu"
AddMenuKey "Next" "next_weapon_menu"
AddMenuKey "Previous" "prev_weapon_menu"
AddMenuKey "Open Menu/Select+Close/Use" "toggle_menu"
AddMenuKey "Same, but hold/release" "+press_menu"
AddMenuKey "Open Inventory Menu/Close" "m8f_wm_open"
AddMenuKey "Same, but hold/release" "+press_inv"
AddMenuKey "Weapon Slot 1" "+smart_select_1"
AddMenuKey "Weapon Slot 2" "+smart_select_2"
AddMenuKey "Weapon Slot 3" "+smart_select_3"
AddMenuKey "Weapon Slot 4" "+smart_select_4"
AddMenuKey "Weapon Slot 5" "+smart_select_5"
AddMenuKey "Weapon Slot 6" "+smart_select_6"
AddMenuKey "Weapon Slot 7" "+smart_select_7"
AddMenuKey "Weapon Slot 8" "+smart_select_8"
AddMenuKey "Weapon Slot 9" "+smart_select_9"
AddMenuKey "Weapon Slot 0" "+smart_select_0"
AddMenuKey "Weapon Slot 10" "+smart_select_10"
AddMenuKey "Weapon Slot 11" "+smart_select_11"
AddKeySection "Weapon Menu +: Inventory Controls" "m8f_wm_InventoryKeySection"
AddMenuKey "Toggle quick access for item" "m8f_wm_toggle_quick_inv"
AddMenuKey "Use quick access item #1" "m8f_wm_use_quick_inv0"
AddMenuKey "Use quick access item #2" "m8f_wm_use_quick_inv1"
AddMenuKey "Use quick access item #3" "m8f_wm_use_quick_inv2"
AddMenuKey "Use quick access item #4" "m8f_wm_use_quick_inv3"
AddMenuKey "Use quick access item #5" "m8f_wm_use_quick_inv4"
AddMenuKey "Use quick access item #6" "m8f_wm_use_quick_inv5"
AddMenuKey "Use quick access item #7" "m8f_wm_use_quick_inv6"
AddMenuKey "Use quick access item #8" "m8f_wm_use_quick_inv7"
AddMenuKey "Use quick access item #9" "m8f_wm_use_quick_inv8"
AddMenuKey "Use quick access item #10" "m8f_wm_use_quick_inv9"
AddKeySection "Weapon Menu+: Extras Controls" "m8f_wm_ExtrasKeySection"
AddMenuKey "Edit Weapon List" "openmenu m8f_wm_EditWeaponList"
AddMenuKey "Mark weapon for quick access" "m8f_wm_mark_quick"
AddMenuKey "Select quick access weapon" "m8f_wm_select_quick"
AddMenuKey "Fire quick access weapon" "+wm_fire_favorite"
AddMenuKey "Print Weapon Menu Debug Info" "wm_print_debug_info"