| 1 |
/* |
| 2 |
=========================================================================== |
| 3 |
Copyright (C) 2006 Dmn_clown (aka: Bob Isaac ([email protected])) |
| 4 |
|
| 5 |
This file is part of Open Arena and is based upon Mr. Elusive's fuzzy logic |
| 6 |
system found in Quake 3 Arena. |
| 7 |
|
| 8 |
Open Arena is free software; you can redistribute it |
| 9 |
and/or modify it under the terms of the GNU General Public License as |
| 10 |
published by the Free Software Foundation; either version 2 of the License, |
| 11 |
or (at your option) any later version. |
| 12 |
|
| 13 |
Open Arena is distributed in the hope that it will be |
| 14 |
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with Foobar; if not, write to the Free Software |
| 20 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 |
=========================================================================== |
| 22 |
*/ |
| 23 |
|
| 24 |
#include "inv.h" |
| 25 |
|
| 26 |
#define IMPACT_DAMAGE 1 //straight impact damage |
| 27 |
#define SPLASH_DAMAGE 2 //splash damage |
| 28 |
|
| 29 |
projectileinfo |
| 30 |
{ |
| 31 |
name "bfgexploision" |
| 32 |
damage 40 |
| 33 |
radius 100 |
| 34 |
damagetype $evalint(IMPACT_DAMAGE|SPLASH_DAMAGE) |
| 35 |
} |
| 36 |
|
| 37 |
weaponinfo |
| 38 |
{ |
| 39 |
name "BFG10K" |
| 40 |
number WEAPONINDEX_BFG |
| 41 |
projectile "bfgexploision" |
| 42 |
numprojectiles 1 |
| 43 |
speed 0 |
| 44 |
} |
| 45 |
|
| 46 |
projectileinfo |
| 47 |
{ |
| 48 |
name "gauntletdamage" |
| 49 |
damage 50 |
| 50 |
damagetype IMPACT_DAMAGE |
| 51 |
} |
| 52 |
|
| 53 |
weaponinfo |
| 54 |
{ |
| 55 |
name "Gauntlet" |
| 56 |
number WEAPONINDEX_GAUNTLET |
| 57 |
projectile "gauntletdamage" |
| 58 |
numprojectiles 1 |
| 59 |
speed 0 |
| 60 |
} |
| 61 |
|
| 62 |
projectileinfo |
| 63 |
{ |
| 64 |
name "grenade" |
| 65 |
damage 120 |
| 66 |
radius 160 |
| 67 |
damagetype $evalint(IMPACT_DAMAGE|SPLASH_DAMAGE) |
| 68 |
} |
| 69 |
|
| 70 |
weaponinfo |
| 71 |
{ |
| 72 |
name "Grenade Launcher" |
| 73 |
number WEAPONINDEX_GRENADE_LAUNCHER |
| 74 |
projectile "grenade" |
| 75 |
numprojectiles 1 |
| 76 |
speed 700 |
| 77 |
} |
| 78 |
|
| 79 |
|
| 80 |
projectileinfo |
| 81 |
{ |
| 82 |
name "lightning" |
| 83 |
damage 24 |
| 84 |
damagetype IMPACT_DAMAGE |
| 85 |
} |
| 86 |
|
| 87 |
weaponinfo |
| 88 |
{ |
| 89 |
name "Lightning Gun" |
| 90 |
number WEAPONINDEX_LIGHTNING |
| 91 |
projectile "lightning" |
| 92 |
numprojectiles 1 |
| 93 |
speed 0 |
| 94 |
} |
| 95 |
|
| 96 |
|
| 97 |
projectileinfo |
| 98 |
{ |
| 99 |
name "machinegunbullet" |
| 100 |
damage 8 |
| 101 |
damagetype IMPACT_DAMAGE |
| 102 |
} |
| 103 |
|
| 104 |
weaponinfo |
| 105 |
{ |
| 106 |
name "Machinegun" |
| 107 |
number WEAPONINDEX_MACHINEGUN |
| 108 |
projectile "machinegunbullet" |
| 109 |
numprojectiles 1 |
| 110 |
speed 0 |
| 111 |
} |
| 112 |
|
| 113 |
projectileinfo |
| 114 |
{ |
| 115 |
name "plasma" |
| 116 |
damage 20 |
| 117 |
radius 20 |
| 118 |
damagetype $evalint(IMPACT_DAMAGE|SPLASH_DAMAGE) |
| 119 |
} |
| 120 |
|
| 121 |
weaponinfo |
| 122 |
{ |
| 123 |
name "Plasma Gun" |
| 124 |
number WEAPONINDEX_PLASMAGUN |
| 125 |
projectile "plasma" |
| 126 |
numprojectiles 1 |
| 127 |
speed 2000 |
| 128 |
} |
| 129 |
|
| 130 |
projectileinfo |
| 131 |
{ |
| 132 |
name "rail" |
| 133 |
damage 100 |
| 134 |
damagetype IMPACT_DAMAGE |
| 135 |
} |
| 136 |
|
| 137 |
weaponinfo |
| 138 |
{ |
| 139 |
name "Railgun" |
| 140 |
number WEAPONINDEX_RAILGUN |
| 141 |
projectile "rail" |
| 142 |
numprojectiles 1 |
| 143 |
speed 0 |
| 144 |
} |
| 145 |
|
| 146 |
projectileinfo |
| 147 |
{ |
| 148 |
name "rocket" |
| 149 |
damage 100 |
| 150 |
radius 120 |
| 151 |
damagetype $evalint(IMPACT_DAMAGE|SPLASH_DAMAGE) |
| 152 |
} |
| 153 |
|
| 154 |
weaponinfo |
| 155 |
{ |
| 156 |
name "Rocket Launcher" |
| 157 |
number WEAPONINDEX_ROCKET_LAUNCHER |
| 158 |
projectile "rocket" |
| 159 |
numprojectiles 1 |
| 160 |
speed 900 |
| 161 |
} |
| 162 |
|
| 163 |
|
| 164 |
projectileinfo |
| 165 |
{ |
| 166 |
name "shotgunbullet" |
| 167 |
damage 10 |
| 168 |
damagetype IMPACT_DAMAGE |
| 169 |
} |
| 170 |
|
| 171 |
weaponinfo |
| 172 |
{ |
| 173 |
name "Shotgun" |
| 174 |
number WEAPONINDEX_SHOTGUN |
| 175 |
projectile "shotgunbullet" |
| 176 |
numprojectiles 11 |
| 177 |
speed 0 |
| 178 |
} |
| 179 |
|
| 180 |
projectileinfo |
| 181 |
{ |
| 182 |
name "chaingunbullet" |
| 183 |
damage 7 |
| 184 |
damagetype $evalint(IMPACT_DAMAGE) |
| 185 |
} |
| 186 |
|
| 187 |
weaponinfo |
| 188 |
{ |
| 189 |
name "Chaingun" |
| 190 |
number WEAPONINDEX_CHAINGUN |
| 191 |
projectile "chaingunbullet" |
| 192 |
numprojectiles 1 |
| 193 |
speed 0 |
| 194 |
} |
| 195 |
|
| 196 |
projectileinfo |
| 197 |
{ |
| 198 |
name "nail" |
| 199 |
damage 30 |
| 200 |
damagetype $evalint(IMPACT_DAMAGE) |
| 201 |
} |
| 202 |
|
| 203 |
weaponinfo |
| 204 |
{ |
| 205 |
name "Nailgun" |
| 206 |
number WEAPONINDEX_NAILGUN |
| 207 |
projectile "nail" |
| 208 |
numprojectiles 13 |
| 209 |
speed 0 |
| 210 |
} |
| 211 |
|
| 212 |
projectileinfo |
| 213 |
{ |
| 214 |
name "mine" |
| 215 |
damage 0 |
| 216 |
damagetype $evalint(SPLASH_DAMAGE) |
| 217 |
} |
| 218 |
|
| 219 |
weaponinfo |
| 220 |
{ |
| 221 |
name "Prox Launcher" |
| 222 |
number WEAPONINDEX_PROXLAUNCHER |
| 223 |
projectile "mine" |
| 224 |
numprojectiles 1 |
| 225 |
speed 0 |
| 226 |
} |