q3rally/baseq3r/botfiles/items.c

816 lines
14 KiB
C
Raw Normal View History

2022-03-03 20:58:53 +00:00
/*
===========================================================================
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 "ammo_flame"
{
name "Flame Ammo"
model "models/powerups/ammo/bfgam.md3"
modelindex MODELINDEX_FLAMETHROWERAMMO
type AMMOI
index INVENTORY_FLAMETHROWERAMMO
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 "rally_item_turbo"
{
name "Turbo"
model "models/powerups/turbo/turbo.md3"
modelindex MODELINDEX_TURBO
type POWERI
index INVENTORY_TURBO
respawntime 60
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "item_armor_red"
{
name "Red 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_yellow"
{
name "Yellow 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_green"
{
name "Green Armor"
model "models/powerups/armor/greenshard.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 "models/weapons2/grapple/grapple.md3"
modelindex MODELINDEX_GRAPPLINGHOOK
type WEAPONI
index INVENTORY_GRAPPLINGHOOK
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
*/
iteminfo "weapon_flamethrower"
{
name "Flame Thrower"
model "models/weapons2/flamethrower/flamethrower.md3"
modelindex MODELINDEX_FLAMETHROWER
type WEAPONI
index INVENTORY_FLAMETHROWER
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 "rally_weapon_smoke"
{
name "Rearfire Smoke Screen"
model "models/rearfire/rf_smoke.md3"
modelindex MODELINDEX_RWP_SMOKE
type WEAPONI
index INVENTORY_RWP_SMOKE
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "rally_weapon_oil"
{
name "Rearfire Oil Slick"
model "models/rearfire/rf_oil.md3"
modelindex MODELINDEX_RWP_OIL
type WEAPONI
index INVENTORY_RWP_OIL
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "rally_weapon_mine"
{
name "Rearfire Mine"
model "models/rearfire/rf_mines.md3"
modelindex MODELINDEX_RWP_MINE
type WEAPONI
index INVENTORY_RWP_MINE
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "rally_weapon_flame"
{
name "Rearfire Flame Trail"
model "models/rearfire/rf_flame.md3"
modelindex MODELINDEX_RWP_FLAME
type WEAPONI
index INVENTORY_RWP_FLAME
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "rally_weapon_bio"
{
name "Rearfire Bio Sludge"
model "models/rearfire/rf_bio.md3"
modelindex MODELINDEX_RWP_BIO
type WEAPONI
index INVENTORY_RWP_BIO
respawntime 30
mins {-13,-13,-13}
maxs {13,13,13}
}
iteminfo "rally_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 "rally_item_env"
{
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 "rally_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 "rally_item_invis"
{
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 "rally_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 "rally_item_shield"
{
name "Shielding"
model "models/powerups/shield/shield.md3"
modelindex MODELINDEX_SHIELD
type POWERI
index INVENTORY_SHIELD
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}
}