Most of the things in Warzone are easy to calculate, but some of them can be pretty confusing. Here are some of the formulas we use to calculate things.

Global

Nearly all calculations in formulas are done with integers. This means that numbers are nearly always rounded down to the nearest integer. This includes damage bonuses, weight multipliers, damage multipliers, experience bonuses, accuracy bonuses (down to the nearest percent)...

However, note that time is usually rounded down to the nearest 0.1 second, and distance is usually rounded down to the nearest 1/128 tile.

Damage formula

Damage = Base DamageArmor After Upgrades
  or
Damage = 1/3 × Base Damage
  or
Damage = 1

(Whichever is higher.)

Base Damage = Weapon Damage After Upgrades × Weapon Target Modifier

See also: Detailed explanation of damage formula

Unit speed formula

Speed = Base Speed × Speed Penalty × Unit Experience Bonus
  or
Speed = Propulsion Max Speed × Unit Experience Bonus

(Whichever is lower.)

Base Speed = Engine Power After Upgrades × Propulsion Speed × Propulsion Terrain Multiplier / Total Weight

Speed Penalty is 3/4 if using a medium body on VTOL, 1/4 if using a heavy body on VTOL, and 1 in all other cases.

This speed is in units of world-coordinates per second. There are 128 world-coordinates in a tile, so, for instance, a unit with a speed of 128 would go at a speed of one tile per second.

That "Terrain Multiplier" is pretty important. You'd expect it to be 1× for all propulsions flat terrain, but it's actually 2.5× for VTOLs.

Commentary

Reg312 wrote on Sep 12, 2011:

How calculate total unit HP
unitHP = (bodyHP + bodyHP * propulsion_modifier + weaponHP) * upgrade modifier
Example: calculate HP of vengeance heavy cannon tracks with maximum armor upgrade
unitHP = (300 + 300*3.0 + 500)*3,7 = 6290

Anonymous wrote on Oct 30, 2011:

How do you calculate armor HP?

Anonymous wrote on Dec 14, 2011:

could someone please give an example how to calculate the unit speed?
i'm a bit confused.

Add a comment

Note: Comments are for giving advice about the page topic. Off-topic comments may be deleted. Do not report bugs here, report them in the bug tracker.


Anonymous


To prove you are not a spammer, you must correctly answer this question:
If you have found a bug or other problem with Warzone, where should you report it?

(Hint: Read the above note)