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