You must be logged in to post messages.
Please login or register

Strategy and General Discussion
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Sagacious' Updated Unit Ranking System
posted 05 March 2012 00:21 AM EDT (US)   

Sagacious' Unit Ranking System

This is an updated version of my original post, which you can find here.

The greatest and worst aspect of Age of Mythology is the strategic depth of its game play. Although it requires players to think strategically, its depth and complexity can often prevent them from making informed decisions. This is especially true in the case of units, which are extremely diverse, and consequently, difficult to compare and contrast. The purpose of this thread is to set up a standardized system for ranking military units based upon their comparative performance in combat. Because this is a work in progress, much of the information presented in this post is subject to revision.

You will require a reference for unit statistics in order to make use of the various equations presented in this post. Although most online sources are now outdated (their statistics derive from versions prior to 1.03), some are still somewhat reliable, such as the one found here.

Derivation and Calculation of Unit Statistics

In order to rank units based on their comparative performance in combat, we will have to familiarize ourselves with a variety of the basic properties that they possess. In this section, we will explore how the statistics used in this system of ranking are calculated, as well as where they may be found in the game.

Hit Points

Hit points are a measure of the amount of damage that a given unit can sustain before dying, and are represented with the variable h. The number of hit points that a unit possesses is listed on the corresponding unit table for that unit.

Modifiers to Hit Points

Like many properties, the number of hit points that a given unit possesses can be modified in a variety of different ways. The equation used to determine the total number of hit points that a given unit possesses after the application of modifiers is taken into account is given below.

hb (100% + m)
h=
100%

Where:

h=The total number of hit points that a given unit possesses after modifiers are taken into account
hb=The base number of hit points that a given unit possesses
m=The percentage by which the sum of all modifiers to a unit increases its hit points

I will demonstrate the proper use of this equation in the following example, where a unit with a base value of 100 hit points receives a 10% bonus from one research upgrade and a 5% bonus from another.

Because m is defined as the percentage by which the sum of all modifiers to a given unit increases its hit points, we will have to solve for the value of m by calculating the sum of each bonus that the unit in question receives before we can solve for h. The unit is said to receive a bonus of 10% and 5%, so the sum of these modifiers will be equal to m, as demonstrated below.

m=10% + 5%=15%

Once the value of m has been found, it can be substituted directly into the equation used to determine the total number of hit points that a given will possess after modifiers are taken into account, as demonstrated below.

100 damage (100% + 15%)100 damage (115%)11500% damage115 damage
h=
=
=
=
=115 damage
100%100%100%1

In this case, the unit in question received a total bonus of 15%, which resulted in a final value of 115 hit points.

While all modifiers to health can be accounted for in this manner, you'll be pleased to know that such computations are not entirely necessary, as the number of hit points that a unit possesses after the application of modifiers is conveniently listed on the corresponding unit table for that unit. As an added bonus, each contributing modifier is listed on the unit table as well.

Damage

Damage is the absolute value of any change in the number of hit points that a given unit possesses over any change in time, were the terminal amount of hit points that the unit possesses is less than that of the initial amount, as illustrated in the figure given below.



If and only if h2 < h1,

|Δh||h2 - h1|
d=
=
Δtt2 - t1

Where:

d=Damage over time
h1=Initial number of hit points
h2=Terminal number of hit points
t1=Initial time
t2=Terminal time
Δh=Change in hit points
Δt=Change in time

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate the rate at which a given unit is damaged by an unspecified source.

Consider the graph given below.


In the graph above, we observe that, at t = 0 seconds, an unspecified unit is said to have 100 hit points. We then observe that, at t = 10 seconds, the unit is said to have 0 hit points. By calculating the quotient of these differences in time and damage, we can determine the rate at which this unit was damaged over time, as demonstrated below.

|0 damage - 100 damage||-100 damage|100 damage10 damage
d=
=
=
=
=10 damage/second
10 seconds - 0 seconds10 seconds10 seconds1 second

In this case, the unit sustained 10 damage every second for a period of 10 seconds, resulting in a total of 100 damage.

You'll be pleased to know that such computations are not entirely necessary, as the amount of damage dealt by a given unit per second is conveniently listed on the corresponding unit table for that unit.

Modifiers to Damage

Like many properties, the amount of damage that a given unit inflicts can be modified in a variety of different ways. The equation used to determine the amount of damage that a given unit will inflict after modifiers are taken into account is given below.

db (100% + m)
d=
100%

Where:

d=The total output of damage that a given unit inflicts over time after modifiers are taken into account
db=The base output of damage that a given unit inflicts over time
m=The percentage by which the sum of all modifiers to a unit increases its output of damage over time

I will demonstrate the proper use of this equation in the following example, where a unit that inflicts 10 damage/second receives a 20% bonus from one research upgrade and a 5% bonus from another.

Because m is defined as the percentage by which the sum of all modifiers to a unit increases its output of damage over time, we will have to solve for the value of m by calculating the sum of each bonus that the unit in question receives before we can solve for d. The unit is said to receive a bonus of 20% and 5%, so the sum of these modifiers will be equal to m, as demonstrated below.

m=20% + 5%=25%

Once the value of m has been found, it can be substituted directly into the equation used to determine the total output of damage that a given unit inflicts over time after modifiers are taken into account, as demonstrated below.

10 damage/second (100% + 25%)10 damage/second (125%)1250% damage/second
d=
=
=
100%100%100%

125 damage/second12.5 damage/second12.5 damage
d=
=
=
=12.5 damage/second
1011 second

In this case, the unit in question received a total bonus of 25%, which resulted in a final output of 12.5 damage/second.

While all modifiers to damage can be accounted for in this manner, you'll be pleased to know that such computations are not entirely necessary, as the total output of damage that a given unit inflicts over time after modifiers are taken into account is conveniently listed on the corresponding unit table for that unit. As an added bonus, each contributing modifier is listed on the unit table as well.

While the amount of damage that a given unit inflicts is of great importance, another important variable to consider is the type of damage inflicted as well, as certain types of damage are less effective against certain targets and more effective against others. In Age of Mythology, there are essentially three types of damage. They include: crush damage, pierce damage, and hack damage. For each of these types of damage, the amount inflicted is dependent upon the properties of the target to which the type of damage is applied, as certain targets are more resistant to one type of damage than they are to another. This leads us to the next important topic in this section: armor.

Armor

Armor is a measure of how resistant a given target is to a given type of damage, so it can be thought of as a modifier to the damage that it sustains, and thus, an external modifier to the damage that the opposing source inflicts. Units have an armor rating for each of the three types of damage previously discussed, which are usually represented as a percentage on the unit table. The equation given below can be used to calculate the modifier to an opposing source of damage that results from a given units armor rating against a particular type of damage.

ab
a=
100%

Where:

a=Armor modifier
ab=The base percentage by which the designated type of damage is reduced

Note that it is essential that the unit’s armor correspond to the type of damage inflicted, otherwise, your calculations will be incorrect.

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate the modifier resulting from a unit that is 35% resistant to hack damage.

Because ab is defined as the base percentage by which the designated type of damage is reduced, it can be substituted directly into the equation used to determine the resulting modifier for the source of incoming damage, as demonstrated below.

35%
a=
=0.35
100%

In this case, the unit in question was 35% resistant to hack damage, which means that the resulting modifier to all external sources of this type of damage will be equal to 0.35 when applied to this unit. Note that this does not mean that the incoming damage will be multiplied by this amount, rather, this amount will be subtracted from one, and the resulting difference will then be multiplied by the source of incoming damage in order to determine the amount of damage sustained.

Modifiers to Armor

Like many properties, the percentage of armor, and, consequently, its resulting modifier to damage, can be altered in a variety of different ways. The equation used to determine the final value of the modifier to the damage that a given unit sustains, after all modifiers to its armor are taken into account, is given below.

ab (100% + m)
a=
100%2

Where:

a=The final value of the modifier to damage after all modifiers to armor are taken into account
ab=The base percentage by which the designated type of damage is reduced
m=The percentage by which the sum of all modifiers to a unit increases its armor

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate the final value of the modifier resulting from a unit that is 35% resistant to hack damage that receives a 5% bonus from one research upgrade and a 5% bonus from another.

Because m is defined as the percentage by which the sum of all modifiers to a unit increases its armor to a particular type of damage, we will have to solve for the value of m by calculating the sum of each bonus that the unit in question receives before we can solve for a. The unit is said to receive a bonus of 5% and 5%, so the sum of these modifiers will be equal to m, as demonstrated below.

m=5% + 5%=10%

Once the value of m has been found, it can be substituted directly into the equation used to determine the value of the final modifier to the damage that a given unit will sustain after all modifiers to a unit’s armor are taken into account, as demonstrated below.

35% (100% + 10%)35% (110%)3850%385
a=
=
=
=
=0.385
100%210000%10000%1000

In this case, the unit in question received a total bonus of 10% to its armor, which resulted in a final modifier of 0.385.

While all modifiers to a units armor can be accounted for in this manner, you'll be pleased to know that such computations are not entirely necessary, as the total percentage by which a given type of damage is reduced after modifiers are taken into account is conveniently listed on the corresponding unit table for that unit. As an added bonus, each contributing modifier is listed on the unit table as well.

Speed

Speed is the absolute value of any change in the position of an object over any change in time, as illustrated in the figure given below.



|Δx||x2 - x1|
s=
=
Δtt2 - t1

Where:

x1=Initial position
x2=Terminal position
s=Speed
t1=Initial time
t2=Terminal time
Δx=Change in position
Δt=Change in time

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate the rate at which a given unit moved from one position to another over a given period of time.

Consider the graph given below.


In the graph above, we observe that, at t = 0 seconds, an unspecified unit is said to have a position that lies 30 meters away from a designated origin in space. We then observe that, at t = 10 seconds, the unit is said to have a position that lies o meters away from a designated origin in space. By calculating the quotient of these differences in time and position, we can determine the rate at which this unit traveled through space, as demonstrated below.

|0 meters - 30 meters||-30 meters|30 meters3 meters
s=
=
=
=
=3 meters/second
10 seconds - 0 seconds10 seconds10 seconds1 second

In this case, the unit traveled at a rate of 3 meters per second for a period of 10 seconds, resulting in a total distance of 30 meters.

You'll be pleased to know that such computations are not entirely necessary, as the speed of a given unit is conveniently listed on the corresponding unit table for that unit.

Modifiers to Speed

Like many properties, the speed of a given unit can be modified in a variety of different ways. The equation used to determine the final speed of a unit after modifiers are taken into account is given below.

sb (100% + m)
s=
100%

Where:

s=The final speed of a unit after modifiers are taken into account
sb=The base speed of a unit
m=The percentage by which the sum of all modifiers to a unit increases its speed

I will demonstrate the proper use of this equation in the following example, where a unit that travels at a default speed of 5 meters/second receives a 10% bonus from one research upgrade and a 10% bonus from another.

Because m is defined as the percentage by which the sum of all modifiers to a unit increases its speed, we will have to solve for the value of m by calculating the sum of each bonus that the unit in question receives before we can solve for s. The unit is said to receive a bonus of 10% and 10%, so the sum of these modifiers will be equal to m, as demonstrated below.

m=10% + 10%=20%

Once the value of m has been found, it can be substituted directly into the equation used to determine the final speed of a unit after all modifiers have been taken into account, as demonstrated below.

5 meters/second (100% + 20%)5 meters/second (120%)600% meters/second
s=
=
=
100%100%100%

6 meters/second6 meters
s=
=
=6 meters/second
11 second

In this case, the unit in question received a total bonus of 20%, which resulted in a final speed of 6 meters/second.

While all modifiers to speed can be accounted for in this manner, you'll be pleased to know that such computations are not entirely necessary, as the final speed of a unit all after modifiers have been taken into account is conveniently listed on the corresponding unit table for that unit. As an added bonus, each contributing modifier is listed on the unit table as well.

Range

Range is a measure of the maximum distance at which a unit can attack others, and is represented by the variable r. The maximum range that a unit possesses is listed on the corresponding unit table for that unit.

Modifiers to Range

Like many properties, the range that a given unit possesses can be modified in a variety of different ways. The equation used to determine the final value of the range of a given unit after the application of modifiers is given below.

rb (100% + m)
r=
100%

Where:

r=The final value of range that a given unit possesses after the application of modifiers
rb=The base value of range that a given unit possesses
m=The percentage by which the sum of all modifiers to a unit increases its range

I will demonstrate the proper use of this equation in the following example, where a unit with a range of 10 meters receives a 10% bonus from one research upgrade and a 5% bonus from another.

Because m is defined as the percentage by which the sum of all modifiers to a unit increases its range, we will have to solve for the value of m by calculating the sum of each bonus that the unit in question receives before we can solve for r. The unit is said to receive a bonus of 10% and 5%, so the sum of these modifiers will be equal to m, as demonstrated below.

m=10% + 5%=15%

Once the value of m has been found, it can be substituted directly into the equation used to determine the final value of the range that a given unit possesses after the application of modifiers, as demonstrated below.

10 meters (100% + 15%)10 meters (115%)1150% meters115 meters
r=
=
=
=
=11.5 meters
100%100%100%10

In this case, the unit in question received a total bonus of 15%, which resulted in a final range of 11.5 meters.

While all modifiers to range can be accounted for in this manner, you'll be pleased to know that such computations are not entirely necessary, as the final range of a unit after the application of modifiers is taken into account is conveniently listed on the corresponding unit table for that unit. As an added bonus, each contributing modifier is listed on the unit table as well.

The Period of One Killing Cycle

Now that we have discussed the various properties of units that will be used in this system of ranking, we are ready to explore how these properties relate to one another. Although the properties of each unit can vary widely from one another, you will find that the ultimate measure of a military unit's value is its performance in combat – its killing speed. As you will soon see, a unit's killing speed is a reflection of almost every attribute it possesses.

How long would it take for unit A to kill unit B?

The equation below can be used to calculate the time taken for unit A to kill unit B.

h2
P1=
d1m1 (1 – a2)

Where:

a2=The amount by which unit A's damage is reduced (unit B's hack/pierce/crush armor)
d1=The amount of damage dealt by unit A per second
h2=The amount of damage that unit B can sustain before death (unit B's HP)
m1=The amount by which unit A's damage is increased by modifiers against other units
P1=The period of one killing cycle for unit A

It should be noted that this equation does not account for shortcomings in range, nor does it account for units whose accuracy in combat is less than 100%. As a result, this equation should only be used if unit A's range is greater than or equal to that of unit B and unit A has an accuracy of 100%. Also, it is essential that unit B's armor correspond to the type of damage inflicted by unit A. Lastly, this equation always assumes that unit A initiates the first attack in the sequence of attacks exchanged between the two units.

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate how long it would take for one Hoplite (unit A) to kill another Hoplite (unit B). This scenario is illustrated in the image below.


Hoplites possess 115 HP, which means that they can sustain 115 damage before dying. In order to discern how long it would take for one Hoplite (Hoplite A) to kill another Hoplite (Hoplite B), you need to divide the amount of damage that Hoplite B can sustain (115 damage) by the amount that Hoplite A inflicts every second (8 damage/second), as demonstrated below.

115 damage
P1=
(8 damage/second)(m1)(1 – a2)

However, before dividing, you must account for any modifiers to the damage that Hoplite A inflicts.

Ask yourself the following questions:
  • Do Hoplites receive a bonus to the damage they inflict when battling other Hoplites?
  • How resistant are Hoplites to the type of damage that other Hoplites inflict?
Hoplites receive no bonus to the damage they inflict when battling other Hoplites. As a result, the modifier to Hoplite A's damage per second will be equal to 1 (the default value of m), as demonstrated below.

115 damage
P1=
(8 damage/second)(1)(1 – a2)

Hoplites are 35% resistant to hack attacks, which means, according to the definition of armor previously established, that the modifier by which Hoplite A's damage is reduced will be equal to 0.35, as demonstrated below.

115 damage
P1=
(8 damage/second)(1)(1 – 0.35)

Once you have accounted for any modifiers to the damage that Hoplite A inflicts, you can proceed with the arithmetic.

115 damage
P1=
(8 damage/second)(1)(1 – 0.35)

115 damage
P1=
(8 damage/second)(1)(0.65)

115 damage
P1=
(8 damage/second)(0.65)

115 damage
P1=
5.2 damage/second

115 damage1 second
P1=
x
15.2 damage

115 damageseconds
P1=
5.2 damage

115 seconds
P1=
5.2

P1=22.1153846154 seconds

Note that these are the base statistics for each unit without the inclusion of any upgrades.

One might speculate that a unit A's resilience in combat, that is, its ability to sustain damage, rather than deal it, is also of vital importance. However, doing so would overlook the fact that unit A's survival is actually dependent upon the killing speed of the unit it faces (unit B), and thus, equal to the killing speed of the unit it faces (unit B). As a result, it is by calculating the period of one killing cycle for unit B that we discern the resilience of unit A, which leads us to the next equation used in this system of ranking: the equation for the period of one killing cycle for unit B.

How long would it take for unit B to kill unit A?

The equation below can be used to calculate the time taken for unit B to kill unit A.

h1
P2=
d2m2 (1 - a1)

Where:

a1=The amount by which unit B's damage is reduced (unit A's hack/pierce/crush armor)
d2=The amount of damage dealt by unit B per second
h1=The amount of damage that unit A can sustain before death (unit A's HP)
m2=The amount by which unit B's damage is increased by modifiers against other units
P2=The period of one killing cycle for unit B

It should be noted that this equation does not account for shortcomings in range, nor does it account for units whose accuracy in combat is less than 100%. As a result, this equation should only be used if unit B's range is greater than or equal to that of unit A and unit B has an accuracy of 100%. Also, it is essential that unit A's armor correspond to the type of damage inflicted by unit B. Lastly, this equation always assumes that unit B initiates the first attack in the sequence of attacks exchanged between the two units.

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate how long it would take for one Hoplite (Hoplite B) to kill another Hoplite (Hoplite A). This scenario is illustrated in the image below.


Hoplites possess 115 HP, which means that they can sustain 115 damage before dying. In order to discern how long it would take for one Hoplite (Hoplite B) to kill another Hoplite (Hoplite A), you need to divide the amount of damage that Hoplite A can sustain (115 damage) by the amount that Hoplite B inflicts every second (8 damage/second), as demonstrated below.

115 damage
P2=
(8 damage/second)(m2)(1 - a1)

However, before dividing, you must account for any modifiers to the damage that Hoplite B inflicts.

Ask yourself the following questions:
  • Do Hoplites receive a bonus to the damage they inflict when battling other Hoplites?
  • How resistant are Hoplites to the type of damage that other Hoplites inflict?
Hoplites receive no bonus to the damage they inflict when battling other Hoplites. As a result, the modifier to Hoplite B's damage per second will be equal to 1 (the default value of m), as demonstrated below.

115 damage
P2=
(8 damage/second)(1)(1 – a1)

Hoplites are 35% resistant to hack attacks, which means, according to the definition of armor previously established, that the modifier by which Hoplite B's damage is reduced will be equal to 0.35, as demonstrated below.

115 damage
P2=
(8 damage/second)(1)(1 – 0.35)

Once you have accounted for any modifiers to the damage that Hoplite B inflicts, you can proceed with the arithmetic.

115 damage
P2=
(8 damage/second)(1)(1 – 0.35)

115 damage
P2=
(8 damage/second)(1)(0.65)

115 damage
P2=
(8 damage/second)(0.65)

115 damage
P2=
5.2 damage/second

115 damage1 second
P2=
x
15.2 damage

115 damageseconds
P2=
5.2 damage

115 seconds
P2=
5.2

P2=22.1153846154 seconds

Note that these are the base statistics for each unit without the inclusion of any upgrades.

In this case, because unit A and B are both Hoplites, the period of one killing cycle for unit A is equal to that of unit B. Thus, in the event that either of the two Hoplites initiates the first attack, the time taken for Hoplite A to kill Hoplite B will be identical to the time taken for Hoplite B to kill Hoplite A.

As previously stated, these equations do not account for shortcomings in range. Because this system of ranking evaluates units based upon their comparative performance in combat, the advantage of additional range should be taken into account, otherwise, units with ranged attacks will appear less valuable than they actually are. Why? Because, units with superior range can attack units of inferring range while they close ground, which gives them a couple of free shots. This leads us to the next equation used in this system of ranking: the equation for the period of one killing cycle for unit A in the event that its range is less than that of unit B.

How long would it take for unit A to kill unit B if unit B outranges unit A?

The equation below can be used to calculate the time taken for unit A to kill unit B if the range of unit B exceeds that of unit A and unit A be must cover ground before engaging unit B directly in combat.

If and only if r1 < r2,

h2r2 – r1
P1=
+
d1m1 (1 – a2)s1

Where:

a2=The amount by which unit A's damage is reduced (unit B's hack/pierce/crush armor)
d1=The amount of damage dealt by unit A per second
h2=The amount of damage that unit B can sustain before death (unit B's HP)
m1=The amount by which unit A's damage is increased by modifiers against other units
P1=The period of one killing cycle for unit A
r1=Unit A's range
r2=Unit B's range
s1=Unit A's speed

It should be noted that this equation does not account for units whose accuracy in combat is less than 100%. As a result, this equation should only be used if unit A has an accuracy of 100%. Also, it is essential that unit B's armor correspond to the type of damage inflicted by unit A. Lastly, this equation always assumes that unit A initiates the first attack in the sequence of attacks exchanged between the two units.

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate how long it would take for one Hoplite (unit A) to kill one Toxotes (unit B). This scenario is illustrated in the image given below.

In this example, the Hoplite (unit A) is out-ranged, and consequently, must first cover a certain amount of ground before it can engage the Toxotes (unit B) in direct combat. The question is: How much ground does the Hoplite have to cover?

In order to discern the distance that the Hoplite (unit A) must travel before it can engage in direct combat with the Toxotes (unit B), you must discern both the range of the Hoplite (unit A) and the Toxotes (unit B), and then find the difference between these two values. Toxotai have a range of 15 meters, while Hoplites possess a range of 0.3 meters. This means that the Hoplite must travel a minimum of 14.7 meters before it is within range of attack, as demonstrated in the equation given below.

h215.0 meters – 0.3 meters
P1=
+
d1m1 (1 – a2)s1

h214.7 meters
P1=
+
d1m1 (1 – a2)s1

Once you have discerned the distance that the Hoplite (unit A) must travel before it is within range of attack (14.7 meters), you must determine how long it will take the Hoplite to travel this distance by dividing it by the speed at which Hoplites travel (4.2 meters/second), as demonstrated below.

h214.7 meters
P1=
+
d1m1 (1 – a2)4.2 meters/second

Toxotai possess 60 HP, which means that they can sustain 60 damage before dying. In order to discern how long it would take for the Hoplite (Unit A) to kill the Toxotes (Unit B) once it was within range of attack, you need to divide the amount of damage that Toxotai can sustain (60 damage) by the amount that the Hoplite inflicts every second (8 damage/second), as demonstrated below.

60 damage14.7 meters
P1=
+
(8 damage/second)(m1)(1 – a2)4.2 meters/second

However, before dividing, you must account for any modifiers to the damage that the Hoplite (unit A) inflicts.

Ask yourself the following questions:
  • Do Hoplites receive a bonus to the damage they inflict when battling Toxotai?
  • How resistant are Toxotai to the type of damage that Hoplites inflict?
Hoplites receive no bonus to the damage they inflict when battling Toxotai. As a result, the modifier to the Hoplite's damage per second will be equal to 1 (the default value of m), as demonstrated below.

60 damage14.7 meters
P1=
+
(8 damage/second)(1)(1 – a2)4.2 meters/second

Toxotai are 15% resistant to hack attacks, which means, according to the definition of armor previously established, that the modifier by which the Hoplite's damage is reduced will be equal to 0.15, as demonstrated below.

60 damage14.7 meters
P1=
+
(8 damage/second)(1)(1 – 0.15)4.2 meters/second

Once you have accounted for any modifiers to the damage that the Hoplite inflicts, you can proceed with the arithmetic.

60 damage14.7 meters
P1=
+
(8 damage/second)(1)(1 – 0.15)4.2 meters/second

60 damage14.7 meters
P1=
+
(8 damage/second)(1)(1 – 0.15)4.2 meters/second

60 damage14.7 meters
P1=
+
(8 damage/second)(0.85)4.2 meters/second

60 damage14.7 meters
P1=
+
6.8 damage/second4.2 meters/second

60 damage1 second14.7 meters1 second
P1 = 
 x 

 + 
 x 
16.8 damage14.2 meters

60 damageseconds14.7 metersseconds
P1=
+
6.8 damage4.2 meters

60 seconds14.7 seconds
P1=
+
6.84.2

P1=8.823529412 seconds+3.5 seconds

P1=12.32352941 seconds

Note that these are the base statistics for each unit without the inclusion of any upgrades.

As previously stated, unit A's survival is dependent upon the killing speed of the unit it faces (unit B), and thus, equal to the killing speed of the unit it faces (unit B). As a result, it is by calculating the period of one killing cycle for unit B that we discern the resilience of unit A. Thus, if unit B is out-ranged by unit A, such an advantage must be taken into account because it will extend the period of unit B's killing cycle, rendering unit A more resilient. This leads us to the next equation used in this system of ranking: the equation for the period of one killing cycle for unit B in the event that its range is less than that of unit A.

How long would it take for unit B to kill unit A if unit A outranges unit B?

The equation below can be used to calculate the time taken for unit B to kill unit A if the range of unit A exceeds that of unit B and unit B be must cover ground before engaging unit A directly in combat.

If and only if r2 < r1,

h1r1 – r2
P2=
+
d2m2 (1 – a1)s2

Where:

a1=The amount by which unit B's damage is reduced (unit A's hack/pierce/crush armor)
d2=The amount of damage dealt by unit B per second
h1=The amount of damage that unit A can sustain before death (unit B's HP)
m2=The amount by which unit B's damage is increased by modifiers against other units
P2=The period of one killing cycle for unit B
r1=Unit A's range
r2=Unit B's range
s2=Unit B's speed

It should be noted that this equation does not account for units whose accuracy in combat is less than 100%. As a result, this equation should only be used if unit A has an accuracy of 100%. Also, it is essential that unit B's armor correspond to the type of damage inflicted by unit A. Lastly, this equation always assumes that unit A initiates the first attack in the sequence of attacks exchanged between the two units.

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate how long it would take for one Hoplite (unit B) to kill one Toxotes (unit A). This scenario is illustrated in the image given below.

In this example, the Hoplite (unit B) is out-ranged, and consequently, must first cover a certain amount of ground before it can engage the Toxotes (unit A) in direct combat. The question is: How much ground does the Hoplite have to cover?

In order to discern the distance that the Hoplite (unit B) must travel before it can engage in direct combat with the Toxotes (unit A), you must discern both the range of the Hoplite (unit B) and the Toxotes (unit A), and then find the difference between these two values. Toxotai have a range of 15 meters, while Hoplites possess a range of 0.3 meters. This means that the Hoplite must travel a minimum of 14.7 meters before it is within range of attack, as demonstrated in the equation given below.

h115.0 meters – 0.3 meters
P2=
+
d2m2 (1 – a1)s2

h114.7 meters
P2=
+
d2m2 (1 – a1)s2

Once you have discerned the distance that the Hoplite (unit B) must travel before it is within range of attack (14.7 meters), you must determine how long it will take the Hoplite to travel this distance by dividing it by the speed at which Hoplites travel (4.2 meters/second), as demonstrated below.

h114.7 meters
P2=
+
d2m2 (1 – a1)4.2 meters/second

Toxotai possess 60 HP, which means that they can sustain 60 damage before dying. In order to discern how long it would take for the Hoplite (Unit B) to kill the Toxotes (Unit A) once it was within range of attack, you need to divide the amount of damage that Toxotai can sustain (60 damage) by the amount that the Hoplite inflicts every second (8 damage/second), as demonstrated below.

60 damage14.7 meters
P2=
+
(8 damage/second)(m2)(1 – a1)4.2 meters/second

However, before dividing, you must account for any modifiers to the damage that the Hoplite (unit B) inflicts.

Ask yourself the following questions:
  • Do Hoplites receive a bonus to the damage they inflict when battling Toxotai?
  • How resistant are Toxotai to the type of damage that Hoplites inflict?
Hoplites receive no bonus to the damage they inflict when battling Toxotai. As a result, the modifier to the Hoplite's damage per second will be equal to 1 (the default value of m), as demonstrated below.

60 damage14.7 meters
P2=
+
(8 damage/second)(1)(1 – a1)4.2 meters/second

Toxotai are 15% resistant to hack attacks, which means, according to the definition of armor previously established, that the modifier by which the Hoplite's damage is reduced is equal to 0.15, as demonstrated below.

60 damage14.7 meters
P2=
+
(8 damage/second)(1)(1 – 0.15)4.2 meters/second

Once you have accounted for any modifiers to the damage that the Hoplite inflicts, you can proceed with the arithmetic.

60 damage14.7 meters
P2=
+
(8 damage/second)(1)(1 – 0.15)4.2 meters/second

60 damage14.7 meters
P2=
+
(8 damage/second)(1)(1 – 0.15)4.2 meters/second

60 damage14.7 meters
P2=
+
(8 damage/second)(0.85)4.2 meters/second

60 damage14.7 meters
P2=
+
6.8 damage/second4.2 meters/second

60 damage1 second14.7 meters1 second
P2 = 
 x 

 + 
 x 
16.8 damage14.2 meters

60 damageseconds14.7 metersseconds
P2=
+
6.8 damage4.2 meters

60 seconds14.7 seconds
P2=
+
6.84.2

P2=8.823529412 seconds+3.5 seconds

P2=12.32352941 seconds

Note that these are the base statistics for each unit without the inclusion of any upgrades.

The Unit Ratio

If we assume that each unit’s output of damage over time is relatively constant, then we can also surmise that each unit will continue to damage the other at a constant rate until one unit kills the other. Following this logic, we can use the period of one killing cycle for unit B to determine not only how long unit A will survive, but also, how much unit A will damage unit B, vice versa. Thus, by calculating the period of one killing cycle for both unit A and B, we can compare the killing speed of each unit and calculate how many of one unit is required in order to kill one of the other.

How many of unit B is required to kill one of unit A?

The equation below can be used to calculate the unit ratio for unit A.

P2
R1=
P1

Where:

P1=The period of one killing cycle for unit A
P2=The period of one killing cycle for unit B
R1=The unit ratio for unit A (the number of units that unit A can kill of unit B)

It should be noted that this equation does not account for units whose accuracy in combat is less than 100%. As a result, this equation should only be used if unit A and B have an accuracy of 100%. Also, it is essential that each unit’s armor correspond to the type of damage inflicted by the one in opposition. Lastly, this equation always assumes that both units initiate the first attack in the sequence of attacks exchanged between them.

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate how many Hoplites (unit B) it would take in order to kill one Hoplite (unit A). This scenario is illustrated in the image below.


Recall that, in the previous examples, we determined that the period of one killing cycle for Hoplite A was identical to that of Hoplite B (both were equal to 22.1153846154 seconds). If we calculate the quotient of these two values by substituting them directly into the equation given above, we can calculate the unit ratio for unit A, as demonstrated below.

22.1153846154 seconds
R1=
=1
22.1153846154 seconds

In this case, since both units are identical, the unit ratio for unit A is equal to 1, indicating that it will kill one of unit B.

In order to calculate the unit ratio for unit B, you need only observe that the value of that ratio will always be inversely proportional to the value of the unit ratio for unit A, and vice versa.

How many of unit A is required to kill one of unit B?

The equations below can be used to calculate the unit ratio for unit B.

P11
R2=
=
P2R1

Where:

P1=The period of one killing cycle for unit A
P2=The period of one killing cycle for unit B
R1=The unit ratio for unit A (the number of units that unit A can kill of unit B)
R2=The unit ratio for unit B (the number of units that unit B can kill of unit A)

It should be noted that this equation does not account for units whose accuracy in combat is less than 100%. As a result, this equation should only be used if unit A and B have an accuracy of 100%. Also, it is essential that each unit’s armor correspond to the type of damage inflicted by the one in opposition. Lastly, this equation always assumes that both units initiate the first attack in the sequence of attacks exchanged between them.

I will demonstrate the proper use of each of these equations in the following example, where I will use them to calculate how many Hoplites (unit A) it would take in order to kill one Hoplite (unit B). This scenario is illustrated in the image below.


Recall that, in the previous examples, we determined that the period of one killing cycle for Hoplite B was identical to that of Hoplite A (both were equal to 22.1153846154 seconds). If we calculate the quotient of these two values by substituting them directly into the equation given above, we can calculate the unit ratio for unit B, as demonstrated below.

22.1153846154 seconds
R2=
=1
22.1153846154 seconds

In this case, since both units are identical, the unit ratio for unit B is equal to that of unit A, even though, by definition, it is inversely proportional to that of unit A, as demonstrated below.

11
R2=
=
=1
R11

Because both units are identical, it makes sense that the resulting unit ratios for each unit are equal.

As we have observed, the unit ratio is a powerful tool with which we can measure minute discrepancies in the performance of units in melee combat, at least in situations involving the interaction of only two units at any one time (one of unit A and one of unit B). But are such comparisons really meaningful if the frequency of such encounters is scarce? After all, more often than not, several units are interacting at any one time, if not because they were deployed in such a manner, then because they are literally of limited production due to their population cost (a topic we will explore later). It is therefore necessary to include an equation by which we can assess a unit’s performance in combat, even in situations involving the interaction of multiple opposing units.

If we consider that fact that most normal units are only capable of attacking a single target at any one time, and we observe that such units are typically produced in mass quantities, we can recognize that most situations involving the interaction of multiple units only require us the calculate how many units (how many of unit B) are in opposition to the unit that we care to evaluate (unit A). This brings us to the next equation used in this system of ranking: the equation used to calculate the unit ratio for unit A against a variable number of unit B.

How many of unit A is required to kill n number of unit B?

The equation below can be used to calculate the unit ratio for unit A against a variable number of unit B.

If and only if P2 < P1,

R
Rn=
n

Where:

n=The number of opposing units faced at once (unit B)
R=The unit ratio of unit A
R=The corresponding unit ratio, describing the maximum number of unit B killed

It should be noted that this equation does not account for units whose accuracy in combat is less than 100%. As a result, this equation should only be used if unit A and units B have an accuracy of 100%. Also, it is essential that each unit’s armor correspond to the type of damage inflicted by the one in opposition. Lastly, this equation always assumes that all units initiate the first attack in the sequence of attacks exchanged between any number of units.

I will demonstrate the proper use of this equation in the following example, where I will use it to calculate how many Hoplites (units B) that a single Hoplite (unit A) could kill when faced with two in opposition.

1
Rn=
=0.5
2

In this case, the Hoplite (unit A) is half as effective against two opposing Hoplites (units B) as it was against one, as suggested by the unit ratio of 0.5. This means that, at best, this Hoplite will kill only one half of an opposing Hoplite (units B). This is because the Hoplite (unit A) will live half as long, as two opposing Hoplites (units B) equals two times the output of damage over time, which means that the total damage that it (unit A) will inflict will be equal to half its original amount.

If we were to continue to calculate the unit ratio of a Hoplite (unit A) against increasing numbers of opposing Hoplites (units B), we would observe the trend illustrated in the graph given below.



In the graph above, we observe that, when the number of opposing Hoplites (units B) faced at one time increases, the efficiency of the unit itself (unit A) decreases proportionally to the number of units in opposition (units B). In fact, this trend is also present in other unit ratios as well, not simply those shared between Hoplites. The figure below shows a trend of Hoplites to Hoplites (black) and Hoplites to Spearmen (blue).



SPOILER ALERT!

Whether you can or cannot see how the equation previously discussed could be integrated into another in order to predict the outcome of battles in progress, stay tuned, as I plan on releasing this equation to the general public within the near future.


Ideas to expand upon...

The concepts below are to be reformatted, updated, and expanded upon within the near future.



Averaging Unit Ratios

If you calculate a particular unit's unit ratio for every other type of unit, you can assess its average efficiency in combat and compare it to that of other units. For example, let's say I calculated a Hoplite's unit ratio for each of the basic human units accessible to civilizations during the classical age:

0.6065934066
0.8492307692
1.0000000000
1.0451979120
1.0454545455
1.3479853480
1.3760683761
1.6000000000
1.6890031210
1.7331240188
3.3916157573
3.4502334744

Note that these are base statistics for each unit without the inclusion of any upgrades.

Notice how the table above lists the units in order of increasing unit ratio. This allows you to see exactly how much more or less effective Hoplites are against each type of unit in a way that was not possible before. For example, we can observe that Hoplites are least effective against Axemen and most effective against Turma. If you divide these two ratios, you can actually see how much more or less efficient (Hoplites are 81% less effective against Axeman than they are against Turma). You can also use the unit ratio to determine the number of Hoplites you would require in order to be successful, were you to deploy them against a certain unit type.

Another interesting thing you can do is average these ratios to see which civilization Hoplites excel at fighting against.

Civilization
Greek1.1794112967
Norse1.2564172120
Egyptian1.9104443943
Atlantean2.0318960066

Note that these are base statistics for each unit without the inclusion of any upgrades.

We can see from these averages that Hoplites are the most effective against Atlanteans and least effective against Greeks.

You can also calculate a units average unit ratio by averaging its unit ratio for all other types of units. For example, the average of all the above statistics would be 1.594542227. This overall average would obviously include many more units, but it could then be compared to other units (which would all have an average unit ratio as well) in a distribution.

The table below displays the unit ratio for each of the basic human units accessible to civilizations during the classical age. Note that each unit's corresponding unit ratios are listed vertically beneath its corresponding picture.

1.002.860.610.380.581.800.960.350.581.551.060.44
0.351.000.851.590.810.630.130.540.290.270.180.62
1.651.181.000.630.960.740.290.580.960.590.290.73
2.640.631.601.001.530.400.440.921.170.880.611.16
1.721.231.050.651.000.780.320.600.810.640.310.76
0.561.591.352.531.291.000.190.860.320.340.260.98
1.047.433.392.273.125.251.002.070.430.461.622.52
2.861.861.731.081.661.170.481.001.300.970.551.26
1.733.411.050.851.233.172.340.771.001.552.160.93
0.653.701.691.131.562.902.171.030.651.003.511.25
0.945.643.451.643.183.890.621.830.460.291.002.56
2.271.621.380.861.321.020.400.791.070.800.391.00

Note that each unit ratio recorded in the table above has been confirmed to 95% certainty by experiments conducted in-game. Lastly, note that these unit ratios were calculated using the base statistics for each unit, without the inclusion of any upgrades.

Average Unit Ratio
2.68
1.90
1.59
1.52
1.45
1.22
1.18
0.99
0.95
0.78
0.78
0.75

CivilizationAverage Unit Ratio
Greek1.68
Norse1.28
Atlantean1.24
Egyptian1.06


Unit Ratio Percentiles

After compiling the various average unit ratios to be found in the game, you could plot them all on a distribution and then assign each unit a percentile, telling you even more about how it compares to all other units in the game.


Unit Costs

You can also evaluate units based upon their cost and whether or not they pay for themselves (more information on this is pending). The equations previously discussed regarding your acquisition of resources over time will also be incorporated once all of this is sorted out. You can find the original post pertaining to calculations of your acquisition of resources over time here.

Additional notes...

All of the equations are finished, but some are still in the process of being simplified.

On a side note, all numbers used are rough approximations. Depending on your computer, or your own personal estimations, you will have different variations in answers. For example, your computer may be running slow, and this may cause the unit speeds to decrease. It is also noted that the hills in a game of AoM can cause your units to go faster or slower, depending on the height of the incline.

If this explanation seems incomplete, that's because it is. I have a lot of things to contribute, but I am very limited on time.

Some of the things that are pending include:

- Equations accounting for unit accuracy in combat
- Equations accounting for unit special abilities/attacks
- Revision of the above subject matter and an update of the statistics
- Examples for each equation
- Database of all of the said statistics for each unit

[This message has been edited by Sagacious (edited 01-03-2013 @ 03:00 PM).]

Replies:
posted 05 March 2012 04:30 AM EDT (US)     1 / 13  
Sweet! You have come very far and I am proud to see you achieve this

I shall email our new seraph as this is indefinitely news worthy

Leader and Trigger Artist of Mythic Studios
I need players for my Peloponnesian War RPG (Its Semi-Historical)
Now quit being a bitch and quote me in your signature like Yeebaagooon used to. ~Out Reach
posted 06 March 2012 02:35 PM EDT (US)     2 / 13  
You know what? I actually understood it.

"Preparation is not prevention. Just because you know what's coming does not mean you can stop it."
--Me

Something to remember: always know where you're going, but never forget where you came from.

The Age of Chivalry is upon us! Visit the only wiki devoted exclusively to Aoc:H by clicking on the preceding link. Oh yeah, and it works with the HD edition, too--just make sure to get this first.
posted 06 March 2012 06:26 PM EDT (US)     3 / 13  
I will be writing the news article

If there are any previews or anything specific you want me to quote or highlight email me please Sagacious!

hades@heavengames.com

Leader and Trigger Artist of Mythic Studios
I need players for my Peloponnesian War RPG (Its Semi-Historical)
Now quit being a bitch and quote me in your signature like Yeebaagooon used to. ~Out Reach
posted 06 March 2012 07:23 PM EDT (US)     4 / 13  
You know what? I actually understood it.
That is the general idea.
I will be writing the news article

If there are any previews or anything specific you want me to quote or highlight email me please Sagacious!
Very well. You should specify that this is still a work in progress, and that not all of the equations that are to be included in this system of ranking have been published.

[This message has been edited by Sagacious (edited 03-07-2012 @ 01:18 AM).]

posted 07 March 2012 06:57 PM EDT (US)     5 / 13  
Hmmm, yes, indeed.

Current Projects:
Legends of Middle-Earth 5.0 LoME Spring 2021 Update!Legend of Zelda V1.1 Modpackpack Released! Have a nice day.
posted 08 March 2012 00:08 AM EDT (US)     6 / 13  
I have just posted a table displaying the unit ratios for each of the basic human units accessible to civilizations during the classical age. The results posted on this table took a long time to develop, as they required me to perform over 144 separate calculations in order to obtain them. You’ll be pleased to know that each unit ratio recorded in the table has been confirmed to 95% certainty by experiments conducted in the game.

You can find this table at the bottom of the original post.

Note that I will expand upon this table within the near future by providing a detailed analysis of each unit individually. For now, I have provided the average unit ratio for each unit, but note that these averages are subject to change as more and more units are added to the database.

Lastly, if you would like to request that a particular unit (or units) be included within the near future, feel free to submit your request here.

[This message has been edited by Sagacious (edited 03-09-2012 @ 02:38 PM).]

posted 08 March 2012 09:42 PM EDT (US)     7 / 13  
In the table, do higher numbers mean better or lower numbers? And the unit vs unit one, is it horizontal or vertical that has the number against opposite unit?

also, where are contarius, arcus, and cheiroballista?

Tired of unorigional, boring campaigns? Try out DEMO|Legacy - The Uprising|DEMO
Completely New Gameplay. Random Map Type Replayability. Delve into Nomadican|FEATURES|DOWNLOAD|
Want to know how to use triggers and/or create amazing factors in your scenarios? You need Combination Effects|FEATURES|DOWNLOAD|
Automaton Metals Textures, New Custom Triggers
Upcoming Projects: Legacy - The Uprising, Destiny
6/12/1997, a day that will live in infamy.

[This message has been edited by WinstonShnozwick (edited 03-08-2012 @ 09:48 PM).]

posted 09 March 2012 12:39 PM EDT (US)     8 / 13  
In the table, do higher numbers mean better or lower numbers?
The unit ratio essentially tells you the number of unit B that unit A can kill before dying. Thus, if unit A has a unit ratio of 1.5 to unit B, then that means that, after killing the first unit B, it will kill 50% of the second unit B before it dies (1.50 - 1.00 = 0.50), making for a total of 1.5 units killed.

It is important to note that this does not mean that unit A can fight 1.5 of unit B at one time and kill the same amount of units. It means that, when facing one of unit B at any one time, unit A will kill a total of 1.5 units. If it helps to conceptualize, imagine a line of opposing units (unit B) from which one unit moves to fight unit A as soon as the unit before it dies.
And the unit vs unit one, is it horizontal or vertical that has the number against opposite unit?
Unit A is represented by the picture at the top of the column while the unit in opposition to it (unit B) is represented by the picture to the very left of each row. Thus, if you want to know the unit ratio for Axemen (unit A) when they are fighting Hoplites (unit B), you locate the column corresponding to Axemen (in this case, that is the first column) and then you scroll down that column until you intersect the row corresponding to Hoplites (in this case, that is the fourth row down). The number listed in this cell (which, in this case, is 1.65) is the unit ratio for Axemen (unit A) when they are facing Hoplites (unit B).

If you want to know the corresponding unit ratio of Hoplites to Axemen, then simply treat Hoplites as unit A and Axemen as unit B. Just as before, locate the column corresponding to Hoplites (in this case, that is the third column) and then scroll down that column until you intersect the row corresponding to Axemen (in this case, that is the second row down). The number listed in this cell (which, in this case, is 0.61) is the unit ratio for Hoplites (unit A) when they are facing Axemen (unit B).

It may make for easier navigation if you note that the units are listed alphabetically by name in both the columns and rows.
also, where are contarius, arcus, and cheiroballista?
The tables currently posted only display the unit ratio for each of the basic human units accessible to civilizations during the classical age. If a particular unit has yet to be included, it is not because they are excluded from this system of ranking altogether, it is because I have yet to perform the necessary calculations to make their inclusion possible.

[This message has been edited by Sagacious (edited 10-08-2017 @ 03:18 PM).]

posted 06 April 2012 09:59 AM EDT (US)     9 / 13  
This is very good work. Congrats on the finished product. I will definitely use this as a reference for sup games.

posted 07 April 2012 10:28 PM EDT (US)     10 / 13  
It is far from finished.
posted 02 May 2012 07:14 PM EDT (US)     11 / 13  
I intend to complete this project over the coming summer, as I have finally finished simplifying the remaining equations necessary to predict the outcome of future battles and will release them to the general public within the near future.

[This message has been edited by Sagacious (edited 05-02-2012 @ 07:17 PM).]

posted 02 May 2012 11:56 PM EDT (US)     12 / 13  
You need to take in account attack speed too. For example, if it take 20.1 seconds for unit A to kill units B and 20.4 seconds for units B to kill unit A, and unit A has an attack speed of 1 attack per second, whereas unit B's is 0.5, unit B would kill unit A, since unit A would have to wait for the 21st second to finish unit B, while unit B would have to wait for the 20.5th second to finish unit A.

Attack speeds are not always the same: for example, look at the Fanatic; while its dps is the same, one attack take less time to do, and another takes more time to do (and deals more damage). In a close combat where the Fanatic would kill its opponent using its quicker attack, it could be killed if it used its longer attack, since its opponent would have more time to attack.

There's also the spread factor of range units to take in account (for example, missing its target for a range unit might mean the difference between killing the target, or getting killed by it).

[This message has been edited by theonefrog5545 (edited 05-03-2012 @ 00:09 AM).]

posted 03 May 2012 07:28 PM EDT (US)     13 / 13  
You need to take in account attack speed too. For example, if it take 20.1 seconds for unit A to kill units B and 20.4 seconds for units B to kill unit A, and unit A has an attack speed of 1 attack per second, whereas unit B's is 0.5, unit B would kill unit A, since unit A would have to wait for the 21st second to finish unit B, while unit B would have to wait for the 20.5th second to finish unit A.

Attack speeds are not always the same: for example, look at the Fanatic; while its dps is the same, one attack take less time to do, and another takes more time to do (and deals more damage). In a close combat where the Fanatic would kill its opponent using its quicker attack, it could be killed if it used its longer attack, since its opponent would have more time to attack.

There's also the spread factor of range units to take in account (for example, missing its target for a range unit might mean the difference between killing the target, or getting killed by it).
I assure you that it is not a question of whether or not I have taken such variables into account. It is merely a question of whether or not the equations accounting for the said variables are at all practical to the general public (I can assure you, they are not). I intend to keep this system as simple as possible. Once I have finished posting the basics, I will create a more sophisticated version for those who are better versed in the language of mathematics. Until then, you will have to be patient.

Also, note that the average output of damage a given unit inflicts over a given period of time is taking attack speed into account. While the animation of some attacks may be different, the average damage per second is just that, an average. The only valid point is that of the current exclusion of accuracy and the reasons for its current exclusion are directly related to the complexity of the equations involved.

[This message has been edited by Sagacious (edited 05-03-2012 @ 07:37 PM).]

Age of Mythology Heaven » Forums » Strategy and General Discussion » Sagacious' Updated Unit Ranking System
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Mythology Heaven | HeavenGames