]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/options/key.menu
corrected a few keys and added ready to menu
[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_Key_Template DropWeapon
207                                         {
208                                                 text    "Drop Weapon"
209                                                 target  "Data::Key::DropWeapon"
210                                         }
211                                         Derive Nex_Key_Template WeapLast
212                                         {
213                                                 text    "Last Used Weapon"
214                                                 target  "Data::Key::WeapLast"
215                                         }
216                                         Derive Nex_Void Seperator2
217                                         {}
218                                         Derive Title Weapons
219                                         {
220                                                 text    "[Weapon]"
221                                         }
222                                         Derive Nex_Key_Template Laser
223                                         {
224                                                 text    "Laser"
225                                                 target  "Data::Key::Weapon::Laser"
226                                         }
227                                         Derive Nex_Key_Template Shotgun
228                                         {
229                                                 text    "Shotgun"
230                                                 target  "Data::Key::Weapon::Shotgun"
231                                         }
232                                         Derive Nex_Key_Template Machingun
233                                         {
234                                                 text    "Machinegun"
235                                                 target  "Data::Key::Weapon::Machinegun"
236                                         }
237
238                                         Derive Nex_Key_Template Mortar
239                                         {
240                                                 text    "Mortar"
241                                                 target  "Data::Key::Weapon::Mortar"
242                                         }
243                                         Derive Nex_Key_Template Electro
244                                         {
245                                                 text    "Electro"
246                                                 target  "Data::Key::Weapon::Electro"
247                                         }
248                                         Derive Nex_Key_Template CryLink
249                                         {
250                                                 text    "CryLink"
251                                                 target  "Data::Key::Weapon::CryLink"
252                                         }
253                                         Derive Nex_Key_Template NexGun
254                                         {
255                                                 text    "NexGun"
256                                                 target  "Data::Key::Weapon::NexGun"
257                                         }
258                                         Derive Nex_Key_Template Hagar
259                                         {
260                                                 text    "Hagar"
261                                                 target  "Data::Key::Weapon::Hagar"
262                                         }
263                                         Derive Nex_Key_Template Rocket
264                                         {
265                                                 text    "Rocket"
266                                                 target  "Data::Key::Weapon::Rocket"
267                                         }
268                                         Derive Nex_Void Seperator3
269                                         {}
270                                         Derive Title Misc
271                                         {
272                                                 text    "[Miscellaneous]"
273                                         }
274                                         Derive Nex_Key_Template ShowScores
275                                         {
276                                                 text    "Show Scores"
277                                                 target  "Data::Key::ShowScores"
278                                         }
279                                         Derive Nex_Key_Template ToggleConsole
280                                         {
281                                                 text    "Toggle Console"
282                                                 target  "Data::Key::ToggleConsole"
283                                         }
284                                         Derive Nex_Key_Template Message
285                                         {
286                                                 text    "Message"
287                                                 target  "Data::Key::Message"
288                                         }
289                                         Derive Nex_Key_Template TeamMessage
290                                         {
291                                                 text    "Team Message"
292                                                 target  "Data::Key::TeamMessage"
293                                         }
294                                         Derive Nex_Key_Template Pause
295                                         {
296                                                 text    "Pause"
297                                                 target  "Data::Key::Pause"
298                                         }
299                                         Derive Nex_Key_Template Screenshot
300                                         {
301                                                 text    "Screenshot"
302                                                 target  "Data::Key::Screenshot"
303                                         }
304                                         Derive Nex_Key_Template Quit
305                                         {
306                                                 text    "Quit Nexuiz"
307                                                 target  "Data::Key::Quit"
308                                         }
309                                         Derive Nex_Key_Template ViewSmaller
310                                         {
311                                                 text    "Decrease Viewsize"
312                                                 target  "Data::Key::ViewSmaller"
313                                         }
314                                         Derive Nex_Key_Template ViewBigger
315                                         {
316                                                 text    "Increase Viewsize"
317                                                 target  "Data::Key::ViewBigger"
318                                         }
319                                         Derive Nex_Key_Template ShowInfo
320                                         {
321                                                 text    "Display Serverinfo"
322                                                 target  "Data::Key::ShowInfo"
323                                         }
324                                         Derive Nex_Key_Template Spec
325                                         {
326                                                 text    "Become Spectator"
327                                                 target  "Data::Key::Spec"
328                                         }
329                                         Derive Nex_Key_Template TeamSelect
330                                         {
331                                                 text    "Show Teammenu"
332                                                 target  "Data::Key::TeamSelect"
333                                         }
334                                         Derive Nex_Key_Template VoteYes
335                                         {
336                                                 text    "Vote Yes"
337                                                 target  "Data::Key::VoteYes"
338                                         }
339                                         Derive Nex_Key_Template VoteNo
340                                         {
341                                                 text    "Vote No"
342                                                 target  "Data::Key::VoteNo"
343                                         }
344                                         Derive Nex_Key_Template Ready
345                                         {
346                                                 text    "Ready to restart the map"
347                                                 target  "Data::Key::Ready"
348                                         }
349                                 }
350                         }
351                         Item VScrollBar Scroller
352                         {
353                                 pos     '680 0'
354                                 size    '20 100'
355                                 target  "##prev"
356                         }
357                 }
358
359                 Item Arrangement Buttons
360                 {
361                         flag    [FlagEmbedded]
362                         Derive TextButton Reset
363                         {
364                                 normal  "Reset to default"
365                                 init    Nex_Action_ResetData
366                                 target  "::Data::Key"
367                         }
368                 }
369         }
370
371         // info window
372         Item Window InfoWindow
373         {
374                 size    '300 50'
375                 pos     '150 200'
376                 flag    [FlagHidden]
377
378                 Derive Rect Background
379                 {
380                         color           '0.1 0.1 0.1'
381                         drawFlag        [DrawFlagModulate]
382                         flag            [FlagSealOffMouse]
383
384                         Derive Rect Layer
385                         {
386                                 color           '0.2 0.2 0.2'
387                                 drawFlag        [DrawFlagAdditive]
388                         }
389                 }
390                 Item Window TextContainer
391                 {
392                         pos     '2 2'
393                         size    '296 46'
394                         Derive Rect Background
395                         {
396                                 color           '0.1 0.1 0.1'
397                                 drawFlag        [DrawFlagAdditive]
398                         }
399                         Derive MultiLabel Info
400                         {
401                                 pos     '3 3'
402                                 wrap    24
403                                 text    "Now press the key you \nwant to bind or \npress [Escape] to abort."
404                         }
405                 }
406         }
407 }