R31: Instant-gib 3 TA: Nailgun
This commit is contained in:
@@ -1699,7 +1699,7 @@ void BotChooseWeapon(bot_state_t *bs) {
|
||||
newweaponnum = WP_PLASMAGUN;
|
||||
} else if ( g_weaponarena.integer == 9 ) {
|
||||
newweaponnum = WP_BFG;
|
||||
} else if ( g_weaponarena.integer == 10 ) {
|
||||
} else if ( g_instantgib.integer > 2 || g_weaponarena.integer == 10 ) {
|
||||
newweaponnum = WP_NAILGUN;
|
||||
} else if ( g_weaponarena.integer == 11 ) {
|
||||
newweaponnum = WP_PROX_LAUNCHER;
|
||||
|
@@ -1996,6 +1996,10 @@ else
|
||||
client->ps.stats[STAT_WEAPONS] |= ( 1 << WP_GAUNTLET );
|
||||
client->ps.ammo[WP_GAUNTLET] = -1;
|
||||
}
|
||||
if(g_instantgib.integer > 2) {
|
||||
client->ps.stats[STAT_WEAPONS] |= ( 1 << WP_NAILGUN );
|
||||
client->ps.ammo[WP_NAILGUN] = -1;
|
||||
}
|
||||
}
|
||||
if (g_weaponarena.integer == 1) {
|
||||
client->ps.stats[STAT_WEAPONS] = ( 1 << WP_GAUNTLET );
|
||||
|
@@ -799,6 +799,10 @@ void Weapon_Nailgun_Fire (gentity_t *ent) {
|
||||
m = fire_nail (ent, muzzle, forward, right, up );
|
||||
m->damage *= s_quadFactor;
|
||||
m->splashDamage *= s_quadFactor;
|
||||
|
||||
if (g_instantgib.integer > 2) {
|
||||
m->damage = 800;
|
||||
}
|
||||
}
|
||||
|
||||
// VectorAdd( m->s.pos.trDelta, ent->client->ps.velocity, m->s.pos.trDelta ); // "real" physics
|
||||
|
Reference in New Issue
Block a user