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