Removed menu/options/game.menu since it has never been used apparently.
[divverent/nexuiz.git] / data / menu / options / key.menu
1 // Property of Alientrap/AK
2 // options/key.menu
3 Item Window KeyControl
4 {
5         Derive MultiLabel Description
6         {
7                 pos     '156 45'
8                 size    '600 24'
9                 text
10                         "Press [Enter] or [Mouse1] to change a key binding.\nPress [Delete] to remove the binding."
11         }
12
13         Item Layout Layout
14         {
15                 pos             '156 74'
16                 size            '734 490'
17                 origin          '280 0'
18                 alignment       [AlignFirst]
19                 direction       [Nex_DefaultVertDirection]
20                 flag            [FlagEmbedded]
21
22                 // table: name key1 key2
23                 Item Layout TableDesc
24                 {
25                         pos     '0 0'
26                         size    '860 15'
27                         direction '10 0'
28
29                         Derive Rect Action
30                         {
31                                 size    '280 15'
32                                 color   '0.5 0.5 0.5'
33                                 alpha   0.5
34
35                                 Derive Label Label
36                                 {
37                                         text    "Action"
38                                 }
39                         }
40                         Derive Rect Key1
41                         {
42                                 pos     '490 0'
43                                 size    '190 15'
44                                 color   '0.5 0.5 0.5'
45                                 alpha   0.5
46
47                                 Derive Label Label
48                                 {
49                                         text    "Key/Button 1"
50                                 }
51                         }
52                         Derive Rect Key2
53                         {
54                                 pos     '690 0'
55                                 size    '190 15'
56                                 color   '0.5 0.5 0.5'
57                                 alpha   0.5
58
59                                 Derive Label Label
60                                 {
61                                         text    "Key/Button 2"
62                                 }
63                         }
64                 }
65                 Item Window Temp
66                 {
67                         size    '1360 440'
68                         origin  '580 0'
69                         flag    [FlagEmbedded]
70
71                         Item ScrollWindow Scroll
72                         {
73                                 size    '860 440'
74                                 flag    [FlagEmbedded]
75
76                                 Item Arrangement Keys
77                                 {
78                                         direction       [Nex_DefaultVertDirection]
79                                         flag            [FlagEmbedded]
80
81                                         Template Layout Nex_Key_Template
82                                         {
83                                                 pos     '0 0'
84                                                 size    '860 12'
85                                                 flag    [FlagEmbedded]
86                                                 direction '10 0'
87
88                                                 Template Automation_Job Job
89                                                 {
90                                                         action Nex_Automation_Key
91                                                 }
92                                                 Derive Label Action
93                                                 {
94                                                         size    '280 12'
95                                                 }
96                                                 Template DataLink_AltString Link1
97                                                 {
98                                                         flag            [FlagHidden]
99                                                         stepValue       0
100                                                 }
101                                                 DeriveTemplate Nex_KeyButton Key1
102                                                 {
103                                                         pos     '810 0'
104                                                         size    '190 12'
105                                                         target  "##down"
106                                                         action  Nex_Action_KeyButton
107
108                                                         Item DataLink_FastResync Resync
109                                                         {
110                                                                 link    "Link1"
111                                                         }
112                                                 }
113                                                 Template DataLink_AltString Link2
114                                                 {
115                                                         flag            [FlagHidden]
116                                                         stepValue       1
117                                                 }
118                                                 DeriveTemplate Nex_KeyButton Key2
119                                                 {
120                                                         pos     '410 0'
121                                                         size    '190 12'
122                                                         target  "##down"
123                                                         action  Nex_Action_KeyButton
124
125                                                         Item DataLink_FastResync Resync
126                                                         {
127                                                                 link    "Link2"
128                                                         }
129                                                 }
130                                         }
131                                         DeriveTemplate Label Title
132                                         {
133                                                 fontSize '13 13'
134                                                 color    '0.5 0.3 0.3'
135                                         }
136                                         Derive Title GroupMovement
137                                         {
138                                                 text    "[Movement]"
139                                         }
140                                         Derive Nex_Key_Template Forward
141                                         {
142                                                 text    "Move Forward"
143                                                 target  "Data::Key::Forward"
144                                         }
145                                         Derive Nex_Key_Template Backward
146                                         {
147                                                 text    "Move Backward"
148                                                 target  "Data::Key::Backward"
149                                         }
150                                         Derive Nex_Key_Template Left
151                                         {
152                                                 text    "Strafe Left"
153                                                 target  "Data::Key::StrafeLeft"
154                                         }
155                                         Derive Nex_Key_Template Right
156                                         {
157                                                 text    "Strafe Right"
158                                                 target  "Data::Key::StrafeRight"
159                                         }
160                                         Derive Nex_Key_Template Jump
161                                         {
162                                                 text    "Jump"
163                                                 target  "Data::Key::Jump"
164                                         }
165                                         Derive Nex_Key_Template Crouch
166                                         {
167                                                 text    "Crouch"
168                                                 target  "Data::Key::Crouch"
169                                         }
170                                         Derive Nex_Key_Template Hook
171                                         {
172                                                 text    "Grappling Hook"
173                                                 target  "Data::Key::Hook"
174                                         }
175                                         Derive Nex_Void Seperator1
176                                         {}
177                                         Derive Title GroupFight
178                                         {
179                                                 text    "[Fight]"
180                                         }
181                                         Derive Nex_Key_Template Primary
182                                         {
183                                                 text    "Primary Attack"
184                                                 target  "Data::Key::FirePrimary"
185                                         }
186                                         Derive Nex_Key_Template Secondary
187                                         {
188                                                 text    "Secondary Attack"
189                                                 target  "Data::Key::FireSecondary"
190                                         }
191                                         Derive Nex_Key_Template PrevWeapon
192                                         {
193                                                 text    "Previous Weapon"
194                                                 target  "Data::Key::PrevWeapon"
195                                         }
196                                         Derive Nex_Key_Template NextWeapon
197                                         {
198                                                 text    "Next Weapon"
199                                                 target  "Data::Key::NextWeapon"
200                                         }
201                                         Derive Nex_Key_Template Zoom
202                                         {
203                                                 text    "Zoom"
204                                                 target  "Data::Key::Zoom"
205                                         }
206                                         Derive Nex_Void Seperator2
207                                         {}
208                                         Derive Title Weapons
209                                         {
210                                                 text    "[Weapon]"
211                                         }
212                                         Derive Nex_Key_Template Laser
213                                         {
214                                                 text    "Laser"
215                                                 target  "Data::Key::Weapon::Laser"
216                                         }
217                                         Derive Nex_Key_Template Shotgun
218                                         {
219                                                 text    "Shotgun"
220                                                 target  "Data::Key::Weapon::Shotgun"
221                                         }
222                                         Derive Nex_Key_Template Machingun
223                                         {
224                                                 text    "Machinegun"
225                                                 target  "Data::Key::Weapon::Machinegun"
226                                         }
227
228                                         Derive Nex_Key_Template Mortar
229                                         {
230                                                 text    "Mortar"
231                                                 target  "Data::Key::Weapon::Mortar"
232                                         }
233                                         Derive Nex_Key_Template Electro
234                                         {
235                                                 text    "Electro"
236                                                 target  "Data::Key::Weapon::Electro"
237                                         }
238                                         Derive Nex_Key_Template CryLink
239                                         {
240                                                 text    "CryLink"
241                                                 target  "Data::Key::Weapon::CryLink"
242                                         }
243                                         Derive Nex_Key_Template NexGun
244                                         {
245                                                 text    "NexGun"
246                                                 target  "Data::Key::Weapon::NexGun"
247                                         }
248                                         Derive Nex_Key_Template Hagar
249                                         {
250                                                 text    "Hagar"
251                                                 target  "Data::Key::Weapon::Hagar"
252                                         }
253                                         Derive Nex_Key_Template Rocket
254                                         {
255                                                 text    "Rocket"
256                                                 target  "Data::Key::Weapon::Rocket"
257                                         }
258                                         Derive Nex_Void Seperator3
259                                         {}
260                                         Derive Title Misc
261                                         {
262                                                 text    "[Miscellaneous]"
263                                         }
264                                         Derive Nex_Key_Template ShowScores
265                                         {
266                                                 text    "Show Scores"
267                                                 target  "Data::Key::ShowScores"
268                                         }
269                                         Derive Nex_Key_Template ToggleConsole
270                                         {
271                                                 text    "Toggle Console"
272                                                 target  "Data::Key::ToggleConsole"
273                                         }
274                                         Derive Nex_Key_Template Message
275                                         {
276                                                 text    "Message"
277                                                 target  "Data::Key::Message"
278                                         }
279                                         Derive Nex_Key_Template TeamMessage
280                                         {
281                                                 text    "Team Message"
282                                                 target  "Data::Key::TeamMessage"
283                                         }
284                                         Derive Nex_Key_Template Pause
285                                         {
286                                                 text    "Pause"
287                                                 target  "Data::Key::Pause"
288                                         }
289                                         Derive Nex_Key_Template Screenshot
290                                         {
291                                                 text    "Screenshot"
292                                                 target  "Data::Key::Screenshot"
293                                         }
294                                         Derive Nex_Key_Template Quit
295                                         {
296                                                 text    "Quit Nexuiz"
297                                                 target  "Data::Key::Quit"
298                                         }
299                                         Derive Nex_Key_Template ViewSmaller
300                                         {
301                                                 text    "Decrease Viewsize"
302                                                 target  "Data::Key::ViewSmaller"
303                                         }
304                                         Derive Nex_Key_Template ViewBigger
305                                         {
306                                                 text    "Increase Viewsize"
307                                                 target  "Data::Key::ViewBigger"
308                                         }
309                                 }
310                         }
311                         Item VScrollBar Scroller
312                         {
313                                 pos     '680 0'
314                                 size    '20 100'
315                                 target  "##prev"
316                         }
317                 }
318
319                 Item Arrangement Buttons
320                 {
321                         flag    [FlagEmbedded]
322                         Derive TextButton Reset
323                         {
324                                 normal  "Reset to default"
325                                 init    Nex_Action_ResetData
326                                 target  "::Data::Key"
327                         }
328                 }
329         }
330
331         // info window
332         Item Window InfoWindow
333         {
334                 size    '300 50'
335                 pos     '150 200'
336                 flag    [FlagHidden]
337
338                 Derive Rect Background
339                 {
340                         color           '0.1 0.1 0.1'
341                         drawFlag        [DrawFlagModulate]
342                         flag            [FlagSealOffMouse]
343
344                         Derive Rect Layer
345                         {
346                                 color           '0.2 0.2 0.2'
347                                 drawFlag        [DrawFlagAdditive]
348                         }
349                 }
350                 Item Window TextContainer
351                 {
352                         pos     '2 2'
353                         size    '296 46'
354                         Derive Rect Background
355                         {
356                                 color           '0.1 0.1 0.1'
357                                 drawFlag        [DrawFlagAdditive]
358                         }
359                         Derive MultiLabel Info
360                         {
361                                 pos     '3 3'
362                                 wrap    24
363                                 text    "Now press the key you \nwant to bind or \npress [Escape] to abort."
364                         }
365                 }
366         }
367 }