| 1 |
/* |
| 2 |
=========================================================================== |
| 3 |
Copyright (C) 2007-2008 Open Arena Team |
| 4 |
|
| 5 |
This file is part of Open Arena. |
| 6 |
|
| 7 |
Open Arena is free software; you can redistribute it |
| 8 |
and/or modify it under the terms of the GNU General Public License as |
| 9 |
published by the Free Software Foundation; either version 2 of the License, |
| 10 |
or (at your option) any later version. |
| 11 |
|
| 12 |
Open Arena is distributed in the hope that it will be |
| 13 |
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
GNU General Public License for more details. |
| 16 |
|
| 17 |
You should have received a copy of the GNU General Public License |
| 18 |
along with Open Arena; if not, write to the Free Software |
| 19 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 |
=========================================================================== |
| 21 |
*/ |
| 22 |
|
| 23 |
#include "ui/menudef.h" |
| 24 |
|
| 25 |
// Note that the vertical position of the bindings are increment by 12px |
| 26 |
// so we're consistent and even and such UNLIKE THOSE OTHER GUYS WE WON'T |
| 27 |
// NAME AT ALL BUT NOT EVEN A CLUE ON WHO WE WERE REFERRING TO YOU FIGURE |
| 28 |
// IT OUT ARGH |
| 29 |
{ |
| 30 |
menuDef { |
| 31 |
name "controls" |
| 32 |
visible 0 |
| 33 |
fullscreen 1 |
| 34 |
background MP_BACKGROUND |
| 35 |
focusColor MP_FOCUSCOLOR |
| 36 |
rect 0 0 640 480 |
| 37 |
outOfBoundsClick |
| 38 |
style 0 |
| 39 |
onOpen { } |
| 40 |
onEsc { |
| 41 |
close controls; |
| 42 |
open configuration; |
| 43 |
} |
| 44 |
|
| 45 |
itemDef { |
| 46 |
name titleness |
| 47 |
text "Controls" |
| 48 |
style 0 |
| 49 |
type 0 |
| 50 |
textstyle 6 |
| 51 |
textscale 1 |
| 52 |
rect 0 65 1 1 |
| 53 |
textalign 0 |
| 54 |
textalignx 48 |
| 55 |
textaligny 40 |
| 56 |
forecolor MP_TITLECOLOR |
| 57 |
visible 1 |
| 58 |
} |
| 59 |
|
| 60 |
// The Bar of Buttons |
| 61 |
|
| 62 |
itemDef { |
| 63 |
name button2 |
| 64 |
text "Done" |
| 65 |
style 0 |
| 66 |
type 1 |
| 67 |
textstyle 3 |
| 68 |
textscale 0.3 |
| 69 |
rect 52 177 163 34 |
| 70 |
textalign 0 |
| 71 |
textalignx 5 |
| 72 |
textaligny 20 |
| 73 |
forecolor MP_TEXTCOLOR |
| 74 |
visible 1 |
| 75 |
action |
| 76 |
{ |
| 77 |
play "ui/assets/select.wav"; |
| 78 |
open configuration; |
| 79 |
close controls; |
| 80 |
} |
| 81 |
} |
| 82 |
|
| 83 |
// Movement Group |
| 84 |
|
| 85 |
itemDef { |
| 86 |
name looking |
| 87 |
style 0 |
| 88 |
group movements |
| 89 |
text "Aiming" |
| 90 |
textstyle 6 |
| 91 |
textscale .25 |
| 92 |
rect 215 312 116 12 |
| 93 |
textalign 0 |
| 94 |
textalignx 0 |
| 95 |
textaligny 10 |
| 96 |
forecolor MP_TEXTCOLOR |
| 97 |
visible 1 |
| 98 |
} |
| 99 |
|
| 100 |
|
| 101 |
itemDef { |
| 102 |
name looking |
| 103 |
style 0 |
| 104 |
group movements |
| 105 |
text "Mouse Sensitivity" |
| 106 |
textstyle 6 |
| 107 |
textscale .20 |
| 108 |
rect 215 332 116 12 |
| 109 |
textalign 0 |
| 110 |
textalignx 0 |
| 111 |
textaligny 10 |
| 112 |
forecolor MP_TEXTCOLOR |
| 113 |
visible 1 |
| 114 |
} |
| 115 |
itemDef { |
| 116 |
name aiman |
| 117 |
style 0 |
| 118 |
type ITEM_TYPE_SLIDER |
| 119 |
text "" |
| 120 |
cvarfloat "sensitivity" 3 0 20 |
| 121 |
background "ui/assets/scrollbar" |
| 122 |
textstyle 6 |
| 123 |
textscale .24 |
| 124 |
rect 215 347 150 24 |
| 125 |
textalign 0 |
| 126 |
textalignx 6 |
| 127 |
textaligny 18 |
| 128 |
forecolor MP_TEXTCOLOR |
| 129 |
backcolor 0.0 0.0 0.0 1 |
| 130 |
outlinecolor 1 0.5 0.01 0.3 |
| 131 |
visible 1 |
| 132 |
} |
| 133 |
|
| 134 |
itemDef { |
| 135 |
name looking |
| 136 |
style 0 |
| 137 |
group movements |
| 138 |
text "Turn Left: " |
| 139 |
type ITEM_TYPE_BIND |
| 140 |
cvar "+left" |
| 141 |
textstyle 6 |
| 142 |
textscale .20 |
| 143 |
rect 215 376 116 12 |
| 144 |
textalign 0 |
| 145 |
textalignx 0 |
| 146 |
textaligny 10 |
| 147 |
forecolor MP_TEXTCOLOR |
| 148 |
visible 1 |
| 149 |
} |
| 150 |
|
| 151 |
itemDef { |
| 152 |
name looking |
| 153 |
style 0 |
| 154 |
group movements |
| 155 |
text "Turn Right: " |
| 156 |
type ITEM_TYPE_BIND |
| 157 |
cvar "+right" |
| 158 |
textstyle 6 |
| 159 |
textscale .20 |
| 160 |
rect 215 388 116 12 |
| 161 |
textalign 0 |
| 162 |
textalignx 0 |
| 163 |
textaligny 10 |
| 164 |
forecolor MP_TEXTCOLOR |
| 165 |
visible 1 |
| 166 |
} |
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
itemDef { |
| 171 |
name looking |
| 172 |
style 0 |
| 173 |
group movements |
| 174 |
text "Look Up: " |
| 175 |
type ITEM_TYPE_BIND |
| 176 |
cvar "+lookup" |
| 177 |
textstyle 6 |
| 178 |
textscale .20 |
| 179 |
rect 215 400 116 12 |
| 180 |
textalign 0 |
| 181 |
textalignx 0 |
| 182 |
textaligny 10 |
| 183 |
forecolor MP_TEXTCOLOR |
| 184 |
visible 1 |
| 185 |
} |
| 186 |
|
| 187 |
|
| 188 |
itemDef { |
| 189 |
name looking |
| 190 |
style 0 |
| 191 |
group movements |
| 192 |
text "Look Down: " |
| 193 |
type ITEM_TYPE_BIND |
| 194 |
cvar "+lookdown" |
| 195 |
textstyle 6 |
| 196 |
textscale .20 |
| 197 |
rect 215 412 116 12 |
| 198 |
textalign 0 |
| 199 |
textalignx 0 |
| 200 |
textaligny 10 |
| 201 |
forecolor MP_TEXTCOLOR |
| 202 |
visible 1 |
| 203 |
} |
| 204 |
|
| 205 |
itemDef { |
| 206 |
name looking |
| 207 |
style 0 |
| 208 |
group movements |
| 209 |
text "Center View: " |
| 210 |
type ITEM_TYPE_BIND |
| 211 |
cvar "centerview" |
| 212 |
textstyle 6 |
| 213 |
textscale .20 |
| 214 |
rect 215 424 116 12 |
| 215 |
textalign 0 |
| 216 |
textalignx 0 |
| 217 |
textaligny 10 |
| 218 |
forecolor MP_TEXTCOLOR |
| 219 |
visible 1 |
| 220 |
} |
| 221 |
|
| 222 |
itemDef { |
| 223 |
name looking |
| 224 |
style 0 |
| 225 |
group movements |
| 226 |
text "Zoom: " |
| 227 |
type ITEM_TYPE_BIND |
| 228 |
cvar "+zoom" |
| 229 |
textstyle 6 |
| 230 |
textscale .20 |
| 231 |
rect 215 436 116 12 |
| 232 |
textalign 0 |
| 233 |
textalignx 0 |
| 234 |
textaligny 10 |
| 235 |
forecolor MP_TEXTCOLOR |
| 236 |
visible 1 |
| 237 |
} |
| 238 |
|
| 239 |
itemDef { |
| 240 |
name looking |
| 241 |
style 0 |
| 242 |
group movements |
| 243 |
text "Mouse look (hold): " |
| 244 |
type ITEM_TYPE_BIND |
| 245 |
cvar "+mlook" |
| 246 |
textstyle 6 |
| 247 |
textscale .20 |
| 248 |
rect 215 448 116 12 |
| 249 |
textalign 0 |
| 250 |
textalignx 0 |
| 251 |
textaligny 10 |
| 252 |
forecolor MP_TEXTCOLOR |
| 253 |
visible 1 |
| 254 |
} |
| 255 |
|
| 256 |
itemDef { |
| 257 |
name looking |
| 258 |
style 0 |
| 259 |
group movements |
| 260 |
text "Free Look: " |
| 261 |
type ITEM_TYPE_YESNO |
| 262 |
cvar "cl_freelook" |
| 263 |
textstyle 6 |
| 264 |
textscale .20 |
| 265 |
rect 215 460 116 12 |
| 266 |
textalign 0 |
| 267 |
textalignx 0 |
| 268 |
textaligny 10 |
| 269 |
forecolor MP_TEXTCOLOR |
| 270 |
visible 1 |
| 271 |
} |
| 272 |
|
| 273 |
// Movement |
| 274 |
|
| 275 |
itemDef { |
| 276 |
name looking |
| 277 |
style 0 |
| 278 |
group movements |
| 279 |
text "Movement" |
| 280 |
textstyle 6 |
| 281 |
textscale .25 |
| 282 |
rect 415 324 116 12 |
| 283 |
textalign 0 |
| 284 |
textalignx 0 |
| 285 |
textaligny 10 |
| 286 |
forecolor MP_TEXTCOLOR |
| 287 |
visible 1 |
| 288 |
} |
| 289 |
|
| 290 |
itemDef { |
| 291 |
name looking |
| 292 |
style 0 |
| 293 |
group movements |
| 294 |
text "Forward: " |
| 295 |
type ITEM_TYPE_BIND |
| 296 |
cvar "+forward" |
| 297 |
textstyle 6 |
| 298 |
textscale .20 |
| 299 |
rect 415 400 116 12 |
| 300 |
textalign 0 |
| 301 |
textalignx 0 |
| 302 |
textaligny 10 |
| 303 |
forecolor MP_TEXTCOLOR |
| 304 |
visible 1 |
| 305 |
} |
| 306 |
|
| 307 |
itemDef { |
| 308 |
name looking |
| 309 |
style 0 |
| 310 |
group movements |
| 311 |
text "Backpedal: " |
| 312 |
type ITEM_TYPE_BIND |
| 313 |
cvar "+back" |
| 314 |
textstyle 6 |
| 315 |
textscale .20 |
| 316 |
rect 415 412 116 12 |
| 317 |
textalign 0 |
| 318 |
textalignx 0 |
| 319 |
textaligny 10 |
| 320 |
forecolor MP_TEXTCOLOR |
| 321 |
visible 1 |
| 322 |
} |
| 323 |
|
| 324 |
itemDef { |
| 325 |
name looking |
| 326 |
style 0 |
| 327 |
group movements |
| 328 |
text "Strafe Left: " |
| 329 |
type ITEM_TYPE_BIND |
| 330 |
cvar "+moveleft" |
| 331 |
textstyle 6 |
| 332 |
textscale .20 |
| 333 |
rect 415 424 116 12 |
| 334 |
textalign 0 |
| 335 |
textalignx 0 |
| 336 |
textaligny 10 |
| 337 |
forecolor MP_TEXTCOLOR |
| 338 |
visible 1 |
| 339 |
} |
| 340 |
|
| 341 |
itemDef { |
| 342 |
name looking |
| 343 |
style 0 |
| 344 |
group movements |
| 345 |
text "Strafe Right: " |
| 346 |
type ITEM_TYPE_BIND |
| 347 |
cvar "+moveright" |
| 348 |
textstyle 6 |
| 349 |
textscale .20 |
| 350 |
rect 415 436 116 12 |
| 351 |
textalign 0 |
| 352 |
textalignx 0 |
| 353 |
textaligny 10 |
| 354 |
forecolor MP_TEXTCOLOR |
| 355 |
visible 1 |
| 356 |
} |
| 357 |
itemDef { |
| 358 |
name looking |
| 359 |
style 0 |
| 360 |
group movements |
| 361 |
text "Jump: " |
| 362 |
type ITEM_TYPE_BIND |
| 363 |
cvar "+moveup" |
| 364 |
textstyle 6 |
| 365 |
textscale .20 |
| 366 |
rect 415 448 116 12 |
| 367 |
textalign 0 |
| 368 |
textalignx 0 |
| 369 |
textaligny 10 |
| 370 |
forecolor MP_TEXTCOLOR |
| 371 |
visible 1 |
| 372 |
} |
| 373 |
|
| 374 |
itemDef { |
| 375 |
name looking |
| 376 |
style 0 |
| 377 |
group movements |
| 378 |
text "Crouch: " |
| 379 |
type ITEM_TYPE_BIND |
| 380 |
cvar "+movedown" |
| 381 |
textstyle 6 |
| 382 |
textscale .20 |
| 383 |
rect 415 460 116 12 |
| 384 |
textalign 0 |
| 385 |
textalignx 0 |
| 386 |
textaligny 10 |
| 387 |
forecolor MP_TEXTCOLOR |
| 388 |
visible 1 |
| 389 |
} |
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
itemDef { |
| 394 |
name looking |
| 395 |
style 0 |
| 396 |
group movements |
| 397 |
text "Strafe: " |
| 398 |
type ITEM_TYPE_BIND |
| 399 |
cvar "+strafe" |
| 400 |
textstyle 6 |
| 401 |
textscale .20 |
| 402 |
rect 415 336 116 12 |
| 403 |
textalign 0 |
| 404 |
textalignx 0 |
| 405 |
textaligny 10 |
| 406 |
forecolor MP_TEXTCOLOR |
| 407 |
visible 1 |
| 408 |
} |
| 409 |
|
| 410 |
|
| 411 |
itemDef { |
| 412 |
name looking |
| 413 |
style 0 |
| 414 |
group movements |
| 415 |
text "Run/Walk : " |
| 416 |
type ITEM_TYPE_BIND |
| 417 |
cvar "+speed" |
| 418 |
textstyle 6 |
| 419 |
textscale .20 |
| 420 |
rect 415 348 116 12 |
| 421 |
textalign 0 |
| 422 |
textalignx 0 |
| 423 |
textaligny 10 |
| 424 |
forecolor MP_TEXTCOLOR |
| 425 |
visible 1 |
| 426 |
} |
| 427 |
|
| 428 |
itemDef { |
| 429 |
name looking |
| 430 |
style 0 |
| 431 |
group movements |
| 432 |
text "Always Run: " |
| 433 |
type ITEM_TYPE_YESNO |
| 434 |
cvar "cl_run" |
| 435 |
textstyle 6 |
| 436 |
textscale .20 |
| 437 |
rect 415 360 116 12 |
| 438 |
textalign 0 |
| 439 |
textalignx 0 |
| 440 |
textaligny 10 |
| 441 |
forecolor MP_TEXTCOLOR |
| 442 |
visible 1 |
| 443 |
} |
| 444 |
|
| 445 |
|
| 446 |
// Weapons |
| 447 |
|
| 448 |
itemDef { |
| 449 |
name weapons |
| 450 |
style 0 |
| 451 |
group weapons |
| 452 |
text "Weapons" |
| 453 |
textstyle 6 |
| 454 |
textscale .25 |
| 455 |
rect 415 112 116 12 |
| 456 |
textalign 0 |
| 457 |
textalignx 0 |
| 458 |
textaligny 10 |
| 459 |
forecolor MP_TEXTCOLOR |
| 460 |
visible 1 |
| 461 |
} |
| 462 |
|
| 463 |
itemDef { |
| 464 |
name weapons |
| 465 |
style 0 |
| 466 |
group weapons |
| 467 |
text "Gauntlet:" |
| 468 |
type ITEM_TYPE_BIND |
| 469 |
cvar "weapon 1" |
| 470 |
textstyle 6 |
| 471 |
textscale .20 |
| 472 |
rect 415 124 116 12 |
| 473 |
textalign 0 |
| 474 |
textalignx 0 |
| 475 |
textaligny 10 |
| 476 |
forecolor MP_TEXTCOLOR |
| 477 |
visible 1 |
| 478 |
} |
| 479 |
|
| 480 |
itemDef { |
| 481 |
name weapons |
| 482 |
style 0 |
| 483 |
group weapons |
| 484 |
text "Machinegun:" |
| 485 |
type ITEM_TYPE_BIND |
| 486 |
cvar "weapon 2" |
| 487 |
textstyle 6 |
| 488 |
textscale .20 |
| 489 |
rect 415 136 116 12 |
| 490 |
textalign 0 |
| 491 |
textalignx 0 |
| 492 |
textaligny 10 |
| 493 |
forecolor MP_TEXTCOLOR |
| 494 |
visible 1 |
| 495 |
} |
| 496 |
|
| 497 |
itemDef { |
| 498 |
name weapons |
| 499 |
style 0 |
| 500 |
group weapons |
| 501 |
text "Shotgun:" |
| 502 |
type ITEM_TYPE_BIND |
| 503 |
cvar "weapon 3" |
| 504 |
textstyle 6 |
| 505 |
textscale .20 |
| 506 |
rect 415 148 116 12 |
| 507 |
textalign 0 |
| 508 |
textalignx 0 |
| 509 |
textaligny 10 |
| 510 |
forecolor MP_TEXTCOLOR |
| 511 |
visible 1 |
| 512 |
} |
| 513 |
|
| 514 |
itemDef { |
| 515 |
name weapons |
| 516 |
style 0 |
| 517 |
group weapons |
| 518 |
text "Grenade Launcher:" |
| 519 |
type ITEM_TYPE_BIND |
| 520 |
cvar "weapon 4" |
| 521 |
textstyle 6 |
| 522 |
textscale .20 |
| 523 |
rect 415 160 116 12 |
| 524 |
textalign 0 |
| 525 |
textalignx 0 |
| 526 |
textaligny 10 |
| 527 |
forecolor MP_TEXTCOLOR |
| 528 |
visible 1 |
| 529 |
} |
| 530 |
|
| 531 |
itemDef { |
| 532 |
name weapons |
| 533 |
style 0 |
| 534 |
group weapons |
| 535 |
text "Rocket Launcher:" |
| 536 |
type ITEM_TYPE_BIND |
| 537 |
cvar "weapon 5" |
| 538 |
textstyle 6 |
| 539 |
textscale .20 |
| 540 |
rect 415 172 116 12 |
| 541 |
textalign 0 |
| 542 |
textalignx 0 |
| 543 |
textaligny 10 |
| 544 |
forecolor MP_TEXTCOLOR |
| 545 |
visible 1 |
| 546 |
} |
| 547 |
|
| 548 |
itemDef { |
| 549 |
name weapons |
| 550 |
style 0 |
| 551 |
group weapons |
| 552 |
text "Lightning Gun:" |
| 553 |
type ITEM_TYPE_BIND |
| 554 |
cvar "weapon 6" |
| 555 |
textstyle 6 |
| 556 |
textscale .20 |
| 557 |
rect 415 184 116 12 |
| 558 |
textalign 0 |
| 559 |
textalignx 0 |
| 560 |
textaligny 10 |
| 561 |
forecolor MP_TEXTCOLOR |
| 562 |
visible 1 |
| 563 |
} |
| 564 |
itemDef { |
| 565 |
name weapons |
| 566 |
style 0 |
| 567 |
group weapons |
| 568 |
text "Rail Gun:" |
| 569 |
type ITEM_TYPE_BIND |
| 570 |
cvar "weapon 7" |
| 571 |
textstyle 6 |
| 572 |
textscale .20 |
| 573 |
rect 415 196 116 12 |
| 574 |
textalign 0 |
| 575 |
textalignx 0 |
| 576 |
textaligny 10 |
| 577 |
forecolor MP_TEXTCOLOR |
| 578 |
visible 1 |
| 579 |
} |
| 580 |
itemDef { |
| 581 |
name weapons |
| 582 |
style 0 |
| 583 |
group weapons |
| 584 |
text "Plasma Gun:" |
| 585 |
type ITEM_TYPE_BIND |
| 586 |
cvar "weapon 8" |
| 587 |
textstyle 6 |
| 588 |
textscale .20 |
| 589 |
rect 415 208 116 12 |
| 590 |
textalign 0 |
| 591 |
textalignx 0 |
| 592 |
textaligny 10 |
| 593 |
forecolor MP_TEXTCOLOR |
| 594 |
visible 1 |
| 595 |
} |
| 596 |
itemDef { |
| 597 |
name weapons |
| 598 |
style 0 |
| 599 |
group weapons |
| 600 |
text "BFG:" |
| 601 |
type ITEM_TYPE_BIND |
| 602 |
cvar "weapon 9" |
| 603 |
textstyle 6 |
| 604 |
textscale .20 |
| 605 |
rect 415 220 116 12 |
| 606 |
textalign 0 |
| 607 |
textalignx 0 |
| 608 |
textaligny 10 |
| 609 |
forecolor MP_TEXTCOLOR |
| 610 |
visible 1 |
| 611 |
} |
| 612 |
|
| 613 |
itemDef { |
| 614 |
name weapons |
| 615 |
style 0 |
| 616 |
group weapons |
| 617 |
text "Nailgun:" |
| 618 |
type ITEM_TYPE_BIND |
| 619 |
cvar "weapon 11" |
| 620 |
textstyle 6 |
| 621 |
textscale .20 |
| 622 |
rect 415 232 116 12 |
| 623 |
textalign 0 |
| 624 |
textalignx 0 |
| 625 |
textaligny 10 |
| 626 |
forecolor MP_TEXTCOLOR |
| 627 |
visible 1 |
| 628 |
} |
| 629 |
itemDef { |
| 630 |
name weapons |
| 631 |
style 0 |
| 632 |
group weapons |
| 633 |
text "Prox Mine:" |
| 634 |
type ITEM_TYPE_BIND |
| 635 |
cvar "weapon 12" |
| 636 |
textstyle 6 |
| 637 |
textscale .20 |
| 638 |
rect 415 244 116 12 |
| 639 |
textalign 0 |
| 640 |
textalignx 0 |
| 641 |
textaligny 10 |
| 642 |
forecolor MP_TEXTCOLOR |
| 643 |
visible 1 |
| 644 |
} |
| 645 |
itemDef { |
| 646 |
name weapons |
| 647 |
style 0 |
| 648 |
group weapons |
| 649 |
text "Chaingun:" |
| 650 |
type ITEM_TYPE_BIND |
| 651 |
cvar "weapon 13" |
| 652 |
textstyle 6 |
| 653 |
textscale .20 |
| 654 |
rect 415 256 116 12 |
| 655 |
textalign 0 |
| 656 |
textalignx 0 |
| 657 |
textaligny 10 |
| 658 |
forecolor MP_TEXTCOLOR |
| 659 |
visible 1 |
| 660 |
} |
| 661 |
itemDef { |
| 662 |
name weapons |
| 663 |
style 0 |
| 664 |
group weapons |
| 665 |
text "Previous Weapon:" |
| 666 |
type ITEM_TYPE_BIND |
| 667 |
cvar "weapprev" |
| 668 |
textstyle 6 |
| 669 |
textscale .20 |
| 670 |
rect 415 268 116 12 |
| 671 |
textalign 0 |
| 672 |
textalignx 0 |
| 673 |
textaligny 10 |
| 674 |
forecolor MP_TEXTCOLOR |
| 675 |
visible 1 |
| 676 |
} |
| 677 |
itemDef { |
| 678 |
name weapons |
| 679 |
style 0 |
| 680 |
group weapons |
| 681 |
text "Next Weapon:" |
| 682 |
type ITEM_TYPE_BIND |
| 683 |
cvar "weapnext" |
| 684 |
textstyle 6 |
| 685 |
textscale .20 |
| 686 |
rect 415 280 116 12 |
| 687 |
textalign 0 |
| 688 |
textalignx 0 |
| 689 |
textaligny 10 |
| 690 |
forecolor MP_TEXTCOLOR |
| 691 |
visible 1 |
| 692 |
} |
| 693 |
itemDef { |
| 694 |
name weapons |
| 695 |
style 0 |
| 696 |
group weapons |
| 697 |
text "Auto weapon switch:" |
| 698 |
type ITEM_TYPE_YESNO |
| 699 |
cvar "cg_autoswitch" |
| 700 |
textstyle 6 |
| 701 |
textscale .20 |
| 702 |
rect 415 292 116 12 |
| 703 |
textalign 0 |
| 704 |
textalignx 0 |
| 705 |
textaligny 10 |
| 706 |
forecolor MP_TEXTCOLOR |
| 707 |
visible 1 |
| 708 |
} |
| 709 |
|
| 710 |
// Miscy (aka CRAP!!!! CRAP CRAP CRAP I have to do this still because |
| 711 |
// it is my sworn duty as the openarena leader to build it and they |
| 712 |
// will come. I better gawsh darn hope they will come because if I |
| 713 |
// don't cut past my laziness and don't do it they'll never come. |
| 714 |
// You know what I mean son!? Well I'd better build this and hope- |
| 715 |
// fully, they will and I mean oh bloody argh jeez freakin' well |
| 716 |
// come. But when i'm told to not do it, is when *I* want to come. |
| 717 |
// No Frankie, I don't get that either. You're a creepy *camper* |
| 718 |
// and I *jumping peppers* this menu file. *frumple* |
| 719 |
|
| 720 |
itemDef { |
| 721 |
name weapons |
| 722 |
style 0 |
| 723 |
group weapons |
| 724 |
text "Miscellanus" |
| 725 |
textstyle 6 |
| 726 |
textscale .25 |
| 727 |
rect 215 112 116 12 |
| 728 |
textalign 0 |
| 729 |
textalignx 0 |
| 730 |
textaligny 10 |
| 731 |
forecolor MP_TEXTCOLOR |
| 732 |
visible 1 |
| 733 |
} |
| 734 |
|
| 735 |
itemDef { |
| 736 |
name weapons |
| 737 |
style 0 |
| 738 |
group weapons |
| 739 |
text "Score card:" |
| 740 |
type ITEM_TYPE_BIND |
| 741 |
cvar "+scores" |
| 742 |
textstyle 6 |
| 743 |
textscale .20 |
| 744 |
rect 215 124 116 12 |
| 745 |
textalign 0 |
| 746 |
textalignx 0 |
| 747 |
textaligny 10 |
| 748 |
forecolor MP_TEXTCOLOR |
| 749 |
visible 1 |
| 750 |
} |
| 751 |
|
| 752 |
itemDef { |
| 753 |
name weapons |
| 754 |
style 0 |
| 755 |
group weapons |
| 756 |
text "Scroll card up:" |
| 757 |
type ITEM_TYPE_BIND |
| 758 |
cvar "scoresUp" |
| 759 |
textstyle 6 |
| 760 |
textscale .20 |
| 761 |
rect 215 136 116 12 |
| 762 |
textalign 0 |
| 763 |
textalignx 0 |
| 764 |
textaligny 10 |
| 765 |
forecolor MP_TEXTCOLOR |
| 766 |
visible 1 |
| 767 |
} |
| 768 |
itemDef { |
| 769 |
name weapons |
| 770 |
style 0 |
| 771 |
group weapons |
| 772 |
text "Scroll card down:" |
| 773 |
type ITEM_TYPE_BIND |
| 774 |
cvar "scoresDown" |
| 775 |
textstyle 6 |
| 776 |
textscale .20 |
| 777 |
rect 215 148 116 12 |
| 778 |
textalign 0 |
| 779 |
textalignx 0 |
| 780 |
textaligny 10 |
| 781 |
forecolor MP_TEXTCOLOR |
| 782 |
visible 1 |
| 783 |
} |
| 784 |
itemDef { |
| 785 |
name weapons |
| 786 |
style 0 |
| 787 |
group weapons |
| 788 |
text "Chat:" |
| 789 |
type ITEM_TYPE_BIND |
| 790 |
cvar "messagemode" |
| 791 |
textstyle 6 |
| 792 |
textscale .20 |
| 793 |
rect 215 160 116 12 |
| 794 |
textalign 0 |
| 795 |
textalignx 0 |
| 796 |
textaligny 10 |
| 797 |
forecolor MP_TEXTCOLOR |
| 798 |
visible 1 |
| 799 |
} |
| 800 |
itemDef { |
| 801 |
name weapons |
| 802 |
style 0 |
| 803 |
group weapons |
| 804 |
text "Chat to team only:" |
| 805 |
type ITEM_TYPE_BIND |
| 806 |
cvar "messagemode2" |
| 807 |
textstyle 6 |
| 808 |
textscale .20 |
| 809 |
rect 215 172 116 12 |
| 810 |
textalign 0 |
| 811 |
textalignx 0 |
| 812 |
textaligny 10 |
| 813 |
forecolor MP_TEXTCOLOR |
| 814 |
visible 1 |
| 815 |
} |
| 816 |
itemDef { |
| 817 |
name weapons |
| 818 |
style 0 |
| 819 |
group weapons |
| 820 |
text "Chat to your target only:" |
| 821 |
type ITEM_TYPE_BIND |
| 822 |
cvar "messagemode3" |
| 823 |
textstyle 6 |
| 824 |
textscale .20 |
| 825 |
rect 215 184 116 12 |
| 826 |
textalign 0 |
| 827 |
textalignx 0 |
| 828 |
textaligny 10 |
| 829 |
forecolor MP_TEXTCOLOR |
| 830 |
visible 1 |
| 831 |
} |
| 832 |
itemDef { |
| 833 |
name weapons |
| 834 |
style 0 |
| 835 |
group weapons |
| 836 |
text "Chat to your attacker:" |
| 837 |
type ITEM_TYPE_BIND |
| 838 |
cvar "messagemode4" |
| 839 |
textstyle 6 |
| 840 |
textscale .20 |
| 841 |
rect 215 196 116 12 |
| 842 |
textalign 0 |
| 843 |
textalignx 0 |
| 844 |
textaligny 10 |
| 845 |
forecolor MP_TEXTCOLOR |
| 846 |
visible 1 |
| 847 |
} |
| 848 |
itemDef { |
| 849 |
name weapons |
| 850 |
style 0 |
| 851 |
group weapons |
| 852 |
text "Taunt by gesture:" |
| 853 |
type ITEM_TYPE_BIND |
| 854 |
cvar "+button3" |
| 855 |
textstyle 6 |
| 856 |
textscale .20 |
| 857 |
rect 215 208 116 12 |
| 858 |
textalign 0 |
| 859 |
textalignx 0 |
| 860 |
textaligny 10 |
| 861 |
forecolor MP_TEXTCOLOR |
| 862 |
visible 1 |
| 863 |
} |
| 864 |
itemDef { |
| 865 |
name weapons |
| 866 |
style 0 |
| 867 |
group weapons |
| 868 |
text "Taunt by voice:" |
| 869 |
type ITEM_TYPE_BIND |
| 870 |
cvar "tauntTaunt" |
| 871 |
textstyle 6 |
| 872 |
textscale .20 |
| 873 |
rect 215 220 116 12 |
| 874 |
textalign 0 |
| 875 |
textalignx 0 |
| 876 |
textaligny 10 |
| 877 |
forecolor MP_TEXTCOLOR |
| 878 |
visible 1 |
| 879 |
} |
| 880 |
|
| 881 |
|
| 882 |
// Orders, for when you want to yell at your stupid morons of a |
| 883 |
// team audibly to slap the sense into their console-brained or |
| 884 |
// high fov'd super picmip'd minds. When looking at the chat area |
| 885 |
// just isn't GOSHDARN well enough. You know this reminds me of a |
| 886 |
// time where I had to type out every team command letter by letter |
| 887 |
// in the team chat. What was a frag fest became GameTeachesTyping |
| 888 |
// 6.0 as I struggle to get every word into the chat. Unfortunately |
| 889 |
// this was a bad time to chat as the flag carrier was already half- |
| 890 |
// way into the enemy base. In a rush, I typed out the words: |
| 891 |
// "hry pot g;sh nsvl!!!! HRY POT G;SH NSVL!!!!!!!" |
| 892 |
// Apparently this did not get the message through. We lost the flag. |
| 893 |
// This is why the keybinds for vocal team orders exist. |
| 894 |
|
| 895 |
|
| 896 |
itemDef { |
| 897 |
name orders |
| 898 |
style 0 |
| 899 |
group orders |
| 900 |
text "Orders" |
| 901 |
textstyle 6 |
| 902 |
textscale .25 |
| 903 |
rect 45 200 116 12 |
| 904 |
textalign 0 |
| 905 |
textalignx 0 |
| 906 |
textaligny 10 |
| 907 |
forecolor MP_TEXTCOLOR |
| 908 |
visible 1 |
| 909 |
} |
| 910 |
itemDef { |
| 911 |
name orders |
| 912 |
style 0 |
| 913 |
group orders |
| 914 |
text "Cornifm:" |
| 915 |
type ITEM_TYPE_BIND |
| 916 |
cvar "confirmOrder" |
| 917 |
textstyle 6 |
| 918 |
textscale .20 |
| 919 |
rect 45 212 116 12 |
| 920 |
textalign 0 |
| 921 |
textalignx 0 |
| 922 |
textaligny 10 |
| 923 |
forecolor MP_TEXTCOLOR |
| 924 |
visible 1 |
| 925 |
} |
| 926 |
itemDef { |
| 927 |
name orders |
| 928 |
style 0 |
| 929 |
group orders |
| 930 |
text "Deny:" |
| 931 |
type ITEM_TYPE_BIND |
| 932 |
cvar "denyOrder" |
| 933 |
textstyle 6 |
| 934 |
textscale .20 |
| 935 |
rect 45 224 116 12 |
| 936 |
textalign 0 |
| 937 |
textalignx 0 |
| 938 |
textaligny 10 |
| 939 |
forecolor MP_TEXTCOLOR |
| 940 |
visible 1 |
| 941 |
} |
| 942 |
|
| 943 |
itemDef { |
| 944 |
name orders |
| 945 |
style 0 |
| 946 |
group orders |
| 947 |
text "Task Offence:" |
| 948 |
type ITEM_TYPE_BIND |
| 949 |
cvar "taskOffense" |
| 950 |
textstyle 6 |
| 951 |
textscale .20 |
| 952 |
rect 45 236 116 12 |
| 953 |
textalign 0 |
| 954 |
textalignx 0 |
| 955 |
textaligny 10 |
| 956 |
forecolor MP_TEXTCOLOR |
| 957 |
visible 1 |
| 958 |
} |
| 959 |
|
| 960 |
itemDef { |
| 961 |
name orders |
| 962 |
style 0 |
| 963 |
group orders |
| 964 |
text "Task Defence:" |
| 965 |
type ITEM_TYPE_BIND |
| 966 |
cvar "taskDefense" |
| 967 |
textstyle 6 |
| 968 |
textscale .20 |
| 969 |
rect 45 248 116 12 |
| 970 |
textalign 0 |
| 971 |
textalignx 0 |
| 972 |
textaligny 10 |
| 973 |
forecolor MP_TEXTCOLOR |
| 974 |
visible 1 |
| 975 |
} |
| 976 |
|
| 977 |
itemDef { |
| 978 |
name orders |
| 979 |
style 0 |
| 980 |
group orders |
| 981 |
text "Task Patrol:" |
| 982 |
type ITEM_TYPE_BIND |
| 983 |
cvar "taskPatrol" |
| 984 |
textstyle 6 |
| 985 |
textscale .20 |
| 986 |
rect 45 260 116 12 |
| 987 |
textalign 0 |
| 988 |
textalignx 0 |
| 989 |
textaligny 10 |
| 990 |
forecolor MP_TEXTCOLOR |
| 991 |
visible 1 |
| 992 |
} |
| 993 |
itemDef { |
| 994 |
name orders |
| 995 |
style 0 |
| 996 |
group orders |
| 997 |
text "Task Camp:" |
| 998 |
type ITEM_TYPE_BIND |
| 999 |
cvar "taskCamp" |
| 1000 |
textstyle 6 |
| 1001 |
textscale .20 |
| 1002 |
rect 45 272 116 12 |
| 1003 |
textalign 0 |
| 1004 |
textalignx 0 |
| 1005 |
textaligny 10 |
| 1006 |
forecolor MP_TEXTCOLOR |
| 1007 |
visible 1 |
| 1008 |
} |
| 1009 |
itemDef { |
| 1010 |
name orders |
| 1011 |
style 0 |
| 1012 |
group orders |
| 1013 |
text "Task Follow:" |
| 1014 |
type ITEM_TYPE_BIND |
| 1015 |
cvar "taskFollow" |
| 1016 |
textstyle 6 |
| 1017 |
textscale .20 |
| 1018 |
rect 45 284 116 12 |
| 1019 |
textalign 0 |
| 1020 |
textalignx 0 |
| 1021 |
textaligny 10 |
| 1022 |
forecolor MP_TEXTCOLOR |
| 1023 |
visible 1 |
| 1024 |
} |
| 1025 |
itemDef { |
| 1026 |
name orders |
| 1027 |
style 0 |
| 1028 |
group orders |
| 1029 |
text "Task Retrieve:" |
| 1030 |
type ITEM_TYPE_BIND |
| 1031 |
cvar "taskRetrieve" |
| 1032 |
textstyle 6 |
| 1033 |
textscale .20 |
| 1034 |
rect 45 296 116 12 |
| 1035 |
textalign 0 |
| 1036 |
textalignx 0 |
| 1037 |
textaligny 10 |
| 1038 |
forecolor MP_TEXTCOLOR |
| 1039 |
visible 1 |
| 1040 |
} |
| 1041 |
itemDef { |
| 1042 |
name orders |
| 1043 |
style 0 |
| 1044 |
group orders |
| 1045 |
text "Task Escort:" |
| 1046 |
type ITEM_TYPE_BIND |
| 1047 |
cvar "taskEscort" |
| 1048 |
textstyle 6 |
| 1049 |
textscale .20 |
| 1050 |
rect 45 308 116 12 |
| 1051 |
textalign 0 |
| 1052 |
textalignx 0 |
| 1053 |
textaligny 10 |
| 1054 |
forecolor MP_TEXTCOLOR |
| 1055 |
visible 1 |
| 1056 |
} |
| 1057 |
itemDef { |
| 1058 |
name orders |
| 1059 |
style 0 |
| 1060 |
group orders |
| 1061 |
text "I GOT FLAG!:" |
| 1062 |
type ITEM_TYPE_BIND |
| 1063 |
cvar "taskOwnFlag" |
| 1064 |
textstyle 6 |
| 1065 |
textscale .20 |
| 1066 |
rect 45 320 116 12 |
| 1067 |
textalign 0 |
| 1068 |
textalignx 0 |
| 1069 |
textaligny 10 |
| 1070 |
forecolor MP_TEXTCOLOR |
| 1071 |
visible 1 |
| 1072 |
} |
| 1073 |
itemDef { |
| 1074 |
name orders |
| 1075 |
style 0 |
| 1076 |
group orders |
| 1077 |
text "Task Suicide:" |
| 1078 |
type ITEM_TYPE_BIND |
| 1079 |
cvar "taskSuicide" |
| 1080 |
textstyle 6 |
| 1081 |
textscale .20 |
| 1082 |
rect 45 332 116 12 |
| 1083 |
textalign 0 |
| 1084 |
textalignx 0 |
| 1085 |
textaligny 10 |
| 1086 |
forecolor MP_TEXTCOLOR |
| 1087 |
visible 1 |
| 1088 |
} |
| 1089 |
itemDef { |
| 1090 |
name orders |
| 1091 |
style 0 |
| 1092 |
group orders |
| 1093 |
text "Next member:" |
| 1094 |
type ITEM_TYPE_BIND |
| 1095 |
cvar "nextTeamMember" |
| 1096 |
textstyle 6 |
| 1097 |
textscale .20 |
| 1098 |
rect 45 344 116 12 |
| 1099 |
textalign 0 |
| 1100 |
textalignx 0 |
| 1101 |
textaligny 10 |
| 1102 |
forecolor MP_TEXTCOLOR |
| 1103 |
visible 1 |
| 1104 |
} |
| 1105 |
itemDef { |
| 1106 |
name orders |
| 1107 |
style 0 |
| 1108 |
group orders |
| 1109 |
text "Next order:" |
| 1110 |
type ITEM_TYPE_BIND |
| 1111 |
cvar "nextOrder" |
| 1112 |
textstyle 6 |
| 1113 |
textscale .20 |
| 1114 |
rect 45 356 116 12 |
| 1115 |
textalign 0 |
| 1116 |
textalignx 0 |
| 1117 |
textaligny 10 |
| 1118 |
forecolor MP_TEXTCOLOR |
| 1119 |
visible 1 |
| 1120 |
} |
| 1121 |
} |
| 1122 |
|
| 1123 |
|