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