| 1 | #include "ui/menudef.h" |
|---|
| 2 | |
|---|
| 3 | { |
|---|
| 4 | \\ INGAME OPTIONS BOX \\ |
|---|
| 5 | |
|---|
| 6 | menuDef |
|---|
| 7 | { |
|---|
| 8 | name "ingame_options" |
|---|
| 9 | visible 0 |
|---|
| 10 | fullscreen 0 |
|---|
| 11 | outOfBoundsClick // this closes the window if it gets a click out of the rectangle |
|---|
| 12 | rect 10 56 292 280 |
|---|
| 13 | focusColor 1 .75 0 1 |
|---|
| 14 | onopen |
|---|
| 15 | { |
|---|
| 16 | hide optionsGrp; |
|---|
| 17 | show game; |
|---|
| 18 | |
|---|
| 19 | setitemcolor gameBtn forecolor 0.2 0.2 0.2 1.0; |
|---|
| 20 | setitemcolor controlsBtn forecolor 1.0 1.0 1.0 1.0; |
|---|
| 21 | setitemcolor systemBtn forecolor 1.0 1.0 1.0 1.0 |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | itemDef |
|---|
| 25 | { |
|---|
| 26 | name window |
|---|
| 27 | rect 10 5 292 270 |
|---|
| 28 | style WINDOW_STYLE_FILLED |
|---|
| 29 | backcolor 0 0 0 1 |
|---|
| 30 | visible 1 |
|---|
| 31 | decoration |
|---|
| 32 | |
|---|
| 33 | border WINDOW_BORDER_KCGRADIENT |
|---|
| 34 | borderSize 2.0 |
|---|
| 35 | borderColor 0.5 0.5 0.5 1 |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | //Section menus |
|---|
| 39 | itemDef |
|---|
| 40 | { |
|---|
| 41 | name GameBtn |
|---|
| 42 | text "Game" |
|---|
| 43 | group menuGrp |
|---|
| 44 | style WINDOW_STYLE_EMPTY |
|---|
| 45 | rect 80 20 64 20 |
|---|
| 46 | type ITEM_TYPE_BUTTON |
|---|
| 47 | textalign ITEM_ALIGN_CENTER |
|---|
| 48 | textalignx 34 |
|---|
| 49 | textaligny 18 |
|---|
| 50 | textscale .35 |
|---|
| 51 | forecolor 1 1 1 1 |
|---|
| 52 | visible 1 |
|---|
| 53 | action |
|---|
| 54 | { |
|---|
| 55 | play "sound/misc/menu1.wav"; |
|---|
| 56 | hide optionsGrp; |
|---|
| 57 | show game; |
|---|
| 58 | |
|---|
| 59 | setitemcolor gameBtn forecolor 0.2 0.2 0.2 1.0; |
|---|
| 60 | setitemcolor controlsBtn forecolor 1.0 1.0 1.0 1.0; |
|---|
| 61 | setitemcolor systemBtn forecolor 1.0 1.0 1.0 1.0 |
|---|
| 62 | } |
|---|
| 63 | } |
|---|
| 64 | |
|---|
| 65 | itemDef |
|---|
| 66 | { |
|---|
| 67 | name controlsBtn |
|---|
| 68 | text "Controls" |
|---|
| 69 | group menuGrp |
|---|
| 70 | style WINDOW_STYLE_EMPTY |
|---|
| 71 | rect 160 20 64 20 |
|---|
| 72 | type ITEM_TYPE_BUTTON |
|---|
| 73 | textalign ITEM_ALIGN_CENTER |
|---|
| 74 | textalignx 34 |
|---|
| 75 | textaligny 18 |
|---|
| 76 | textscale .35 |
|---|
| 77 | forecolor 1 1 1 1 |
|---|
| 78 | visible 1 |
|---|
| 79 | action |
|---|
| 80 | { |
|---|
| 81 | play "sound/misc/menu1.wav"; |
|---|
| 82 | hide optionsGrp; |
|---|
| 83 | show controls; |
|---|
| 84 | show look; |
|---|
| 85 | |
|---|
| 86 | setitemcolor gameBtn forecolor 1.0 1.0 1.0 1.0; |
|---|
| 87 | setitemcolor controlsBtn forecolor 0.2 0.2 0.2 1.0; |
|---|
| 88 | setitemcolor systemBtn forecolor 1.0 1.0 1.0 1.0 |
|---|
| 89 | } |
|---|
| 90 | } |
|---|
| 91 | |
|---|
| 92 | itemDef |
|---|
| 93 | { |
|---|
| 94 | name systemBtn |
|---|
| 95 | text "System" |
|---|
| 96 | group menuGrp |
|---|
| 97 | style WINDOW_STYLE_EMPTY |
|---|
| 98 | rect 230 20 64 20 |
|---|
| 99 | type ITEM_TYPE_BUTTON |
|---|
| 100 | textalign ITEM_ALIGN_CENTER |
|---|
| 101 | textalignx 34 |
|---|
| 102 | textaligny 18 |
|---|
| 103 | textscale .35 |
|---|
| 104 | forecolor 1 1 1 1 |
|---|
| 105 | visible 1 |
|---|
| 106 | action |
|---|
| 107 | { |
|---|
| 108 | play "sound/misc/menu1.wav"; |
|---|
| 109 | hide optionsGrp; |
|---|
| 110 | show system; |
|---|
| 111 | show ghardware; |
|---|
| 112 | |
|---|
| 113 | setitemcolor gameBtn forecolor 1.0 1.0 1.0 1.0; |
|---|
| 114 | setitemcolor controlsBtn forecolor 1.0 1.0 1.0 1.0; |
|---|
| 115 | setitemcolor systemBtn forecolor 0.2 0.2 0.2 1.0 |
|---|
| 116 | } |
|---|
| 117 | } |
|---|
| 118 | |
|---|
| 119 | //////// GAME |
|---|
| 120 | |
|---|
| 121 | itemDef |
|---|
| 122 | { |
|---|
| 123 | name game |
|---|
| 124 | group optionsGrp |
|---|
| 125 | type ITEM_TYPE_EDITFIELD |
|---|
| 126 | style 0 |
|---|
| 127 | text "Name:" |
|---|
| 128 | cvar "name" |
|---|
| 129 | maxchars 31 |
|---|
| 130 | maxPaintChars 31 |
|---|
| 131 | rect 50 85 220 15 |
|---|
| 132 | textalign ITEM_ALIGN_LEFT |
|---|
| 133 | textalignx 64 |
|---|
| 134 | textaligny 12 |
|---|
| 135 | textscale .25 |
|---|
| 136 | forecolor 1 1 1 1 |
|---|
| 137 | visible 0 |
|---|
| 138 | } |
|---|
| 139 | |
|---|
| 140 | itemDef |
|---|
| 141 | { |
|---|
| 142 | name game |
|---|
| 143 | group optionsGrp |
|---|
| 144 | type ITEM_TYPE_YESNO |
|---|
| 145 | text "Auto Download:" |
|---|
| 146 | cvar "cl_allowDownload" |
|---|
| 147 | rect 80 115 192 15 |
|---|
| 148 | textalign ITEM_ALIGN_RIGHT |
|---|
| 149 | textalignx 128 |
|---|
| 150 | textaligny 12 |
|---|
| 151 | textscale .25 |
|---|
| 152 | forecolor 1 1 1 1 |
|---|
| 153 | visible 0 |
|---|
| 154 | action |
|---|
| 155 | { |
|---|
| 156 | play "sound/misc/menu1.wav"; |
|---|
| 157 | } |
|---|
| 158 | } |
|---|
| 159 | |
|---|
| 160 | itemDef |
|---|
| 161 | { |
|---|
| 162 | name game |
|---|
| 163 | group optionsGrp |
|---|
| 164 | type ITEM_TYPE_YESNO |
|---|
| 165 | text "Taunts Sounds Off:" |
|---|
| 166 | cvar "cg_noTaunt" |
|---|
| 167 | rect 80 130 192 15 |
|---|
| 168 | textalign ITEM_ALIGN_RIGHT |
|---|
| 169 | textalignx 128 |
|---|
| 170 | textaligny 12 |
|---|
| 171 | textscale .25 |
|---|
| 172 | forecolor 1 1 1 1 |
|---|
| 173 | visible 0 |
|---|
| 174 | action |
|---|
| 175 | { |
|---|
| 176 | play "sound/misc/menu1.wav"; |
|---|
| 177 | } |
|---|
| 178 | } |
|---|
| 179 | |
|---|
| 180 | itemDef |
|---|
| 181 | { |
|---|
| 182 | name game |
|---|
| 183 | group optionsGrp |
|---|
| 184 | type ITEM_TYPE_YESNO |
|---|
| 185 | text "Team Chats Only:" |
|---|
| 186 | cvar "cg_teamChatsOnly" |
|---|
| 187 | rect 80 145 192 15 |
|---|
| 188 | textalign ITEM_ALIGN_RIGHT |
|---|
| 189 | textalignx 128 |
|---|
| 190 | textaligny 12 |
|---|
| 191 | textscale .25 |
|---|
| 192 | forecolor 1 1 1 1 |
|---|
| 193 | visible 0 |
|---|
| 194 | action |
|---|
| 195 | { |
|---|
| 196 | play "sound/misc/menu1.wav"; |
|---|
| 197 | } |
|---|
| 198 | } |
|---|
| 199 | |
|---|
| 200 | itemDef |
|---|
| 201 | { |
|---|
| 202 | name game |
|---|
| 203 | group optionsGrp |
|---|
| 204 | type ITEM_TYPE_YESNO |
|---|
| 205 | text "Auto Wallwalk Pitching:" |
|---|
| 206 | cvar "cg_wwFollow" |
|---|
| 207 | rect 80 160 192 15 |
|---|
| 208 | textalign ITEM_ALIGN_RIGHT |
|---|
| 209 | textalignx 128 |
|---|
| 210 | textaligny 12 |
|---|
| 211 | textscale .25 |
|---|
| 212 | forecolor 1 1 1 1 |
|---|
| 213 | visible 0 |
|---|
| 214 | action |
|---|
| 215 | { |
|---|
| 216 | play "sound/misc/menu1.wav"; |
|---|
| 217 | } |
|---|
| 218 | } |
|---|
| 219 | |
|---|
| 220 | itemDef |
|---|
| 221 | { |
|---|
| 222 | name game |
|---|
| 223 | group optionsGrp |
|---|
| 224 | type ITEM_TYPE_MULTI |
|---|
| 225 | text "Wallwalking Speed:" |
|---|
| 226 | cvarfloat "cg_wwSmoothTime" 300 0 1000 |
|---|
| 227 | cvarFloatList { "Medium" 300 "Fast" 150 "Instant" 0 "Slow" 600 } |
|---|
| 228 | rect 80 175 192 15 |
|---|
| 229 | textalign ITEM_ALIGN_RIGHT |
|---|
| 230 | textalignx 128 |
|---|
| 231 | textaligny 12 |
|---|
| 232 | textscale .25 |
|---|
| 233 | forecolor 1 1 1 1 |
|---|
| 234 | visible 0 |
|---|
| 235 | action |
|---|
| 236 | { |
|---|
| 237 | play "sound/misc/menu1.wav"; |
|---|
| 238 | } |
|---|
| 239 | } |
|---|
| 240 | |
|---|
| 241 | itemDef |
|---|
| 242 | { |
|---|
| 243 | name game |
|---|
| 244 | group optionsGrp |
|---|
| 245 | type ITEM_TYPE_YESNO |
|---|
| 246 | text "Wallwalk Control Toggles:" |
|---|
| 247 | cvar "cg_wwToggle" |
|---|
| 248 | rect 80 190 192 15 |
|---|
| 249 | textalign ITEM_ALIGN_RIGHT |
|---|
| 250 | textalignx 128 |
|---|
| 251 | textaligny 12 |
|---|
| 252 | textscale .25 |
|---|
| 253 | forecolor 1 1 1 1 |
|---|
| 254 | visible 0 |
|---|
| 255 | action |
|---|
| 256 | { |
|---|
| 257 | play "sound/misc/menu1.wav"; |
|---|
| 258 | } |
|---|
| 259 | } |
|---|
| 260 | |
|---|
| 261 | itemDef |
|---|
| 262 | { |
|---|
| 263 | name game |
|---|
| 264 | group optionsGrp |
|---|
| 265 | type ITEM_TYPE_YESNO |
|---|
| 266 | text "Disable Warning Dialogs:" |
|---|
| 267 | cvar "cg_disableWarningDialogs" |
|---|
| 268 | rect 80 205 192 15 |
|---|
| 269 | textalign ITEM_ALIGN_RIGHT |
|---|
| 270 | textalignx 128 |
|---|
| 271 | textaligny 12 |
|---|
| 272 | textscale .25 |
|---|
| 273 | forecolor 1 1 1 1 |
|---|
| 274 | visible 0 |
|---|
| 275 | action |
|---|
| 276 | { |
|---|
| 277 | play "sound/misc/menu1.wav"; |
|---|
| 278 | } |
|---|
| 279 | } |
|---|
| 280 | |
|---|
| 281 | itemDef |
|---|
| 282 | { |
|---|
| 283 | name game |
|---|
| 284 | group optionsGrp |
|---|
| 285 | type ITEM_TYPE_YESNO |
|---|
| 286 | text "Tutorial Mode:" |
|---|
| 287 | cvar "cg_tutorial" |
|---|
| 288 | rect 80 220 192 15 |
|---|
| 289 | textalign ITEM_ALIGN_RIGHT |
|---|
| 290 | textalignx 128 |
|---|
| 291 | textaligny 12 |
|---|
| 292 | textscale .25 |
|---|
| 293 | forecolor 1 1 1 1 |
|---|
| 294 | visible 0 |
|---|
| 295 | action |
|---|
| 296 | { |
|---|
| 297 | play "sound/misc/menu1.wav"; |
|---|
| 298 | } |
|---|
| 299 | } |
|---|
| 300 | |
|---|
| 301 | itemDef |
|---|
| 302 | { |
|---|
| 303 | name game |
|---|
| 304 | group optionsGrp |
|---|
| 305 | type ITEM_TYPE_MULTI |
|---|
| 306 | text "Show Clock:" |
|---|
| 307 | cvar "cg_drawClock" |
|---|
| 308 | cvarFloatList { "No" 0 "12 Hour" 1 "24 Hour" 2 } |
|---|
| 309 | rect 80 235 192 15 |
|---|
| 310 | textalign ITEM_ALIGN_RIGHT |
|---|
| 311 | textalignx 128 |
|---|
| 312 | textaligny 12 |
|---|
| 313 | textscale .25 |
|---|
| 314 | forecolor 1 1 1 1 |
|---|
| 315 | visible 0 |
|---|
| 316 | action |
|---|
| 317 | { |
|---|
| 318 | play "sound/misc/menu1.wav"; |
|---|
| 319 | } |
|---|
| 320 | } |
|---|
| 321 | |
|---|
| 322 | itemDef |
|---|
| 323 | { |
|---|
| 324 | name game |
|---|
| 325 | group optionsGrp |
|---|
| 326 | type ITEM_TYPE_MULTI |
|---|
| 327 | text "Draw Crosshair:" |
|---|
| 328 | cvar "cg_drawCrosshair" |
|---|
| 329 | cvarFloatList { "Never" 0 "Ranged Weapons Only" 1 "Always" 2 } |
|---|
| 330 | rect 80 250 192 15 |
|---|
| 331 | textalign ITEM_ALIGN_RIGHT |
|---|
| 332 | textalignx 128 |
|---|
| 333 | textaligny 12 |
|---|
| 334 | textscale .25 |
|---|
| 335 | forecolor 1 1 1 1 |
|---|
| 336 | visible 0 |
|---|
| 337 | action |
|---|
| 338 | { |
|---|
| 339 | play "sound/misc/menu1.wav"; |
|---|
| 340 | } |
|---|
| 341 | } |
|---|
| 342 | |
|---|
| 343 | //////// CONTROLS |
|---|
| 344 | |
|---|
| 345 | //Controls menu |
|---|
| 346 | itemDef |
|---|
| 347 | { |
|---|
| 348 | name controls |
|---|
| 349 | text "Look" |
|---|
| 350 | group optionsGrp |
|---|
| 351 | style WINDOW_STYLE_EMPTY |
|---|
| 352 | rect 20 60 64 20 |
|---|
| 353 | type ITEM_TYPE_BUTTON |
|---|
| 354 | textalign ITEM_ALIGN_RIGHT |
|---|
| 355 | textalignx 64 |
|---|
| 356 | textaligny 16 |
|---|
| 357 | textscale .25 |
|---|
| 358 | forecolor 1 1 1 1 |
|---|
| 359 | visible 0 |
|---|
| 360 | action |
|---|
| 361 | { |
|---|
| 362 | play "sound/misc/menu1.wav"; |
|---|
| 363 | hide optionsGrp; |
|---|
| 364 | show controls; |
|---|
| 365 | show look |
|---|
| 366 | } |
|---|
| 367 | } |
|---|
| 368 | |
|---|
| 369 | //////// LOOK |
|---|
| 370 | |
|---|
| 371 | itemDef |
|---|
| 372 | { |
|---|
| 373 | name look |
|---|
| 374 | group optionsGrp |
|---|
| 375 | type ITEM_TYPE_BIND |
|---|
| 376 | text "Lookup:" |
|---|
| 377 | cvar "+lookup" |
|---|
| 378 | rect 96 85 192 15 |
|---|
| 379 | textalign ITEM_ALIGN_RIGHT |
|---|
| 380 | textalignx 90 |
|---|
| 381 | maxPaintChars 20 |
|---|
| 382 | textaligny 12 |
|---|
| 383 | textscale .25 |
|---|
| 384 | forecolor 1 1 1 1 |
|---|
| 385 | visible 0 |
|---|
| 386 | action |
|---|
| 387 | { |
|---|
| 388 | play "sound/misc/menu1.wav"; |
|---|
| 389 | } |
|---|
| 390 | } |
|---|
| 391 | |
|---|
| 392 | itemDef |
|---|
| 393 | { |
|---|
| 394 | name look |
|---|
| 395 | group optionsGrp |
|---|
| 396 | type ITEM_TYPE_BIND |
|---|
| 397 | text "Look Down:" |
|---|
| 398 | cvar "+lookdown" |
|---|
| 399 | rect 96 100 192 15 |
|---|
| 400 | textalign ITEM_ALIGN_RIGHT |
|---|
| 401 | textalignx 90 |
|---|
| 402 | maxPaintChars 20 |
|---|
| 403 | textaligny 12 |
|---|
| 404 | textscale .25 |
|---|
| 405 | forecolor 1 1 1 1 |
|---|
| 406 | visible 0 |
|---|
| 407 | action |
|---|
| 408 | { |
|---|
| 409 | play "sound/misc/menu1.wav"; |
|---|
| 410 | } |
|---|
| 411 | } |
|---|
| 412 | |
|---|
| 413 | itemDef |
|---|
| 414 | { |
|---|
| 415 | name look |
|---|
| 416 | group optionsGrp |
|---|
| 417 | type ITEM_TYPE_BIND |
|---|
| 418 | text "Mouse Look:" |
|---|
| 419 | cvar "+mlook" |
|---|
| 420 | rect 96 115 192 15 |
|---|
| 421 | textalign ITEM_ALIGN_RIGHT |
|---|
| 422 | textalignx 90 |
|---|
| 423 | maxPaintChars 20 |
|---|
| 424 | textaligny 12 |
|---|
| 425 | textscale .25 |
|---|
| 426 | forecolor 1 1 1 1 |
|---|
| 427 | visible 0 |
|---|
| 428 | action |
|---|
| 429 | { |
|---|
| 430 | play "sound/misc/menu1.wav"; |
|---|
| 431 | } |
|---|
| 432 | } |
|---|
| 433 | |
|---|
| 434 | itemDef |
|---|
| 435 | { |
|---|
| 436 | name look |
|---|
| 437 | group optionsGrp |
|---|
| 438 | type ITEM_TYPE_BIND |
|---|
| 439 | text "Centerview:" |
|---|
| 440 | cvar "centerview" |
|---|
| 441 | rect 96 130 192 15 |
|---|
| 442 | textalign ITEM_ALIGN_RIGHT |
|---|
| 443 | textalignx 90 |
|---|
| 444 | maxPaintChars 20 |
|---|
| 445 | textaligny 12 |
|---|
| 446 | textscale .25 |
|---|
| 447 | forecolor 1 1 1 1 |
|---|
| 448 | visible 0 |
|---|
| 449 | action |
|---|
| 450 | { |
|---|
| 451 | play "sound/misc/menu1.wav"; |
|---|
| 452 | } |
|---|
| 453 | } |
|---|
| 454 | |
|---|
| 455 | itemDef |
|---|
| 456 | { |
|---|
| 457 | name look |
|---|
| 458 | group optionsGrp |
|---|
| 459 | type ITEM_TYPE_YESNO |
|---|
| 460 | text "Free Look:" |
|---|
| 461 | cvar "cl_freelook" |
|---|
| 462 | rect 96 145 192 15 |
|---|
| 463 | textalign ITEM_ALIGN_RIGHT |
|---|
| 464 | textalignx 90 |
|---|
| 465 | maxPaintChars 20 |
|---|
| 466 | textaligny 12 |
|---|
| 467 | textscale .25 |
|---|
| 468 | forecolor 1 1 1 1 |
|---|
| 469 | visible 0 |
|---|
| 470 | action |
|---|
| 471 | { |
|---|
| 472 | play "sound/misc/menu1.wav"; |
|---|
| 473 | } |
|---|
| 474 | } |
|---|
| 475 | |
|---|
| 476 | itemDef |
|---|
| 477 | { |
|---|
| 478 | name look |
|---|
| 479 | group optionsGrp |
|---|
| 480 | type ITEM_TYPE_SLIDER |
|---|
| 481 | text "Mouse Sensitivity:" |
|---|
| 482 | cvarfloat "sensitivity" 5 1 30 |
|---|
| 483 | rect 96 160 192 20 |
|---|
| 484 | textalign ITEM_ALIGN_RIGHT |
|---|
| 485 | textalignx 90 |
|---|
| 486 | maxPaintChars 20 |
|---|
| 487 | textaligny 15 |
|---|
| 488 | textscale .25 |
|---|
| 489 | forecolor 1 1 1 1 |
|---|
| 490 | visible 0 |
|---|
| 491 | } |
|---|
| 492 | |
|---|
| 493 | itemDef |
|---|
| 494 | { |
|---|
| 495 | name look |
|---|
| 496 | group optionsGrp |
|---|
| 497 | type ITEM_TYPE_YESNO |
|---|
| 498 | text "Invert Mouse:" |
|---|
| 499 | cvar "ui_mousePitch" |
|---|
| 500 | rect 96 180 192 15 |
|---|
| 501 | textalign ITEM_ALIGN_RIGHT |
|---|
| 502 | textalignx 90 |
|---|
| 503 | maxPaintChars 20 |
|---|
| 504 | textaligny 12 |
|---|
| 505 | textscale .25 |
|---|
| 506 | forecolor 1 1 1 1 |
|---|
| 507 | visible 0 |
|---|
| 508 | action |
|---|
| 509 | { |
|---|
| 510 | play "sound/misc/menu1.wav"; |
|---|
| 511 | uiScript update ui_mousePitch |
|---|
| 512 | } |
|---|
| 513 | } |
|---|
| 514 | |
|---|
| 515 | itemDef |
|---|
| 516 | { |
|---|
| 517 | name look |
|---|
| 518 | group optionsGrp |
|---|
| 519 | type ITEM_TYPE_YESNO |
|---|
| 520 | text "Smooth Mouse:" |
|---|
| 521 | cvar "m_filter" |
|---|
| 522 | rect 96 195 192 15 |
|---|
| 523 | textalign ITEM_ALIGN_RIGHT |
|---|
| 524 | textalignx 90 |
|---|
| 525 | maxPaintChars 20 |
|---|
| 526 | textaligny 12 |
|---|
| 527 | textscale .25 |
|---|
| 528 | forecolor 1 1 1 1 |
|---|
| 529 | visible 0 |
|---|
| 530 | action |
|---|
| 531 | { |
|---|
| 532 | play "sound/misc/menu1.wav"; |
|---|
| 533 | } |
|---|
| 534 | } |
|---|
| 535 | |
|---|
| 536 | //////// MOVE |
|---|
| 537 | |
|---|
| 538 | itemDef |
|---|
| 539 | { |
|---|
| 540 | name controls |
|---|
| 541 | text "Move" |
|---|
| 542 | group optionsGrp |
|---|
| 543 | style WINDOW_STYLE_EMPTY |
|---|
| 544 | rect 20 80 64 20 |
|---|
| 545 | type ITEM_TYPE_BUTTON |
|---|
| 546 | textalign ITEM_ALIGN_RIGHT |
|---|
| 547 | textalignx 64 |
|---|
| 548 | textaligny 16 |
|---|
| 549 | textscale .25 |
|---|
| 550 | forecolor 1 1 1 1 |
|---|
| 551 | visible 0 |
|---|
| 552 | action |
|---|
| 553 | { |
|---|
| 554 | play "sound/misc/menu1.wav"; |
|---|
| 555 | hide optionsGrp; |
|---|
| 556 | show controls; |
|---|
| 557 | show move |
|---|
| 558 | } |
|---|
| 559 | } |
|---|
| 560 | |
|---|
| 561 | itemDef |
|---|
| 562 | { |
|---|
| 563 | name move |
|---|
| 564 | group optionsGrp |
|---|
| 565 | type ITEM_TYPE_YESNO |
|---|
| 566 | text "Always Run:" |
|---|
| 567 | cvar "cl_run" |
|---|
| 568 | rect 96 65 192 15 |
|---|
| 569 | textalign ITEM_ALIGN_RIGHT |
|---|
| 570 | textalignx 90 |
|---|
| 571 | maxPaintChars 20 |
|---|
| 572 | textaligny 12 |
|---|
| 573 | textscale .25 |
|---|
| 574 | forecolor 1 1 1 1 |
|---|
| 575 | visible 0 |
|---|
| 576 | action |
|---|
| 577 | { |
|---|
| 578 | play "sound/misc/menu1.wav"; |
|---|
| 579 | } |
|---|
| 580 | } |
|---|
| 581 | |
|---|
| 582 | itemDef |
|---|
| 583 | { |
|---|
| 584 | name move |
|---|
| 585 | group optionsGrp |
|---|
| 586 | type ITEM_TYPE_BIND |
|---|
| 587 | text "Run / Walk:" |
|---|
| 588 | cvar "+speed" |
|---|
| 589 | rect 96 80 192 15 |
|---|
| 590 | textalign ITEM_ALIGN_RIGHT |
|---|
| 591 | textalignx 90 |
|---|
| 592 | maxPaintChars 20 |
|---|
| 593 | textaligny 12 |
|---|
| 594 | textscale .25 |
|---|
| 595 | forecolor 1 1 1 1 |
|---|
| 596 | visible 0 |
|---|
| 597 | action |
|---|
| 598 | { |
|---|
| 599 | play "sound/misc/menu1.wav"; |
|---|
| 600 | } |
|---|
| 601 | } |
|---|
| 602 | |
|---|
| 603 | itemDef |
|---|
| 604 | { |
|---|
| 605 | name move |
|---|
| 606 | group optionsGrp |
|---|
| 607 | type ITEM_TYPE_BIND |
|---|
| 608 | text "Sprint:" |
|---|
| 609 | cvar "boost" |
|---|
| 610 | rect 96 95 192 15 |
|---|
| 611 | textalign ITEM_ALIGN_RIGHT |
|---|
| 612 | textalignx 90 |
|---|
| 613 | maxPaintChars 20 |
|---|
| 614 | textaligny 12 |
|---|
| 615 | textscale .25 |
|---|
| 616 | forecolor 1 1 1 1 |
|---|
| 617 | visible 0 |
|---|
| 618 | action |
|---|
| 619 | { |
|---|
| 620 | play "sound/misc/menu1.wav"; |
|---|
| 621 | } |
|---|
| 622 | } |
|---|
| 623 | |
|---|
| 624 | itemDef |
|---|
| 625 | { |
|---|
| 626 | name move |
|---|
| 627 | group optionsGrp |
|---|
| 628 | type ITEM_TYPE_BIND |
|---|
| 629 | text "Forward:" |
|---|
| 630 | cvar "+forward" |
|---|
| 631 | rect 96 110 192 15 |
|---|
| 632 | textalign ITEM_ALIGN_RIGHT |
|---|
| 633 | textalignx 90 |
|---|
| 634 | maxPaintChars 20 |
|---|
| 635 | textaligny 12 |
|---|
| 636 | textscale .25 |
|---|
| 637 | forecolor 1 1 1 1 |
|---|
| 638 | visible 0 |
|---|
| 639 | action |
|---|
| 640 | { |
|---|
| 641 | play "sound/misc/menu1.wav"; |
|---|
| 642 | } |
|---|
| 643 | } |
|---|
| 644 | |
|---|
| 645 | itemDef |
|---|
| 646 | { |
|---|
| 647 | name move |
|---|
| 648 | group optionsGrp |
|---|
| 649 | type ITEM_TYPE_BIND |
|---|
| 650 | text "Backpedal:" |
|---|
| 651 | cvar "+back" |
|---|
| 652 | rect 96 125 192 15 |
|---|
| 653 | textalign ITEM_ALIGN_RIGHT |
|---|
| 654 | textalignx 90 |
|---|
| 655 | maxPaintChars 20 |
|---|
| 656 | textaligny 12 |
|---|
| 657 | textscale .25 |
|---|
| 658 | forecolor 1 1 1 1 |
|---|
| 659 | visible 0 |
|---|
| 660 | action |
|---|
| 661 | { |
|---|
| 662 | play "sound/misc/menu1.wav"; |
|---|
| 663 | } |
|---|
| 664 | } |
|---|
| 665 | |
|---|
| 666 | itemDef |
|---|
| 667 | { |
|---|
| 668 | name move |
|---|
| 669 | group optionsGrp |
|---|
| 670 | type ITEM_TYPE_BIND |
|---|
| 671 | text "Move Left:" |
|---|
| 672 | cvar "+moveleft" |
|---|
| 673 | rect 96 140 192 15 |
|---|
| 674 | textalign ITEM_ALIGN_RIGHT |
|---|
| 675 | textalignx 90 |
|---|
| 676 | maxPaintChars 20 |
|---|
| 677 | textaligny 12 |
|---|
| 678 | textscale .25 |
|---|
| 679 | forecolor 1 1 1 1 |
|---|
| 680 | visible 0 |
|---|
| 681 | action |
|---|
| 682 | { |
|---|
| 683 | play "sound/misc/menu1.wav"; |
|---|
| 684 | } |
|---|
| 685 | } |
|---|
| 686 | |
|---|
| 687 | itemDef |
|---|
| 688 | { |
|---|
| 689 | name move |
|---|
| 690 | group optionsGrp |
|---|
| 691 | type ITEM_TYPE_BIND |
|---|
| 692 | text "Move Right:" |
|---|
| 693 | cvar "+moveright" |
|---|
| 694 | rect 96 155 192 15 |
|---|
| 695 | textalign ITEM_ALIGN_RIGHT |
|---|
| 696 | textalignx 90 |
|---|
| 697 | maxPaintChars 20 |
|---|
| 698 | textaligny 12 |
|---|
| 699 | textscale .25 |
|---|
| 700 | forecolor 1 1 1 1 |
|---|
| 701 | visible 0 |
|---|
| 702 | action |
|---|
| 703 | { |
|---|
| 704 | play "sound/misc/menu1.wav"; |
|---|
| 705 | } |
|---|
| 706 | } |
|---|
| 707 | |
|---|
| 708 | itemDef |
|---|
| 709 | { |
|---|
| 710 | name move |
|---|
| 711 | group optionsGrp |
|---|
| 712 | type ITEM_TYPE_BIND |
|---|
| 713 | text "Jump:" |
|---|
| 714 | cvar "+moveup" |
|---|
| 715 | rect 96 170 192 15 |
|---|
| 716 | textalign ITEM_ALIGN_RIGHT |
|---|
| 717 | textalignx 90 |
|---|
| 718 | maxPaintChars 20 |
|---|
| 719 | textaligny 12 |
|---|
| 720 | textscale .25 |
|---|
| 721 | forecolor 1 1 1 1 |
|---|
| 722 | visible 0 |
|---|
| 723 | action |
|---|
| 724 | { |
|---|
| 725 | play "sound/misc/menu1.wav"; |
|---|
| 726 | } |
|---|
| 727 | } |
|---|
| 728 | |
|---|
| 729 | itemDef |
|---|
| 730 | { |
|---|
| 731 | name move |
|---|
| 732 | group optionsGrp |
|---|
| 733 | type ITEM_TYPE_BIND |
|---|
| 734 | text "Crouch:" |
|---|
| 735 | cvar "+movedown" |
|---|
| 736 | rect 96 185 192 15 |
|---|
| 737 | textalign ITEM_ALIGN_RIGHT |
|---|
| 738 | textalignx 90 |
|---|
| 739 | maxPaintChars 20 |
|---|
| 740 | textaligny 12 |
|---|
| 741 | textscale .25 |
|---|
| 742 | forecolor 1 1 1 1 |
|---|
| 743 | visible 0 |
|---|
| 744 | action |
|---|
| 745 | { |
|---|
| 746 | play "sound/misc/menu1.wav"; |
|---|
| 747 | } |
|---|
| 748 | } |
|---|
| 749 | |
|---|
| 750 | itemDef |
|---|
| 751 | { |
|---|
| 752 | name move |
|---|
| 753 | group optionsGrp |
|---|
| 754 | type ITEM_TYPE_BIND |
|---|
| 755 | text "Turn Left:" |
|---|
| 756 | cvar "+left" |
|---|
| 757 | rect 96 200 192 15 |
|---|
| 758 | textalign ITEM_ALIGN_RIGHT |
|---|
| 759 | textalignx 90 |
|---|
| 760 | maxPaintChars 20 |
|---|
| 761 | textaligny 12 |
|---|
| 762 | textscale .25 |
|---|
| 763 | forecolor 1 1 1 1 |
|---|
| 764 | visible 0 |
|---|
| 765 | action |
|---|
| 766 | { |
|---|
| 767 | play "sound/misc/menu1.wav"; |
|---|
| 768 | } |
|---|
| 769 | } |
|---|
| 770 | |
|---|
| 771 | itemDef |
|---|
| 772 | { |
|---|
| 773 | name move |
|---|
| 774 | group optionsGrp |
|---|
| 775 | type ITEM_TYPE_BIND |
|---|
| 776 | text "Turn Right:" |
|---|
| 777 | cvar "+right" |
|---|
| 778 | rect 96 215 192 15 |
|---|
| 779 | textalign ITEM_ALIGN_RIGHT |
|---|
| 780 | textalignx 90 |
|---|
| 781 | maxPaintChars 20 |
|---|
| 782 | textaligny 12 |
|---|
| 783 | textscale .25 |
|---|
| 784 | forecolor 1 1 1 1 |
|---|
| 785 | visible 0 |
|---|
| 786 | action |
|---|
| 787 | { |
|---|
| 788 | play "sound/misc/menu1.wav"; |
|---|
| 789 | } |
|---|
| 790 | } |
|---|
| 791 | |
|---|
| 792 | itemDef |
|---|
| 793 | { |
|---|
| 794 | name move |
|---|
| 795 | group optionsGrp |
|---|
| 796 | type ITEM_TYPE_BIND |
|---|
| 797 | text "Strafe:" |
|---|
| 798 | cvar "+strafe" |
|---|
| 799 | rect 96 230 192 15 |
|---|
| 800 | textalign ITEM_ALIGN_RIGHT |
|---|
| 801 | textalignx 90 |
|---|
| 802 | maxPaintChars 20 |
|---|
| 803 | textaligny 12 |
|---|
| 804 | textscale .25 |
|---|
| 805 | forecolor 1 1 1 1 |
|---|
| 806 | visible 0 |
|---|
| 807 | action |
|---|
| 808 | { |
|---|
| 809 | play "sound/misc/menu1.wav"; |
|---|
| 810 | } |
|---|
| 811 | } |
|---|
| 812 | |
|---|
| 813 | |
|---|
| 814 | |
|---|
| 815 | //////// UPGRADES |
|---|
| 816 | |
|---|
| 817 | itemDef |
|---|
| 818 | { |
|---|
| 819 | name controls |
|---|
| 820 | text "Upgrades" |
|---|
| 821 | group optionsGrp |
|---|
| 822 | style WINDOW_STYLE_EMPTY |
|---|
| 823 | rect 20 100 64 20 |
|---|
| 824 | type ITEM_TYPE_BUTTON |
|---|
| 825 | textalign ITEM_ALIGN_RIGHT |
|---|
| 826 | textalignx 64 |
|---|
| 827 | textaligny 16 |
|---|
| 828 | textscale .25 |
|---|
| 829 | forecolor 1 1 1 1 |
|---|
| 830 | visible 0 |
|---|
| 831 | action |
|---|
| 832 | { |
|---|
| 833 | play "sound/misc/menu1.wav"; |
|---|
| 834 | hide optionsGrp; |
|---|
| 835 | show controls; |
|---|
| 836 | show upgrades |
|---|
| 837 | } |
|---|
| 838 | } |
|---|
| 839 | |
|---|
| 840 | itemDef |
|---|
| 841 | { |
|---|
| 842 | name upgrades |
|---|
| 843 | group optionsGrp |
|---|
| 844 | type ITEM_TYPE_BIND |
|---|
| 845 | text "Primary Attack:" |
|---|
| 846 | cvar "+attack" |
|---|
| 847 | rect 96 90 192 15 |
|---|
| 848 | textalign ITEM_ALIGN_RIGHT |
|---|
| 849 | textalignx 90 |
|---|
| 850 | maxPaintChars 20 |
|---|
| 851 | textaligny 12 |
|---|
| 852 | textscale .25 |
|---|
| 853 | forecolor 1 1 1 1 |
|---|
| 854 | visible 0 |
|---|
| 855 | action |
|---|
| 856 | { |
|---|
| 857 | play "sound/misc/menu1.wav"; |
|---|
| 858 | } |
|---|
| 859 | } |
|---|
| 860 | |
|---|
| 861 | itemDef |
|---|
| 862 | { |
|---|
| 863 | name upgrades |
|---|
| 864 | group optionsGrp |
|---|
| 865 | type ITEM_TYPE_BIND |
|---|
| 866 | text "Secondary Attack:" |
|---|
| 867 | cvar "+button5" |
|---|
| 868 | rect 96 105 192 15 |
|---|
| 869 | textalign ITEM_ALIGN_RIGHT |
|---|
| 870 | textalignx 90 |
|---|
| 871 | maxPaintChars 20 |
|---|
| 872 | textaligny 12 |
|---|
| 873 | textscale .25 |
|---|
| 874 | forecolor 1 1 1 1 |
|---|
| 875 | visible 0 |
|---|
| 876 | action |
|---|
| 877 | { |
|---|
| 878 | play "sound/misc/menu1.wav"; |
|---|
| 879 | } |
|---|
| 880 | } |
|---|
| 881 | |
|---|
| 882 | itemDef |
|---|
| 883 | { |
|---|
| 884 | name upgrades |
|---|
| 885 | group optionsGrp |
|---|
| 886 | type ITEM_TYPE_BIND |
|---|
| 887 | text "Previous Upgrade:" |
|---|
| 888 | cvar "weapprev" |
|---|
| 889 | rect 96 120 192 15 |
|---|
| 890 | textalign ITEM_ALIGN_RIGHT |
|---|
| 891 | textalignx 90 |
|---|
| 892 | maxPaintChars 20 |
|---|
| 893 | textaligny 12 |
|---|
| 894 | textscale .25 |
|---|
| 895 | forecolor 1 1 1 1 |
|---|
| 896 | visible 0 |
|---|
| 897 | action |
|---|
| 898 | { |
|---|
| 899 | play "sound/misc/menu1.wav"; |
|---|
| 900 | } |
|---|
| 901 | } |
|---|
| 902 | |
|---|
| 903 | itemDef |
|---|
| 904 | { |
|---|
| 905 | name upgrades |
|---|
| 906 | group optionsGrp |
|---|
| 907 | type ITEM_TYPE_BIND |
|---|
| 908 | text "Next Upgrade:" |
|---|
| 909 | cvar "weapnext" |
|---|
| 910 | rect 96 135 192 15 |
|---|
| 911 | textalign ITEM_ALIGN_RIGHT |
|---|
| 912 | textalignx 90 |
|---|
| 913 | maxPaintChars 20 |
|---|
| 914 | textaligny 12 |
|---|
| 915 | textscale .25 |
|---|
| 916 | forecolor 1 1 1 1 |
|---|
| 917 | visible 0 |
|---|
| 918 | action |
|---|
| 919 | { |
|---|
| 920 | play "sound/misc/menu1.wav"; |
|---|
| 921 | } |
|---|
| 922 | } |
|---|
| 923 | |
|---|
| 924 | itemDef |
|---|
| 925 | { |
|---|
| 926 | name upgrades |
|---|
| 927 | group optionsGrp |
|---|
| 928 | type ITEM_TYPE_BIND |
|---|
| 929 | text "Activate Upgrade:" |
|---|
| 930 | cvar "+button2" |
|---|
| 931 | rect 96 150 192 15 |
|---|
| 932 | textalign ITEM_ALIGN_RIGHT |
|---|
| 933 | textalignx 90 |
|---|
| 934 | maxPaintChars 20 |
|---|
| 935 | textaligny 12 |
|---|
| 936 | textscale .25 |
|---|
| 937 | forecolor 1 1 1 1 |
|---|
| 938 | visible 0 |
|---|
| 939 | action |
|---|
| 940 | { |
|---|
| 941 | play "sound/misc/menu1.wav"; |
|---|
| 942 | } |
|---|
| 943 | } |
|---|
| 944 | |
|---|
| 945 | itemDef |
|---|
| 946 | { |
|---|
| 947 | name upgrades |
|---|
| 948 | group optionsGrp |
|---|
| 949 | type ITEM_TYPE_BIND |
|---|
| 950 | text "Reload:" |
|---|
| 951 | cvar "reload" |
|---|
| 952 | rect 96 165 192 15 |
|---|
| 953 | textalign ITEM_ALIGN_RIGHT |
|---|
| 954 | textalignx 90 |
|---|
| 955 | maxPaintChars 20 |
|---|
| 956 | textaligny 12 |
|---|
| 957 | textscale .25 |
|---|
| 958 | forecolor 1 1 1 1 |
|---|
| 959 | visible 0 |
|---|
| 960 | action |
|---|
| 961 | { |
|---|
| 962 | play "sound/misc/menu1.wav"; |
|---|
| 963 | } |
|---|
| 964 | } |
|---|
| 965 | |
|---|
| 966 | itemDef |
|---|
| 967 | { |
|---|
| 968 | name upgrades |
|---|
| 969 | group optionsGrp |
|---|
| 970 | type ITEM_TYPE_BIND |
|---|
| 971 | text "Buy Ammo:" |
|---|
| 972 | cvar "buy ammo" |
|---|
| 973 | rect 96 180 192 15 |
|---|
| 974 | textalign ITEM_ALIGN_RIGHT |
|---|
| 975 | textalignx 90 |
|---|
| 976 | maxPaintChars 20 |
|---|
| 977 | textaligny 12 |
|---|
| 978 | textscale .25 |
|---|
| 979 | forecolor 1 1 1 1 |
|---|
| 980 | visible 0 |
|---|
| 981 | action |
|---|
| 982 | { |
|---|
| 983 | play "sound/misc/menu1.wav"; |
|---|
| 984 | } |
|---|
| 985 | } |
|---|
| 986 | |
|---|
| 987 | itemDef |
|---|
| 988 | { |
|---|
| 989 | name upgrades |
|---|
| 990 | group optionsGrp |
|---|
| 991 | type ITEM_TYPE_BIND |
|---|
| 992 | text "Use Medkit:" |
|---|
| 993 | cvar "itemact medkit" |
|---|
| 994 | rect 96 195 192 15 |
|---|
| 995 | textalign ITEM_ALIGN_RIGHT |
|---|
| 996 | textalignx 90 |
|---|
| 997 | maxPaintChars 20 |
|---|
| 998 | textaligny 12 |
|---|
| 999 | textscale .25 |
|---|
| 1000 | forecolor 1 1 1 1 |
|---|
| 1001 | visible 0 |
|---|
| 1002 | action |
|---|
| 1003 | { |
|---|
| 1004 | play "sound/misc/menu1.wav"; |
|---|
| 1005 | } |
|---|
| 1006 | } |
|---|
| 1007 | |
|---|
| 1008 | //////// MISC |
|---|
| 1009 | |
|---|
| 1010 | itemDef |
|---|
| 1011 | { |
|---|
| 1012 | name controls |
|---|
| 1013 | text "Misc" |
|---|
| 1014 | group optionsGrp |
|---|
| 1015 | style WINDOW_STYLE_EMPTY |
|---|
| 1016 | rect 20 120 64 20 |
|---|
| 1017 | type ITEM_TYPE_BUTTON |
|---|
| 1018 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1019 | textalignx 64 |
|---|
| 1020 | textaligny 16 |
|---|
| 1021 | textscale .25 |
|---|
| 1022 | forecolor 1 1 1 1 |
|---|
| 1023 | visible 0 |
|---|
| 1024 | action |
|---|
| 1025 | { |
|---|
| 1026 | play "sound/misc/menu1.wav"; |
|---|
| 1027 | hide optionsGrp; |
|---|
| 1028 | show controls; |
|---|
| 1029 | show misc |
|---|
| 1030 | } |
|---|
| 1031 | } |
|---|
| 1032 | |
|---|
| 1033 | itemDef |
|---|
| 1034 | { |
|---|
| 1035 | name misc |
|---|
| 1036 | group optionsGrp |
|---|
| 1037 | type ITEM_TYPE_BIND |
|---|
| 1038 | text "Show Scores:" |
|---|
| 1039 | cvar "+scores" |
|---|
| 1040 | rect 96 65 192 15 |
|---|
| 1041 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1042 | textalignx 90 |
|---|
| 1043 | maxPaintChars 20 |
|---|
| 1044 | textaligny 12 |
|---|
| 1045 | textscale .25 |
|---|
| 1046 | forecolor 1 1 1 1 |
|---|
| 1047 | visible 0 |
|---|
| 1048 | action |
|---|
| 1049 | { |
|---|
| 1050 | play "sound/misc/menu1.wav"; |
|---|
| 1051 | } |
|---|
| 1052 | } |
|---|
| 1053 | |
|---|
| 1054 | itemDef |
|---|
| 1055 | { |
|---|
| 1056 | name misc |
|---|
| 1057 | group optionsGrp |
|---|
| 1058 | type ITEM_TYPE_BIND |
|---|
| 1059 | text "Scroll Scores Up:" |
|---|
| 1060 | cvar "scoresUp" |
|---|
| 1061 | rect 96 80 192 15 |
|---|
| 1062 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1063 | textalignx 90 |
|---|
| 1064 | maxPaintChars 20 |
|---|
| 1065 | textaligny 12 |
|---|
| 1066 | textscale .25 |
|---|
| 1067 | forecolor 1 1 1 1 |
|---|
| 1068 | visible 0 |
|---|
| 1069 | action |
|---|
| 1070 | { |
|---|
| 1071 | play "sound/misc/menu1.wav"; |
|---|
| 1072 | } |
|---|
| 1073 | } |
|---|
| 1074 | |
|---|
| 1075 | itemDef |
|---|
| 1076 | { |
|---|
| 1077 | name misc |
|---|
| 1078 | group optionsGrp |
|---|
| 1079 | type ITEM_TYPE_BIND |
|---|
| 1080 | text "Scroll Scores Down:" |
|---|
| 1081 | cvar "scoresDown" |
|---|
| 1082 | rect 96 95 192 15 |
|---|
| 1083 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1084 | textalignx 90 |
|---|
| 1085 | maxPaintChars 20 |
|---|
| 1086 | textaligny 12 |
|---|
| 1087 | textscale .25 |
|---|
| 1088 | forecolor 1 1 1 1 |
|---|
| 1089 | visible 0 |
|---|
| 1090 | action |
|---|
| 1091 | { |
|---|
| 1092 | play "sound/misc/menu1.wav"; |
|---|
| 1093 | } |
|---|
| 1094 | } |
|---|
| 1095 | |
|---|
| 1096 | itemDef |
|---|
| 1097 | { |
|---|
| 1098 | name misc |
|---|
| 1099 | group optionsGrp |
|---|
| 1100 | type ITEM_TYPE_BIND |
|---|
| 1101 | text "Use Structure/Evolve:" |
|---|
| 1102 | cvar "+button7" |
|---|
| 1103 | rect 96 110 192 15 |
|---|
| 1104 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1105 | textalignx 90 |
|---|
| 1106 | maxPaintChars 20 |
|---|
| 1107 | textaligny 12 |
|---|
| 1108 | textscale .25 |
|---|
| 1109 | forecolor 1 1 1 1 |
|---|
| 1110 | visible 0 |
|---|
| 1111 | action |
|---|
| 1112 | { |
|---|
| 1113 | play "sound/misc/menu1.wav"; |
|---|
| 1114 | } |
|---|
| 1115 | } |
|---|
| 1116 | |
|---|
| 1117 | itemDef |
|---|
| 1118 | { |
|---|
| 1119 | name misc |
|---|
| 1120 | group optionsGrp |
|---|
| 1121 | type ITEM_TYPE_BIND |
|---|
| 1122 | text "Deconstruct Structure:" |
|---|
| 1123 | cvar "deconstruct" |
|---|
| 1124 | rect 96 125 192 15 |
|---|
| 1125 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1126 | textalignx 90 |
|---|
| 1127 | maxPaintChars 20 |
|---|
| 1128 | textaligny 12 |
|---|
| 1129 | textscale .25 |
|---|
| 1130 | forecolor 1 1 1 1 |
|---|
| 1131 | visible 0 |
|---|
| 1132 | action |
|---|
| 1133 | { |
|---|
| 1134 | play "sound/misc/menu1.wav"; |
|---|
| 1135 | } |
|---|
| 1136 | } |
|---|
| 1137 | |
|---|
| 1138 | itemDef |
|---|
| 1139 | { |
|---|
| 1140 | name misc |
|---|
| 1141 | group optionsGrp |
|---|
| 1142 | type ITEM_TYPE_BIND |
|---|
| 1143 | text "Gesture:" |
|---|
| 1144 | cvar "+button3" |
|---|
| 1145 | rect 96 140 192 15 |
|---|
| 1146 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1147 | textalignx 90 |
|---|
| 1148 | maxPaintChars 20 |
|---|
| 1149 | textaligny 12 |
|---|
| 1150 | textscale .25 |
|---|
| 1151 | forecolor 1 1 1 1 |
|---|
| 1152 | visible 0 |
|---|
| 1153 | action |
|---|
| 1154 | { |
|---|
| 1155 | play "sound/misc/menu1.wav"; |
|---|
| 1156 | } |
|---|
| 1157 | } |
|---|
| 1158 | |
|---|
| 1159 | itemDef |
|---|
| 1160 | { |
|---|
| 1161 | name misc |
|---|
| 1162 | group optionsGrp |
|---|
| 1163 | type ITEM_TYPE_BIND |
|---|
| 1164 | text "Chat:" |
|---|
| 1165 | cvar "messagemode" |
|---|
| 1166 | rect 96 155 192 15 |
|---|
| 1167 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1168 | textalignx 90 |
|---|
| 1169 | maxPaintChars 20 |
|---|
| 1170 | textaligny 12 |
|---|
| 1171 | textscale .25 |
|---|
| 1172 | forecolor 1 1 1 1 |
|---|
| 1173 | visible 0 |
|---|
| 1174 | action |
|---|
| 1175 | { |
|---|
| 1176 | play "sound/misc/menu1.wav"; |
|---|
| 1177 | } |
|---|
| 1178 | } |
|---|
| 1179 | |
|---|
| 1180 | itemDef |
|---|
| 1181 | { |
|---|
| 1182 | name misc |
|---|
| 1183 | group optionsGrp |
|---|
| 1184 | type ITEM_TYPE_BIND |
|---|
| 1185 | text "Team Chat:" |
|---|
| 1186 | cvar "messagemode2" |
|---|
| 1187 | rect 96 170 192 15 |
|---|
| 1188 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1189 | textalignx 90 |
|---|
| 1190 | maxPaintChars 20 |
|---|
| 1191 | textaligny 12 |
|---|
| 1192 | textscale .25 |
|---|
| 1193 | forecolor 1 1 1 1 |
|---|
| 1194 | visible 0 |
|---|
| 1195 | action |
|---|
| 1196 | { |
|---|
| 1197 | play "sound/misc/menu1.wav"; |
|---|
| 1198 | } |
|---|
| 1199 | } |
|---|
| 1200 | |
|---|
| 1201 | itemDef |
|---|
| 1202 | { |
|---|
| 1203 | name misc |
|---|
| 1204 | group optionsGrp |
|---|
| 1205 | type ITEM_TYPE_BIND |
|---|
| 1206 | text "Target Chat:" |
|---|
| 1207 | cvar "messagemode3" |
|---|
| 1208 | rect 96 185 192 15 |
|---|
| 1209 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1210 | textalignx 90 |
|---|
| 1211 | maxPaintChars 20 |
|---|
| 1212 | textaligny 12 |
|---|
| 1213 | textscale .25 |
|---|
| 1214 | forecolor 1 1 1 1 |
|---|
| 1215 | visible 0 |
|---|
| 1216 | action |
|---|
| 1217 | { |
|---|
| 1218 | play "sound/misc/menu1.wav"; |
|---|
| 1219 | } |
|---|
| 1220 | } |
|---|
| 1221 | |
|---|
| 1222 | itemDef |
|---|
| 1223 | { |
|---|
| 1224 | name misc |
|---|
| 1225 | group optionsGrp |
|---|
| 1226 | type ITEM_TYPE_BIND |
|---|
| 1227 | text "Attack Chat:" |
|---|
| 1228 | cvar "messagemode4" |
|---|
| 1229 | rect 96 200 192 15 |
|---|
| 1230 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1231 | textalignx 90 |
|---|
| 1232 | maxPaintChars 20 |
|---|
| 1233 | textaligny 12 |
|---|
| 1234 | textscale .25 |
|---|
| 1235 | forecolor 1 1 1 1 |
|---|
| 1236 | visible 0 |
|---|
| 1237 | action |
|---|
| 1238 | { |
|---|
| 1239 | play "sound/misc/menu1.wav"; |
|---|
| 1240 | } |
|---|
| 1241 | } |
|---|
| 1242 | |
|---|
| 1243 | itemDef |
|---|
| 1244 | { |
|---|
| 1245 | name misc |
|---|
| 1246 | group optionsGrp |
|---|
| 1247 | type ITEM_TYPE_BIND |
|---|
| 1248 | text "Vote Yes:" |
|---|
| 1249 | cvar "vote yes" |
|---|
| 1250 | rect 96 215 192 15 |
|---|
| 1251 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1252 | textalignx 90 |
|---|
| 1253 | maxPaintChars 20 |
|---|
| 1254 | textaligny 12 |
|---|
| 1255 | textscale .25 |
|---|
| 1256 | forecolor 1 1 1 1 |
|---|
| 1257 | visible 0 |
|---|
| 1258 | action |
|---|
| 1259 | { |
|---|
| 1260 | play "sound/misc/menu1.wav"; |
|---|
| 1261 | } |
|---|
| 1262 | } |
|---|
| 1263 | |
|---|
| 1264 | itemDef |
|---|
| 1265 | { |
|---|
| 1266 | name misc |
|---|
| 1267 | group optionsGrp |
|---|
| 1268 | type ITEM_TYPE_BIND |
|---|
| 1269 | text "Vote No:" |
|---|
| 1270 | cvar "vote no" |
|---|
| 1271 | rect 96 230 192 15 |
|---|
| 1272 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1273 | textalignx 90 |
|---|
| 1274 | maxPaintChars 20 |
|---|
| 1275 | textaligny 12 |
|---|
| 1276 | textscale .25 |
|---|
| 1277 | forecolor 1 1 1 1 |
|---|
| 1278 | visible 0 |
|---|
| 1279 | action |
|---|
| 1280 | { |
|---|
| 1281 | play "sound/misc/menu1.wav"; |
|---|
| 1282 | } |
|---|
| 1283 | } |
|---|
| 1284 | |
|---|
| 1285 | itemDef |
|---|
| 1286 | { |
|---|
| 1287 | name misc |
|---|
| 1288 | group optionsGrp |
|---|
| 1289 | type ITEM_TYPE_BIND |
|---|
| 1290 | text "Team Vote Yes:" |
|---|
| 1291 | cvar "teamvote yes" |
|---|
| 1292 | rect 96 245 192 15 |
|---|
| 1293 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1294 | textalignx 90 |
|---|
| 1295 | maxPaintChars 20 |
|---|
| 1296 | textaligny 12 |
|---|
| 1297 | textscale .25 |
|---|
| 1298 | forecolor 1 1 1 1 |
|---|
| 1299 | visible 0 |
|---|
| 1300 | action |
|---|
| 1301 | { |
|---|
| 1302 | play "sound/misc/menu1.wav"; |
|---|
| 1303 | } |
|---|
| 1304 | } |
|---|
| 1305 | |
|---|
| 1306 | itemDef |
|---|
| 1307 | { |
|---|
| 1308 | name misc |
|---|
| 1309 | group optionsGrp |
|---|
| 1310 | type ITEM_TYPE_BIND |
|---|
| 1311 | text "Team Vote No:" |
|---|
| 1312 | cvar "teamvote no" |
|---|
| 1313 | rect 96 260 192 15 |
|---|
| 1314 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1315 | textalignx 90 |
|---|
| 1316 | maxPaintChars 20 |
|---|
| 1317 | textaligny 12 |
|---|
| 1318 | textscale .25 |
|---|
| 1319 | forecolor 1 1 1 1 |
|---|
| 1320 | visible 0 |
|---|
| 1321 | action |
|---|
| 1322 | { |
|---|
| 1323 | play "sound/misc/menu1.wav"; |
|---|
| 1324 | } |
|---|
| 1325 | } |
|---|
| 1326 | |
|---|
| 1327 | |
|---|
| 1328 | |
|---|
| 1329 | //////// SYSTEM |
|---|
| 1330 | |
|---|
| 1331 | //System menu |
|---|
| 1332 | itemDef |
|---|
| 1333 | { |
|---|
| 1334 | name system |
|---|
| 1335 | text "GFX Hardware" |
|---|
| 1336 | group optionsGrp |
|---|
| 1337 | style WINDOW_STYLE_EMPTY |
|---|
| 1338 | rect 20 60 64 20 |
|---|
| 1339 | type ITEM_TYPE_BUTTON |
|---|
| 1340 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1341 | textalignx 64 |
|---|
| 1342 | textaligny 16 |
|---|
| 1343 | textscale .25 |
|---|
| 1344 | forecolor 1 1 1 1 |
|---|
| 1345 | visible 0 |
|---|
| 1346 | action |
|---|
| 1347 | { |
|---|
| 1348 | play "sound/misc/menu1.wav"; |
|---|
| 1349 | hide optionsGrp; |
|---|
| 1350 | show system; |
|---|
| 1351 | show ghardware |
|---|
| 1352 | } |
|---|
| 1353 | } |
|---|
| 1354 | |
|---|
| 1355 | //////// GFX HARDWARE |
|---|
| 1356 | |
|---|
| 1357 | itemDef |
|---|
| 1358 | { |
|---|
| 1359 | name ghardware |
|---|
| 1360 | group optionsGrp |
|---|
| 1361 | type ITEM_TYPE_MULTI |
|---|
| 1362 | text "Quality:" |
|---|
| 1363 | cvar "ui_glCustom" |
|---|
| 1364 | cvarFloatList { "High Quality" 0 "Normal" 1 "Fast" 2 "Fastest" 3 "Custom" 4 } |
|---|
| 1365 | rect 96 50 192 15 |
|---|
| 1366 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1367 | textalignx 100 |
|---|
| 1368 | textaligny 12 |
|---|
| 1369 | textscale .25 |
|---|
| 1370 | forecolor 1 1 1 1 |
|---|
| 1371 | visible 0 |
|---|
| 1372 | action |
|---|
| 1373 | { |
|---|
| 1374 | play "sound/misc/menu1.wav"; |
|---|
| 1375 | uiScript update "ui_glCustom" |
|---|
| 1376 | } |
|---|
| 1377 | } |
|---|
| 1378 | |
|---|
| 1379 | itemDef |
|---|
| 1380 | { |
|---|
| 1381 | name ghardware |
|---|
| 1382 | group optionsGrp |
|---|
| 1383 | type ITEM_TYPE_EDITFIELD |
|---|
| 1384 | text "GL Driver:" |
|---|
| 1385 | cvar "r_gldriver" |
|---|
| 1386 | //cvarFloatList { } |
|---|
| 1387 | rect 96 65 192 15 |
|---|
| 1388 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1389 | textalignx 100 |
|---|
| 1390 | textaligny 12 |
|---|
| 1391 | textscale .25 |
|---|
| 1392 | forecolor 1 1 1 1 |
|---|
| 1393 | visible 0 |
|---|
| 1394 | decoration |
|---|
| 1395 | } |
|---|
| 1396 | |
|---|
| 1397 | itemDef |
|---|
| 1398 | { |
|---|
| 1399 | name ghardware |
|---|
| 1400 | group optionsGrp |
|---|
| 1401 | type ITEM_TYPE_YESNO |
|---|
| 1402 | text "GL Extensions:" |
|---|
| 1403 | cvar "r_allowExtensions" |
|---|
| 1404 | rect 96 80 192 15 |
|---|
| 1405 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1406 | textalignx 100 |
|---|
| 1407 | textaligny 12 |
|---|
| 1408 | textscale .25 |
|---|
| 1409 | forecolor 1 1 1 1 |
|---|
| 1410 | visible 0 |
|---|
| 1411 | action |
|---|
| 1412 | { |
|---|
| 1413 | play "sound/misc/menu1.wav"; |
|---|
| 1414 | uiScript glCuston |
|---|
| 1415 | } |
|---|
| 1416 | } |
|---|
| 1417 | |
|---|
| 1418 | itemDef |
|---|
| 1419 | { |
|---|
| 1420 | name ghardware |
|---|
| 1421 | group optionsGrp |
|---|
| 1422 | type ITEM_TYPE_MULTI |
|---|
| 1423 | text "Video Mode:" |
|---|
| 1424 | cvar "r_mode" |
|---|
| 1425 | cvarFloatList { "320x240" 0 "400x300" 1 "512x384" 2 "640x480" 3 |
|---|
| 1426 | "800x600" 4 "960x720" 5 "1024x768" 6 "1152x864" 7 |
|---|
| 1427 | "1280x1024" 8 "1600x1200" 9 "2048x1536" 10 "856x480 wide screen" 11 } |
|---|
| 1428 | rect 96 95 192 15 |
|---|
| 1429 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1430 | textalignx 100 |
|---|
| 1431 | textaligny 12 |
|---|
| 1432 | textscale .25 |
|---|
| 1433 | forecolor 1 1 1 1 |
|---|
| 1434 | visible 0 |
|---|
| 1435 | action |
|---|
| 1436 | { |
|---|
| 1437 | play "sound/misc/menu1.wav"; |
|---|
| 1438 | uiScript glCustom |
|---|
| 1439 | } |
|---|
| 1440 | } |
|---|
| 1441 | |
|---|
| 1442 | itemDef |
|---|
| 1443 | { |
|---|
| 1444 | name ghardware |
|---|
| 1445 | group optionsGrp |
|---|
| 1446 | type ITEM_TYPE_MULTI |
|---|
| 1447 | text "Color Depth:" |
|---|
| 1448 | cvar "r_colorbits" |
|---|
| 1449 | cvarFloatList { "Default" 0 "16 bit" 16 "32 bit" 32 } |
|---|
| 1450 | rect 96 110 192 15 |
|---|
| 1451 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1452 | textalignx 100 |
|---|
| 1453 | textaligny 12 |
|---|
| 1454 | textscale .25 |
|---|
| 1455 | forecolor 1 1 1 1 |
|---|
| 1456 | visible 0 |
|---|
| 1457 | action |
|---|
| 1458 | { |
|---|
| 1459 | play "sound/misc/menu1.wav"; |
|---|
| 1460 | uiScript glCustom; |
|---|
| 1461 | uiScript update "r_colorbits" |
|---|
| 1462 | } |
|---|
| 1463 | } |
|---|
| 1464 | |
|---|
| 1465 | itemDef |
|---|
| 1466 | { |
|---|
| 1467 | name ghardware |
|---|
| 1468 | group optionsGrp |
|---|
| 1469 | type ITEM_TYPE_YESNO |
|---|
| 1470 | text "Fullscreen:" |
|---|
| 1471 | cvar "r_fullscreen" |
|---|
| 1472 | rect 96 125 192 15 |
|---|
| 1473 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1474 | textalignx 100 |
|---|
| 1475 | textaligny 12 |
|---|
| 1476 | textscale .25 |
|---|
| 1477 | forecolor 1 1 1 1 |
|---|
| 1478 | visible 0 |
|---|
| 1479 | action |
|---|
| 1480 | { |
|---|
| 1481 | play "sound/misc/menu1.wav"; |
|---|
| 1482 | uiScript glCustom |
|---|
| 1483 | } |
|---|
| 1484 | } |
|---|
| 1485 | |
|---|
| 1486 | itemDef |
|---|
| 1487 | { |
|---|
| 1488 | name ghardware |
|---|
| 1489 | group optionsGrp |
|---|
| 1490 | type ITEM_TYPE_MULTI |
|---|
| 1491 | text "Lighting:" |
|---|
| 1492 | cvar "r_vertexlight" |
|---|
| 1493 | cvarFloatList { "Light Map (high)" 0 "Vertex (low)" 1 } |
|---|
| 1494 | rect 96 140 192 15 |
|---|
| 1495 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1496 | textalignx 100 |
|---|
| 1497 | textaligny 12 |
|---|
| 1498 | textscale .25 |
|---|
| 1499 | forecolor 1 1 1 1 |
|---|
| 1500 | visible 0 |
|---|
| 1501 | action |
|---|
| 1502 | { |
|---|
| 1503 | play "sound/misc/menu1.wav"; |
|---|
| 1504 | uiScript glCustom |
|---|
| 1505 | } |
|---|
| 1506 | } |
|---|
| 1507 | |
|---|
| 1508 | itemDef |
|---|
| 1509 | { |
|---|
| 1510 | name ghardware |
|---|
| 1511 | group optionsGrp |
|---|
| 1512 | type ITEM_TYPE_MULTI |
|---|
| 1513 | text "Geometric Detail:" |
|---|
| 1514 | cvar "r_lodbias" |
|---|
| 1515 | cvarFloatList { "High" 0 "Medium" 1 "Low" 2 } |
|---|
| 1516 | rect 96 155 192 15 |
|---|
| 1517 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1518 | textalignx 100 |
|---|
| 1519 | textaligny 12 |
|---|
| 1520 | textscale .25 |
|---|
| 1521 | forecolor 1 1 1 1 |
|---|
| 1522 | visible 0 |
|---|
| 1523 | action |
|---|
| 1524 | { |
|---|
| 1525 | play "sound/misc/menu1.wav"; |
|---|
| 1526 | uiScript glCustom; |
|---|
| 1527 | uiScript update "r_lodbias" |
|---|
| 1528 | } |
|---|
| 1529 | } |
|---|
| 1530 | |
|---|
| 1531 | itemDef |
|---|
| 1532 | { |
|---|
| 1533 | name ghardware |
|---|
| 1534 | group optionsGrp |
|---|
| 1535 | type ITEM_TYPE_MULTI |
|---|
| 1536 | text "Texture Detail:" |
|---|
| 1537 | cvar "r_picmip" |
|---|
| 1538 | cvarFloatList { "Low" 2 "Normal" 1 "High" 0 } |
|---|
| 1539 | rect 96 170 192 15 |
|---|
| 1540 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1541 | textalignx 100 |
|---|
| 1542 | textaligny 12 |
|---|
| 1543 | textscale .25 |
|---|
| 1544 | forecolor 1 1 1 1 |
|---|
| 1545 | visible 0 |
|---|
| 1546 | action |
|---|
| 1547 | { |
|---|
| 1548 | play "sound/misc/menu1.wav"; |
|---|
| 1549 | uiScript glCustom |
|---|
| 1550 | } |
|---|
| 1551 | } |
|---|
| 1552 | |
|---|
| 1553 | itemDef |
|---|
| 1554 | { |
|---|
| 1555 | name ghardware |
|---|
| 1556 | group optionsGrp |
|---|
| 1557 | type ITEM_TYPE_MULTI |
|---|
| 1558 | text "Texture Quality:" |
|---|
| 1559 | cvar "r_texturebits" |
|---|
| 1560 | cvarFloatList { "Default" 0 "16 bit" 16 "32 bit" 32 } |
|---|
| 1561 | rect 96 185 192 15 |
|---|
| 1562 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1563 | textalignx 100 |
|---|
| 1564 | textaligny 12 |
|---|
| 1565 | textscale .25 |
|---|
| 1566 | forecolor 1 1 1 1 |
|---|
| 1567 | visible 0 |
|---|
| 1568 | action |
|---|
| 1569 | { |
|---|
| 1570 | play "sound/misc/menu1.wav"; |
|---|
| 1571 | } |
|---|
| 1572 | } |
|---|
| 1573 | |
|---|
| 1574 | itemDef |
|---|
| 1575 | { |
|---|
| 1576 | name ghardware |
|---|
| 1577 | group optionsGrp |
|---|
| 1578 | type ITEM_TYPE_MULTI |
|---|
| 1579 | text "Texture Filter:" |
|---|
| 1580 | cvar "r_texturemode" |
|---|
| 1581 | cvarStrList { "Bilinear", "GL_LINEAR_MIPMAP_NEAREST", "Trilinear", "GL_LINEAR_MIPMAP_LINEAR" } |
|---|
| 1582 | rect 96 200 192 15 |
|---|
| 1583 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1584 | textalignx 100 |
|---|
| 1585 | textaligny 12 |
|---|
| 1586 | textscale .25 |
|---|
| 1587 | forecolor 1 1 1 1 |
|---|
| 1588 | visible 0 |
|---|
| 1589 | action |
|---|
| 1590 | { |
|---|
| 1591 | play "sound/misc/menu1.wav"; |
|---|
| 1592 | uiScript glCustom |
|---|
| 1593 | } |
|---|
| 1594 | } |
|---|
| 1595 | |
|---|
| 1596 | itemDef |
|---|
| 1597 | { |
|---|
| 1598 | name ghardware |
|---|
| 1599 | group optionsGrp |
|---|
| 1600 | type ITEM_TYPE_YESNO |
|---|
| 1601 | text "Anisotropic Filtering:" |
|---|
| 1602 | cvar "r_ext_texture_filter_anisotropic" |
|---|
| 1603 | rect 96 215 192 15 |
|---|
| 1604 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1605 | textalignx 100 |
|---|
| 1606 | textaligny 12 |
|---|
| 1607 | textscale .25 |
|---|
| 1608 | forecolor 1 1 1 1 |
|---|
| 1609 | visible 0 |
|---|
| 1610 | action |
|---|
| 1611 | { |
|---|
| 1612 | play "sound/misc/menu1.wav"; |
|---|
| 1613 | uiScript glCustom |
|---|
| 1614 | } |
|---|
| 1615 | } |
|---|
| 1616 | |
|---|
| 1617 | itemDef |
|---|
| 1618 | { |
|---|
| 1619 | name ghardware |
|---|
| 1620 | group optionsGrp |
|---|
| 1621 | type ITEM_TYPE_YESNO |
|---|
| 1622 | text "Compress Textures:" |
|---|
| 1623 | cvar "r_ext_compressed_textures " |
|---|
| 1624 | rect 96 230 192 15 |
|---|
| 1625 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1626 | textalignx 100 |
|---|
| 1627 | textaligny 12 |
|---|
| 1628 | textscale .25 |
|---|
| 1629 | forecolor 1 1 1 1 |
|---|
| 1630 | visible 0 |
|---|
| 1631 | action |
|---|
| 1632 | { |
|---|
| 1633 | play "sound/misc/menu1.wav"; |
|---|
| 1634 | uiScript glCustom |
|---|
| 1635 | } |
|---|
| 1636 | } |
|---|
| 1637 | |
|---|
| 1638 | itemDef |
|---|
| 1639 | { |
|---|
| 1640 | name ghardware |
|---|
| 1641 | group optionsGrp |
|---|
| 1642 | type ITEM_TYPE_BUTTON |
|---|
| 1643 | text "APPLY" |
|---|
| 1644 | textscale .25 |
|---|
| 1645 | style WINDOW_STYLE_EMPTY |
|---|
| 1646 | rect 144 245 75 20 |
|---|
| 1647 | textalign ITEM_ALIGN_CENTER |
|---|
| 1648 | textalignx 37 |
|---|
| 1649 | textaligny 15 |
|---|
| 1650 | forecolor 1 1 1 1 |
|---|
| 1651 | visible 0 |
|---|
| 1652 | action |
|---|
| 1653 | { |
|---|
| 1654 | play "sound/misc/menu1.wav"; |
|---|
| 1655 | exec "vid_restart" |
|---|
| 1656 | } |
|---|
| 1657 | } |
|---|
| 1658 | |
|---|
| 1659 | //////// GFX SOFTWARE |
|---|
| 1660 | |
|---|
| 1661 | itemDef |
|---|
| 1662 | { |
|---|
| 1663 | name system |
|---|
| 1664 | text "GFX Software" |
|---|
| 1665 | group optionsGrp |
|---|
| 1666 | style WINDOW_STYLE_EMPTY |
|---|
| 1667 | rect 20 80 64 20 |
|---|
| 1668 | type ITEM_TYPE_BUTTON |
|---|
| 1669 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1670 | textalignx 64 |
|---|
| 1671 | textaligny 16 |
|---|
| 1672 | textscale .25 |
|---|
| 1673 | forecolor 1 1 1 1 |
|---|
| 1674 | visible 0 |
|---|
| 1675 | action |
|---|
| 1676 | { |
|---|
| 1677 | play "sound/misc/menu1.wav"; |
|---|
| 1678 | hide optionsGrp; |
|---|
| 1679 | show system; |
|---|
| 1680 | show gsoftware |
|---|
| 1681 | } |
|---|
| 1682 | } |
|---|
| 1683 | |
|---|
| 1684 | itemDef |
|---|
| 1685 | { |
|---|
| 1686 | name gsoftware |
|---|
| 1687 | group optionsGrp |
|---|
| 1688 | type ITEM_TYPE_SLIDER |
|---|
| 1689 | text "Brightness:" |
|---|
| 1690 | cvarfloat "r_gamma" 1 .5 2 |
|---|
| 1691 | rect 96 60 192 20 |
|---|
| 1692 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1693 | textalignx 80 |
|---|
| 1694 | textaligny 17 |
|---|
| 1695 | textscale .25 |
|---|
| 1696 | forecolor 1 1 1 1 |
|---|
| 1697 | visible 0 |
|---|
| 1698 | } |
|---|
| 1699 | |
|---|
| 1700 | itemDef |
|---|
| 1701 | { |
|---|
| 1702 | name gsoftware |
|---|
| 1703 | group optionsGrp |
|---|
| 1704 | type ITEM_TYPE_SLIDER |
|---|
| 1705 | text "Screen Size:" |
|---|
| 1706 | cvarfloat "cg_viewsize" 100 30 100 |
|---|
| 1707 | //cvarFloatList { } |
|---|
| 1708 | rect 96 80 192 20 |
|---|
| 1709 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1710 | textalignx 80 |
|---|
| 1711 | textaligny 17 |
|---|
| 1712 | textscale .25 |
|---|
| 1713 | forecolor 1 1 1 1 |
|---|
| 1714 | visible 0 |
|---|
| 1715 | } |
|---|
| 1716 | |
|---|
| 1717 | itemDef |
|---|
| 1718 | { |
|---|
| 1719 | name gsoftware |
|---|
| 1720 | group optionsGrp |
|---|
| 1721 | type ITEM_TYPE_YESNO |
|---|
| 1722 | text "Simple Items:" |
|---|
| 1723 | cvar "cg_simpleItems" |
|---|
| 1724 | rect 96 100 192 15 |
|---|
| 1725 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1726 | textalignx 100 |
|---|
| 1727 | textaligny 12 |
|---|
| 1728 | textscale .25 |
|---|
| 1729 | forecolor 1 1 1 1 |
|---|
| 1730 | visible 1 |
|---|
| 1731 | action |
|---|
| 1732 | { |
|---|
| 1733 | play "sound/misc/menu1.wav"; |
|---|
| 1734 | } |
|---|
| 1735 | } |
|---|
| 1736 | |
|---|
| 1737 | itemDef |
|---|
| 1738 | { |
|---|
| 1739 | name gsoftware |
|---|
| 1740 | group optionsGrp |
|---|
| 1741 | type ITEM_TYPE_YESNO |
|---|
| 1742 | text "Marks On Walls:" |
|---|
| 1743 | cvar "cg_marks" |
|---|
| 1744 | rect 96 115 192 15 |
|---|
| 1745 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1746 | textalignx 100 |
|---|
| 1747 | textaligny 12 |
|---|
| 1748 | textscale .25 |
|---|
| 1749 | forecolor 1 1 1 1 |
|---|
| 1750 | visible 1 |
|---|
| 1751 | action |
|---|
| 1752 | { |
|---|
| 1753 | play "sound/misc/menu1.wav"; |
|---|
| 1754 | } |
|---|
| 1755 | } |
|---|
| 1756 | |
|---|
| 1757 | itemDef |
|---|
| 1758 | { |
|---|
| 1759 | name gsoftware |
|---|
| 1760 | group optionsGrp |
|---|
| 1761 | type ITEM_TYPE_YESNO |
|---|
| 1762 | text "Dynamic Lights:" |
|---|
| 1763 | cvar "r_dynamiclight" |
|---|
| 1764 | rect 96 130 192 15 |
|---|
| 1765 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1766 | textalignx 100 |
|---|
| 1767 | textaligny 12 |
|---|
| 1768 | textscale .25 |
|---|
| 1769 | forecolor 1 1 1 1 |
|---|
| 1770 | visible 1 |
|---|
| 1771 | action |
|---|
| 1772 | { |
|---|
| 1773 | play "sound/misc/menu1.wav"; |
|---|
| 1774 | } |
|---|
| 1775 | } |
|---|
| 1776 | |
|---|
| 1777 | itemDef |
|---|
| 1778 | { |
|---|
| 1779 | name gsoftware |
|---|
| 1780 | group optionsGrp |
|---|
| 1781 | type ITEM_TYPE_YESNO |
|---|
| 1782 | text "Draw Gun:" |
|---|
| 1783 | cvar "cg_drawGun" |
|---|
| 1784 | rect 96 145 192 15 |
|---|
| 1785 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1786 | textalignx 100 |
|---|
| 1787 | textaligny 12 |
|---|
| 1788 | textscale .25 |
|---|
| 1789 | forecolor 1 1 1 1 |
|---|
| 1790 | visible 1 |
|---|
| 1791 | action |
|---|
| 1792 | { |
|---|
| 1793 | play "sound/misc/menu1.wav"; |
|---|
| 1794 | } |
|---|
| 1795 | } |
|---|
| 1796 | |
|---|
| 1797 | itemDef |
|---|
| 1798 | { |
|---|
| 1799 | name gsoftware |
|---|
| 1800 | group optionsGrp |
|---|
| 1801 | type ITEM_TYPE_YESNO |
|---|
| 1802 | text "Low Quality Sky:" |
|---|
| 1803 | cvar "r_fastsky" |
|---|
| 1804 | rect 96 160 192 15 |
|---|
| 1805 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1806 | textalignx 100 |
|---|
| 1807 | textaligny 12 |
|---|
| 1808 | textscale .25 |
|---|
| 1809 | forecolor 1 1 1 1 |
|---|
| 1810 | visible 1 |
|---|
| 1811 | action |
|---|
| 1812 | { |
|---|
| 1813 | play "sound/misc/menu1.wav"; |
|---|
| 1814 | } |
|---|
| 1815 | } |
|---|
| 1816 | |
|---|
| 1817 | itemDef |
|---|
| 1818 | { |
|---|
| 1819 | name gsoftware |
|---|
| 1820 | group optionsGrp |
|---|
| 1821 | type ITEM_TYPE_YESNO |
|---|
| 1822 | text "Sync Every Frame:" |
|---|
| 1823 | cvar "weapon 5" |
|---|
| 1824 | rect 96 175 192 15 |
|---|
| 1825 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1826 | textalignx 100 |
|---|
| 1827 | textaligny 12 |
|---|
| 1828 | textscale .25 |
|---|
| 1829 | forecolor 1 1 1 1 |
|---|
| 1830 | visible 1 |
|---|
| 1831 | action |
|---|
| 1832 | { |
|---|
| 1833 | play "sound/misc/menu1.wav"; |
|---|
| 1834 | } |
|---|
| 1835 | } |
|---|
| 1836 | |
|---|
| 1837 | itemDef |
|---|
| 1838 | { |
|---|
| 1839 | name gsoftware |
|---|
| 1840 | group optionsGrp |
|---|
| 1841 | type ITEM_TYPE_YESNO |
|---|
| 1842 | text "Show Time:" |
|---|
| 1843 | cvar "cg_drawTimer" |
|---|
| 1844 | rect 96 190 192 15 |
|---|
| 1845 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1846 | textalignx 100 |
|---|
| 1847 | textaligny 12 |
|---|
| 1848 | textscale .25 |
|---|
| 1849 | forecolor 1 1 1 1 |
|---|
| 1850 | visible 1 |
|---|
| 1851 | action |
|---|
| 1852 | { |
|---|
| 1853 | play "sound/misc/menu1.wav"; |
|---|
| 1854 | } |
|---|
| 1855 | } |
|---|
| 1856 | |
|---|
| 1857 | itemDef |
|---|
| 1858 | { |
|---|
| 1859 | name gsoftware |
|---|
| 1860 | group optionsGrp |
|---|
| 1861 | type ITEM_TYPE_YESNO |
|---|
| 1862 | text "In Game Videos:" |
|---|
| 1863 | cvar "r_inGameVideo" |
|---|
| 1864 | rect 96 205 192 15 |
|---|
| 1865 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1866 | textalignx 100 |
|---|
| 1867 | textaligny 12 |
|---|
| 1868 | textscale .25 |
|---|
| 1869 | forecolor 1 1 1 1 |
|---|
| 1870 | visible 1 |
|---|
| 1871 | action |
|---|
| 1872 | { |
|---|
| 1873 | play "sound/misc/menu1.wav"; |
|---|
| 1874 | } |
|---|
| 1875 | } |
|---|
| 1876 | |
|---|
| 1877 | itemDef |
|---|
| 1878 | { |
|---|
| 1879 | name gsoftware |
|---|
| 1880 | group optionsGrp |
|---|
| 1881 | type ITEM_TYPE_YESNO |
|---|
| 1882 | text "Depth Sort Particles:" |
|---|
| 1883 | cvar "cg_depthSortParticles" |
|---|
| 1884 | rect 96 220 192 15 |
|---|
| 1885 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1886 | textalignx 100 |
|---|
| 1887 | textaligny 12 |
|---|
| 1888 | textscale .25 |
|---|
| 1889 | forecolor 1 1 1 1 |
|---|
| 1890 | visible 1 |
|---|
| 1891 | action |
|---|
| 1892 | { |
|---|
| 1893 | play "sound/misc/menu1.wav"; |
|---|
| 1894 | } |
|---|
| 1895 | } |
|---|
| 1896 | |
|---|
| 1897 | itemDef |
|---|
| 1898 | { |
|---|
| 1899 | name gsoftware |
|---|
| 1900 | group optionsGrp |
|---|
| 1901 | type ITEM_TYPE_MULTI |
|---|
| 1902 | text "Particle Physics:" |
|---|
| 1903 | cvar "cg_bounceParticles" |
|---|
| 1904 | cvarFloatList { "Low Quality" 0 "High Quality" 1 } |
|---|
| 1905 | rect 96 235 192 15 |
|---|
| 1906 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1907 | textalignx 100 |
|---|
| 1908 | textaligny 12 |
|---|
| 1909 | textscale .25 |
|---|
| 1910 | forecolor 1 1 1 1 |
|---|
| 1911 | visible 1 |
|---|
| 1912 | action |
|---|
| 1913 | { |
|---|
| 1914 | play "sound/misc/menu1.wav"; |
|---|
| 1915 | } |
|---|
| 1916 | } |
|---|
| 1917 | |
|---|
| 1918 | itemDef |
|---|
| 1919 | { |
|---|
| 1920 | name gsoftware |
|---|
| 1921 | group optionsGrp |
|---|
| 1922 | type ITEM_TYPE_MULTI |
|---|
| 1923 | text "Light Flares:" |
|---|
| 1924 | cvar "cg_lightFlare" |
|---|
| 1925 | cvarFloatList { "Off" 0 "No Fade" 1 "Timed Fade" 2 "Real Fade" 3 } |
|---|
| 1926 | rect 96 250 192 15 |
|---|
| 1927 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1928 | textalignx 100 |
|---|
| 1929 | textaligny 12 |
|---|
| 1930 | textscale .25 |
|---|
| 1931 | forecolor 1 1 1 1 |
|---|
| 1932 | visible 1 |
|---|
| 1933 | action |
|---|
| 1934 | { |
|---|
| 1935 | play "sound/misc/menu1.wav"; |
|---|
| 1936 | } |
|---|
| 1937 | } |
|---|
| 1938 | |
|---|
| 1939 | //////// GL INFO |
|---|
| 1940 | |
|---|
| 1941 | itemDef |
|---|
| 1942 | { |
|---|
| 1943 | name system |
|---|
| 1944 | text "GL Info" |
|---|
| 1945 | group optionsGrp |
|---|
| 1946 | style WINDOW_STYLE_EMPTY |
|---|
| 1947 | rect 20 100 64 20 |
|---|
| 1948 | type ITEM_TYPE_BUTTON |
|---|
| 1949 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1950 | textalignx 64 |
|---|
| 1951 | textaligny 16 |
|---|
| 1952 | textscale .25 |
|---|
| 1953 | forecolor 1 1 1 1 |
|---|
| 1954 | visible 0 |
|---|
| 1955 | action |
|---|
| 1956 | { |
|---|
| 1957 | play "sound/misc/menu1.wav"; |
|---|
| 1958 | hide optionsGrp; |
|---|
| 1959 | show system; |
|---|
| 1960 | show glinfo |
|---|
| 1961 | } |
|---|
| 1962 | } |
|---|
| 1963 | |
|---|
| 1964 | itemDef |
|---|
| 1965 | { |
|---|
| 1966 | name glinfo |
|---|
| 1967 | group optionsGrp |
|---|
| 1968 | rect 104 35 230 230 |
|---|
| 1969 | ownerdraw UI_GLINFO |
|---|
| 1970 | textalign 1 |
|---|
| 1971 | textscale .15 |
|---|
| 1972 | textalignx 0 |
|---|
| 1973 | textaligny 17 |
|---|
| 1974 | forecolor 1 1 1 1 |
|---|
| 1975 | visible 0 |
|---|
| 1976 | decoration |
|---|
| 1977 | } |
|---|
| 1978 | |
|---|
| 1979 | //////// NET & SOUND |
|---|
| 1980 | |
|---|
| 1981 | itemDef |
|---|
| 1982 | { |
|---|
| 1983 | name system |
|---|
| 1984 | text "Net & Sound" |
|---|
| 1985 | group optionsGrp |
|---|
| 1986 | style WINDOW_STYLE_EMPTY |
|---|
| 1987 | rect 20 120 64 20 |
|---|
| 1988 | type ITEM_TYPE_BUTTON |
|---|
| 1989 | textalign ITEM_ALIGN_RIGHT |
|---|
| 1990 | textalignx 64 |
|---|
| 1991 | textaligny 16 |
|---|
| 1992 | textscale .25 |
|---|
| 1993 | forecolor 1 1 1 1 |
|---|
| 1994 | visible 0 |
|---|
| 1995 | action |
|---|
| 1996 | { |
|---|
| 1997 | play "sound/misc/menu1.wav"; |
|---|
| 1998 | hide optionsGrp; |
|---|
| 1999 | show system; |
|---|
| 2000 | show netsound |
|---|
| 2001 | } |
|---|
| 2002 | } |
|---|
| 2003 | |
|---|
| 2004 | itemDef |
|---|
| 2005 | { |
|---|
| 2006 | name netsound |
|---|
| 2007 | group optionsGrp |
|---|
| 2008 | style 1 |
|---|
| 2009 | text "Sound" |
|---|
| 2010 | rect 96 50 192 20 |
|---|
| 2011 | textalign ITEM_ALIGN_CENTER |
|---|
| 2012 | textalignx 80 |
|---|
| 2013 | textaligny 17 |
|---|
| 2014 | textscale .25 |
|---|
| 2015 | forecolor 1 1 1 1 |
|---|
| 2016 | visible 0 |
|---|
| 2017 | decoration |
|---|
| 2018 | action |
|---|
| 2019 | { |
|---|
| 2020 | play "sound/misc/menu1.wav"; |
|---|
| 2021 | } |
|---|
| 2022 | } |
|---|
| 2023 | |
|---|
| 2024 | itemDef |
|---|
| 2025 | { |
|---|
| 2026 | name netsound |
|---|
| 2027 | group optionsGrp |
|---|
| 2028 | type ITEM_TYPE_SLIDER |
|---|
| 2029 | text "Effects Volume:" |
|---|
| 2030 | cvarfloat "s_volume" 0.7 0 1 |
|---|
| 2031 | rect 96 70 192 20 |
|---|
| 2032 | textalign ITEM_ALIGN_RIGHT |
|---|
| 2033 | textalignx 90 |
|---|
| 2034 | textaligny 17 |
|---|
| 2035 | textscale .25 |
|---|
| 2036 | forecolor 1 1 1 1 |
|---|
| 2037 | visible 0 |
|---|
| 2038 | } |
|---|
| 2039 | |
|---|
| 2040 | itemDef |
|---|
| 2041 | { |
|---|
| 2042 | name netsound |
|---|
| 2043 | group optionsGrp |
|---|
| 2044 | type ITEM_TYPE_SLIDER |
|---|
| 2045 | text "Music Volume:" |
|---|
| 2046 | cvarfloat "s_musicvolume" 0.25 0 1 |
|---|
| 2047 | rect 96 90 192 20 |
|---|
| 2048 | textalign ITEM_ALIGN_RIGHT |
|---|
| 2049 | textalignx 90 |
|---|
| 2050 | textaligny 17 |
|---|
| 2051 | textscale .25 |
|---|
| 2052 | forecolor 1 1 1 1 |
|---|
| 2053 | visible 0 |
|---|
| 2054 | } |
|---|
| 2055 | |
|---|
| 2056 | itemDef |
|---|
| 2057 | { |
|---|
| 2058 | name netsound |
|---|
| 2059 | group optionsGrp |
|---|
| 2060 | type ITEM_TYPE_YESNO |
|---|
| 2061 | text "OpenAL:" |
|---|
| 2062 | cvar "s_useOpenAL" |
|---|
| 2063 | rect 96 120 192 15 |
|---|
| 2064 | textalign ITEM_ALIGN_RIGHT |
|---|
| 2065 | textalignx 100 |
|---|
| 2066 | textaligny 12 |
|---|
| 2067 | textscale .25 |
|---|
| 2068 | forecolor 1 1 1 1 |
|---|
| 2069 | visible 0 |
|---|
| 2070 | action |
|---|
| 2071 | { |
|---|
| 2072 | play "sound/misc/menu1.wav"; |
|---|
| 2073 | } |
|---|
| 2074 | } |
|---|
| 2075 | |
|---|
| 2076 | itemDef |
|---|
| 2077 | { |
|---|
| 2078 | name netsound |
|---|
| 2079 | group optionsGrp |
|---|
| 2080 | type ITEM_TYPE_MULTI |
|---|
| 2081 | text "Sound Quality:" |
|---|
| 2082 | cvar "s_khz" |
|---|
| 2083 | cvarFloatList { "44 khz (very high)" 44 "22 khz (high)" 22 "11 khz (low)" 11 } |
|---|
| 2084 | rect 96 135 192 15 |
|---|
| 2085 | textalign ITEM_ALIGN_RIGHT |
|---|
| 2086 | textalignx 100 |
|---|
| 2087 | textaligny 12 |
|---|
| 2088 | textscale .25 |
|---|
| 2089 | forecolor 1 1 1 1 |
|---|
| 2090 | visible 0 |
|---|
| 2091 | action |
|---|
| 2092 | { |
|---|
| 2093 | play "sound/misc/menu1.wav"; |
|---|
| 2094 | } |
|---|
| 2095 | } |
|---|
| 2096 | |
|---|
| 2097 | itemDef |
|---|
| 2098 | { |
|---|
| 2099 | name netsound |
|---|
| 2100 | group optionsGrp |
|---|
| 2101 | type ITEM_TYPE_YESNO |
|---|
| 2102 | text "Doppler Sound:" |
|---|
| 2103 | cvar "s_doppler" |
|---|
| 2104 | rect 96 150 192 15 |
|---|
| 2105 | textalign ITEM_ALIGN_RIGHT |
|---|
| 2106 | textalignx 100 |
|---|
| 2107 | textaligny 12 |
|---|
| 2108 | textscale .25 |
|---|
| 2109 | forecolor 1 1 1 1 |
|---|
| 2110 | visible 0 |
|---|
| 2111 | action |
|---|
| 2112 | { |
|---|
| 2113 | play "sound/misc/menu1.wav"; |
|---|
| 2114 | } |
|---|
| 2115 | } |
|---|
| 2116 | |
|---|
| 2117 | itemDef |
|---|
| 2118 | { |
|---|
| 2119 | name netsound |
|---|
| 2120 | group optionsGrp |
|---|
| 2121 | type ITEM_TYPE_BUTTON |
|---|
| 2122 | text "APPLY" |
|---|
| 2123 | textscale .25 |
|---|
| 2124 | style WINDOW_STYLE_EMPTY |
|---|
| 2125 | rect 155 170 75 20 |
|---|
| 2126 | textalign ITEM_ALIGN_CENTER |
|---|
| 2127 | textalignx 37 |
|---|
| 2128 | textaligny 15 |
|---|
| 2129 | forecolor 1 1 1 1 |
|---|
| 2130 | visible 0 |
|---|
| 2131 | action |
|---|
| 2132 | { |
|---|
| 2133 | play "sound/misc/menu1.wav"; |
|---|
| 2134 | exec "snd_restart" |
|---|
| 2135 | } |
|---|
| 2136 | } |
|---|
| 2137 | |
|---|
| 2138 | |
|---|
| 2139 | itemDef |
|---|
| 2140 | { |
|---|
| 2141 | name netsound |
|---|
| 2142 | group optionsGrp |
|---|
| 2143 | style 1 |
|---|
| 2144 | text "Network" |
|---|
| 2145 | rect 96 200 192 20 |
|---|
| 2146 | textalign ITEM_ALIGN_CENTER |
|---|
| 2147 | textalignx 80 |
|---|
| 2148 | textaligny 17 |
|---|
| 2149 | textscale .25 |
|---|
| 2150 | forecolor 1 1 1 1 |
|---|
| 2151 | visible 0 |
|---|
| 2152 | decoration |
|---|
| 2153 | action |
|---|
| 2154 | { |
|---|
| 2155 | play "sound/misc/menu1.wav"; |
|---|
| 2156 | } |
|---|
| 2157 | } |
|---|
| 2158 | |
|---|
| 2159 | itemDef |
|---|
| 2160 | { |
|---|
| 2161 | name netsound |
|---|
| 2162 | group optionsGrp |
|---|
| 2163 | type ITEM_TYPE_MULTI |
|---|
| 2164 | text "Net Data Rate:" |
|---|
| 2165 | cvar "rate" |
|---|
| 2166 | cvarFloatList { "<=28.8k" 2500 "33.6k" 3000 "56k" 4000 "ISDN" 5000 "LAN/CABLE/xDSl" 25000 } |
|---|
| 2167 | rect 96 220 192 20 |
|---|
| 2168 | textalign ITEM_ALIGN_RIGHT |
|---|
| 2169 | textalignx 100 |
|---|
| 2170 | textaligny 17 |
|---|
| 2171 | textscale .25 |
|---|
| 2172 | forecolor 1 1 1 1 |
|---|
| 2173 | visible 0 |
|---|
| 2174 | action |
|---|
| 2175 | { |
|---|
| 2176 | play "sound/misc/menu1.wav"; |
|---|
| 2177 | } |
|---|
| 2178 | } |
|---|
| 2179 | } |
|---|
| 2180 | } |
|---|