]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/options/key.menu
-Small cosmetic change in the key options menu.
[divverent/nexuiz.git] / scmenu / 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                 size      '700 600'
16                 origin    '380 0'
17                 alignment [AlignCenter]
18                 direction [Nex_DefaultVertDirection]
19                 flag      [FlagEmbedded]
20
21                 Derive MultiLabel Description
22                 {
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                         size    '700 15'
32                         direction '10 0'
33
34                         Derive Rect Action
35                         {
36                                 size    '200 15'
37                                 color   '0.5 0.5 0.5'
38                                 alpha   0.5
39
40                                 Derive Label Label
41                                 {
42                                         text    "Action"
43                                 }
44                         }
45                         Derive Rect Key1
46                         {
47                                 pos     '210 0'
48                                 size    '190 15'
49                                 color   '0.5 0.5 0.5'
50                                 alpha   0.5
51
52                                 Derive Label Label
53                                 {
54                                         text    "Key/Button 1"
55                                 }
56                         }
57                         Derive Rect Key2
58                         {
59                                 pos     '410 0'
60                                 size    '190 15'
61                                 color   '0.5 0.5 0.5'
62                                 alpha   0.5
63
64                                 Derive Label Label
65                                 {
66                                         text    "Key/Button 2"
67                                 }
68                         }
69                 }
70                 Item ScrollWindow Scroll
71                 {
72                         size    '700 650'
73                         flag    [FlagEmbedded]
74                         Item Arrangement Keys
75                         {
76                                 direction       [Nex_DefaultVertDirection]
77                                 flag            [FlagEmbedded]
78
79                                 Template Layout Nex_Key_Template
80                                 {
81                                         size    '600 12'
82                                         flag    [FlagEmbedded]
83                                         direction '10 0'
84
85                                         Template Automation_Job Job
86                                         {
87                                                 action Nex_Automation_Key
88                                         }
89                                         Derive Label Action
90                                         {
91                                                 size    '200 12'
92                                         }
93                                         Template DataLink_AltString Link1
94                                         {
95                                                 flag            [FlagHidden]
96                                                 stepValue       0
97                                         }
98                                         DeriveTemplate Nex_KeyButton Key1
99                                         {
100                                                 pos     '210 0'
101                                                 size    '190 12'
102                                                 target  "##down"
103                                                 action  Nex_Action_KeyButton
104
105                                                 Item DataLink_FastResync Resync
106                                                 {
107                                                         link    "Link1"
108                                                 }
109                                         }
110                                         Template DataLink_AltString Link2
111                                         {
112                                                 flag            [FlagHidden]
113                                                 stepValue       1
114                                         }
115                                         DeriveTemplate Nex_KeyButton Key2
116                                         {
117                                                 pos     '410 0'
118                                                 size    '190 12'
119                                                 target  "##down"
120                                                 action  Nex_Action_KeyButton
121
122                                                 Item DataLink_FastResync Resync
123                                                 {
124                                                         link    "Link2"
125                                                 }
126                                         }
127                                 }
128                                 DeriveTemplate Label Title
129                                 {
130                                         fontSize '13 13'
131                                         color    '0.5 0.3 0.3'
132                                 }
133                                 Derive Title GroupMovement
134                                 {
135                                         text    "[Movement]"
136                                 }
137                                 Derive Nex_Key_Template Forward
138                                 {
139                                         text    "Move Forward"
140                                         target  "Data::Key::Forward"
141                                 }
142                                 Derive Nex_Key_Template Backward
143                                 {
144                                         text    "Move Backward"
145                                         target  "Data::Key::Backward"
146                                 }
147                                 Derive Nex_Key_Template Left
148                                 {
149                                         text    "Strafe Left"
150                                         target  "Data::Key::StrafeLeft"
151                                 }
152                                 Derive Nex_Key_Template Right
153                                 {
154                                         text    "Strafe Right"
155                                         target  "Data::Key::StrafeRight"
156                                 }
157                                 Derive Nex_Key_Template Jump
158                                 {
159                                         text    "Jump"
160                                         target  "Data::Key::Jump"
161                                 }
162                                 Derive Nex_Key_Template Crouch
163                                 {
164                                         text    "Crouch"
165                                         target  "Data::Key::Crouch"
166                                 }
167                                 Derive Nex_Void Seperator1
168                                 {}
169                                 Derive Title GroupFight
170                                 {
171                                         text    "[Fight]"
172                                 }
173                                 Derive Nex_Key_Template Primary
174                                 {
175                                         text    "Primary Attack"
176                                         target  "Data::Key::FirePrimary"
177                                 }
178                                 Derive Nex_Key_Template Secondary
179                                 {
180                                         text    "Secondary Attack"
181                                         target  "Data::Key::FireSecondary"
182                                 }
183                                 Derive Nex_Key_Template PrevWeapon
184                                 {
185                                         text    "Previous Weapon"
186                                         target  "Data::Key::PrevWeapon"
187                                 }
188                                 Derive Nex_Key_Template NextWeapon
189                                 {
190                                         text    "Next Weapon"
191                                         target  "Data::Key::NextWeapon"
192                                 }
193                                 Derive Nex_Void Seperator2
194                                 {}
195                                 Derive Title Weapons
196                                 {
197                                         text    "[Weapon]"
198                                 }
199                                 Derive Nex_Key_Template Laser
200                                 {
201                                         text    "Laser"
202                                         target  "Data::Key::Weapon::Laser"
203                                 }
204                                 Derive Nex_Key_Template Uzi
205                                 {
206                                         text    "Uzi"
207                                         target  "Data::Key::Weapon::Uzi"
208                                 }
209                                 Derive Nex_Key_Template Shotgun
210                                 {
211                                         text    "Shotgun"
212                                         target  "Data::Key::Weapon::Shotgun"
213                                 }
214                                 Derive Nex_Key_Template Grenade
215                                 {
216                                         text    "Uzi"
217                                         target  "Data::Key::Weapon::Grenade"
218                                 }
219                                 Derive Nex_Key_Template Electro
220                                 {
221                                         text    "Electro"
222                                         target  "Data::Key::Weapon::Electro"
223                                 }
224                                 Derive Nex_Key_Template CryLink
225                                 {
226                                         text    "CryLink"
227                                         target  "Data::Key::Weapon::CryLink"
228                                 }
229                                 Derive Nex_Key_Template NexGun
230                                 {
231                                         text    "NexGun"
232                                         target  "Data::Key::Weapon::NexGun"
233                                 }
234                                 Derive Nex_Key_Template Hagar
235                                 {
236                                         text    "Hagar"
237                                         target  "Data::Key::Weapon::Hagar"
238                                 }
239                                 Derive Nex_Key_Template Rocket
240                                 {
241                                         text    "Rocket"
242                                         target  "Data::Key::Weapon::Rocket"
243                                 }
244                         }
245                 }
246                 Item Layout Buttons
247                 {
248                         flag    [FlagEmbedded]
249                 }
250         }
251
252         // info window
253         Item Window InfoWindow
254         {
255                 size    '300 50'
256                 pos     '150 200'
257                 flag    [FlagHidden]
258
259                 Derive Rect Background
260                 {
261                         color           '0.1 0.1 0.1'
262                         drawFlag        [DrawFlagModulate]
263                         flag            [FlagSealOffMouse]
264
265                         Derive Rect Layer
266                         {
267                                 color           '0.2 0.2 0.2'
268                                 drawFlag        [DrawFlagAdditive]
269                         }
270                 }
271                 Item Window TextContainer
272                 {
273                         pos     '2 2'
274                         size    '296 46'
275                         Derive Rect Background
276                         {
277                                 color           '0.1 0.1 0.1'
278                                 drawFlag        [DrawFlagAdditive]
279                         }
280                         Derive MultiLabel Info
281                         {
282                                 pos     '3 3'
283                                 wrap    24
284                                 text    "Now press the key you want to bind or press [Escape] to abort."
285                         }
286                 }
287         }
288 }
289
290