From 91ee6d6fbaa80b5a779b143b5825e8dc0c76d78d Mon Sep 17 00:00:00 2001 From: Finny Merrill Date: Tue, 17 Feb 2004 00:26:58 +0000 Subject: [PATCH] speed tweaks, assault cannon lets you go a little faster, no more silly armor code. --- tfort.qc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tfort.qc b/tfort.qc index 29318a4..34459ba 100644 --- a/tfort.qc +++ b/tfort.qc @@ -1473,13 +1473,6 @@ void(entity p) TeamFortress_SetSpeed = } if (p.playerclass != PC_UNDEFINED) { - //before anything, speed reductions from armor (no speedy tanks) - if (p.armorvalue > 0) - p.maxspeed *= (0.8 + (0.2 - p.armortype / 5)); - - if (p.armorvalue > 100 && p.maxspeed > 250) // really tanked? cap speed a little - p.maxspeed -= (p.maxspeed - 250) * (p.armorvalue - 100) / 200; - //1st if we have scuba gear ... if (p.tf_items & NIT_SCUBA) { if (p.flags & FL_INWATER) // and are underwater, increase speed @@ -1549,7 +1542,7 @@ void(entity p) TeamFortress_SetSpeed = // 8th, check if they're firing an Assault Cannon if (p.tfstate & TFSTATE_ASSAULTCANNON) - p.maxspeed /= 4; + p.maxspeed *= 0.4; } local string speed = ftos (p.maxspeed);