1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705
|
/*
===========================================================================
Copyright (C) 2006 Dmn_clown (aka: Bob Isaac (rjisaac@gmail.com))
This file is part of Open Arena and is based upon Mr. Elusive's fuzzy logic
system found in Quake 3 Arena.
Open Arena is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
Open Arena is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Foobar; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/
#include "inv.h"
#define NOITEM 0
#define AMMOI 1
#define WEAPONI 2
#define HEALTHI 3
#define ARMORI 4
#define POWERI 5
#define FLAGI 6
#define ROAMI 7
//===================================
// ARMOR
//===================================
iteminfo "ammo_belt"
{
name "Chaingun Belt"
model "models/powerups/ammo/chaingunam.md3"
modelindex MODELINDEX_BELT
type AMMOI
index INVENTORY_BELT
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_bfg"
{
name "Bfg ammo"
model "models/powerups/ammo/bfgam.md3"
modelindex MODELINDEX_BFGAMMO
type AMMOI
index INVENTORY_BFGAMMO
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_bullets"
{
name "Bullets"
model "models/powerups/ammo/machinegunam.md3"
modelindex MODELINDEX_BULLETS
type AMMOI
index INVENTORY_BULLETS
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_cells"
{
name "Cells"
model "models/powerups/ammo/plasmaam.md3"
modelindex MODELINDEX_CELLS
type AMMOI
index INVENTORY_CELLS
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_grenades"
{
name "Grenades"
model "models/powerups/ammo/grenadeam.md3"
modelindex MODELINDEX_GRENADES
type AMMOI
index INVENTORY_GRENADES
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_lightning"
{
name "Lightning"
model "models/powerups/ammo/lightningam.md3"
modelindex MODELINDEX_LIGHTNINGAMMO
type AMMOI
index INVENTORY_LIGHTNINGAMMO
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_mines"
{
name "Proximity Mines"
model "models/powerups/ammo/proxmineam.md3"
modelindex MODELINDEX_MINES
type AMMOI
index INVENTORY_MINES
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_nails"
{
name "Nails"
model "models/powerups/ammo/nailgunam.md3"
modelindex MODELINDEX_NAILS
type AMMOI
index INVENTORY_NAILS
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_rockets"
{
name "Rockets"
model "models/powerups/ammo/rocketam.dm3"
modelindex MODELINDEX_ROCKETS
type AMMOI
index INVENTORY_ROCKETS
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_shells"
{
name "Shells"
model "models/powerups/ammo/shotgunam.md3"
modelindex MODELINDEX_SHELLS
type AMMOI
index INVENTORY_SHELLS
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "ammo_slugs"
{
name "Slugs"
model "models/powerups/ammo/railgunam.md3"
modelindex MODELINDEX_SLUGS
type AMMOI
index INVENTORY_SLUGS
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "holdable_invulnerability"
{
name "Invulnerability"
model "models/powerups/holdable/invulnerability.md3"
modelindex MODELINDEX_INVULNERABILITY
type POWERI
index INVENTORY_PORTAL
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "holdable_kamikaze"
{
name "Kamikaze"
model "models/powerups/kamikazi.md3"
modelindex MODELINDEX_KAMIKAZE
type POWERI
index INVENTORY_KAMIKAZE
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "holdable_medkit"
{
name "Medkit"
model "models/powerups/holdable/medkit.md3"
modelindex MODELINDEX_MEDKIT
type HEALTHI
index INVENTORY_MEDKIT
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "holdable_portal"
{
name "Portal"
model "models/powerups/holdable/teleporter.md3"
modelindex MODELINDEX_PORTAL
type POWERI
index INVENTORY_PORTAL
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "holdable_teleporter"
{
name "Personal Teleporter"
model "models/powerups/holdable/teleporter.md3"
modelindex MODELINDEX_TELEPORTER
type POWERI
index INVENTORY_TELEPORTER
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_armor_body"
{
name "Heavy Armor"
model "models/powerups/armor/armor_red.md3"
modelindex MODELINDEX_ARMORBODY
type ARMORI
index INVENTORY_ARMOR
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_armor_combat"
{
name "Armor"
model "models/powerups/armor/armor_yel.md3"
modelindex MODELINDEX_ARMORCOMBAT
type ARMORI
index INVENTORY_ARMOR
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_armor_shard"
{
name "Armor Shard"
model "models/powerups/armor/shard.md3"
modelindex MODELINDEX_ARMORSHARD
type ARMORI
index INVENTORY_ARMOR
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_health"
{
name "25 Health"
model "models/powerups/health/medium_cross.md3"
modelindex MODELINDEX_HEALTH
type HEALTHI
index INVENTORY_HEALTH
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_health_large"
{
name "50 Health"
model "models/powerups/health/large_cross.md3"
modelindex MODELINDEX_HEALTHLARGE
type HEALTHI
index INVENTORY_HEALTH
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_health_mega"
{
name "Mega Health"
model "models/powerups/health/mega_cross.md3"
modelindex MODELINDEX_HEALTHMEGA
type HEALTHI
index INVENTORY_HEALTH
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_health_small"
{
name "5 Health"
model "models/powerups/health/small_cross.md3"
modelindex MODELINDEX_HEALTHSMALL
type HEALTHI
index INVENTORY_HEALTH
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_bfg"
{
name "BFG10K"
model "models/weapons2/bfg/bfg.md3"
modelindex MODELINDEX_BFG10K
type WEAPONI
index INVENTORY_BFG10K
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_chaingun"
{
name "Chaingun"
model "models/weapons/vulcan/vulcan.md3"
modelindex MODELINDEX_CHAINGUN
type WEAPONI
index INVENTORY_CHAINGUN
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_gauntlet"
{
name "Gauntlet"
model "models/weapons2/gauntlet/gauntlet.md3"
modelindex MODELINDEX_GAUNTLET
type WEAPONI
index INVENTORY_GAUNTLET
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_grapplinghook"
{
name "Grappling Hook"
model ""
modelindex MODELINDEX_GRAPPLINGHOOK
type WEAPONI
index INVENTORY_GRAPPLINGHOOK
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_grenadelauncher"
{
name "Grenade Launcher"
model "models/weapons2/grenadel/grenadel.md2"
modelindex MODELINDEX_GRENADELAUNCHER
type WEAPONI
index INVENTORY_GRENADELAUNCHER
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_lightning"
{
name "Lightning Gun"
model "models/weapons2/lightning/lightning.md3"
modelindex MODELINDEX_LIGHTNING
type WEAPONI
index INVENTORY_LIGHTNING
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_machinegun"
{
name "Machinegun"
model "models/weapons2/machinegun/machinegun.md3"
modelindex MODELINDEX_MACHINEGUN
type WEAPONI
index INVENTORY_MACHINEGUN
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_shotgun"
{
name "Shotgun"
model "models/weapons2/shotgun/shotgun.md3"
modelindex MODELINDEX_SHOTGUN
type WEAPONI
index INVENTORY_SHOTGUN
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_railgun"
{
name "Railgun"
model "models/weapons2/railgun/railgun.md3"
modelindex MODELINDEX_RAILGUN
type WEAPONI
index INVENTORY_RAILGUN
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_rocketlauncher"
{
name "Rocket Launcher"
model "models/weapons2/rocketl/rocketl.md3"
modelindex MODELINDEX_ROCKETLAUNCHER
type WEAPONI
index INVENTORY_ROCKETLAUNCHER
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_nailgun"
{
name "Nailgun"
model "models/weapons/nailgun/nailgun.md3"
modelindex MODELINDEX_NAILGUN
type WEAPONI
index INVENTORY_NAILGUN
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_plasmagun"
{
name "Plasma Gun"
model "models/weapons2/plasma/plasma.md3"
modelindex MODELINDEX_PLASMAGUN
type WEAPONI
index INVENTORY_PLASMAGUN
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "weapon_prox_launcher"
{
name "Prox Launcher"
model "models/weapons/proxmine/proxmine.md3"
modelindex MODELINDEX_PROXLAUNCHER
type WEAPONI
index INVENTORY_PROXLAUNCHER
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_quad"
{
name "Quad Damage"
model "models/powerups/instant/quad.md3"
modelindex MODELINDEX_QUAD
type POWERI
index INVENTORY_QUAD
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_enviro"
{
name "Battle Suit"
model "models/powerups/instant/enviro.md3"
modelindex MODELINDEX_ENVIRONMENTSUIT
type POWERI
index INVENTORY_ENVIRONMENTSUIT
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_haste"
{
name "Speed"
model "models/powerups/instant/haste_ring.md3"
modelindex MODELINDEX_HASTE
type POWERI
index INVENTORY_HASTE
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_invisibility"
{
name "Invisibility"
model "models/powerups/instant/invis.md3"
modelindex MODELINDEX_INVISIBILITY
type POWERI
index INVENTORY_INVISIBILITY
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_regen"
{
name "Regeneration"
model "models/powerups/instant/regen_ring.md3"
modelindex MODELINDEX_REGEN
type POWERI
index INVENTORY_REGEN
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_flight"
{
name "Flight"
model "models/powerups/instant/flight_ring.md3"
modelindex MODELINDEX_FLIGHT
type POWERI
index INVENTORY_FLIGHT
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_scout"
{
name "Scout"
model "models/powerups/scout.md3"
modelindex MODELINDEX_SCOUT
type POWERI
index INVENTORY_SCOUT
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_guard"
{
name "Guard"
model "models/powerups/guard.md3"
modelindex MODELINDEX_GUARD
type POWERI
index INVENTORY_GUARD
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_doubler"
{
name "Doubler"
model "models/powerups/doubler.md3"
modelindex MODELINDEX_DOUBLER
type POWERI
index INVENTORY_DOUBLER
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_ammoregen"
{
name "Ammo Regen"
model "models/powerups/ammo.md3"
modelindex MODELINDEX_AMMOREGEN
type POWERI
index INVENTORY_AMMOREGEN
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "team_CTF_redflag"
{
name "Red Flag"
model "models/flags/r_flag.md3"
modelindex MODELINDEX_REDFLAG
type FLAGI
index INVENTORY_REDFLAG
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "team_CTF_blueflag"
{
name "Blue Flag"
model "models/flags/b_flag.md3"
modelindex MODELINDEX_BLUEFLAG
type FLAGI
index INVENTORY_BLUEFLAG
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "team_CTF_neutralflag"
{
name "Neutral Flag"
model "models/flags/n_flag.md3"
modelindex MODELINDEX_NEUTRALFLAG
type FLAGI
index INVENTORY_NEUTRALFLAG
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "team_redobelisk"
{
name "Red Obelisk"
model "models/powerups/obelisk/obelisk.md3"
modelindex 0
type NOITEM
index 0
mins {-14, -14, 1}
maxs {14, 14, 87}
}
iteminfo "team_blueobelisk"
{
name "Blue Obelisk"
model "models/powerups/obelisk/obelisk.md3"
modelindex 0
type NOITEM
index 0
mins {-14, -14, 1}
maxs {14, 14, 87}
}
iteminfo "team_neutralobelisk"
{
name "Neutral Obelisk"
model "models/powerups/obelisk/obelisk.md3"
modelindex 0
type NOITEM
index 0
mins {-14, -14, 1}
maxs {14, 14, 87}
}
iteminfo "item_redcube"
{
name "Red Cube"
model "models/powerups/orb/r_orb.md3"
modelindex MODELINDEX_REDCUBE
type FLAGI
index INVENTORY_REDCUBE
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_bluecube"
{
name "Blue Cube"
model "models/powerups/orb/b_orb.md3"
modelindex MODELINDEX_BLUECUBE
type FLAGI
index INVENTORY_BLUECUBE
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_botroam"
{
name "Bot Roam Goal"
model ""
modelindex 0
type ROAMI
index 0
mins {-13,-13,-13}
maxs {13,13,13}
}
|