Turret damage
Introduction
This article investigates the To-Hit-Equation which is the fundament for all turret based weapon damage. Rather than delving deeply into the math, the aim is to give the reader a general understanding of how the equation works, and find a golden limit for how far tracking and falloff can be pushed while still keeping a high DPS. It will also describe how the random damage distribution of turrets works.
Additional information about turrets can also be found on http://wiki.eveuniversity.org/Turrets and tips and tricks for using turrets more effectively is at http://wiki.eveuniversity.org/Gunnery_Guide
Governing Equation
This is the To-Hit-Equation:
If you get a headache by just looking at this, don't worry, you will never have to actually do anything with it. And there will not be a test. It is however important, since it always works behind the scenes whenever someone uses a turret based weapon. But it isn't really the equation itself that is of interest in a fight, it is how it affects the fight. So that is what we will be looking at.
An example of how this is useful, is with autocannons. They have very short optimals and large falloffs, so in practice they always fight in falloff. So the question is, how far can one go into falloff without having any major loss in damage? The equation can tell us this.
But now we have rushed ahead. We should start with the very basics, by looking at the components inside the equation, its variables, so we see what it is that actually effect the chance to hit. Most of these variables are determined before you undock. From your choice of ship, your skill points and your fitting. There are in fact only two variables that are based on how you actually fly your ship in space, those two are Transversal speed and Range To Target. Remember this. How you fly have a direct impact on the damage from turret weapons.
- Transversal speed = Movement up/down/left/right relative to an object, but not towards or away from it (that is called radial speed). Measured in m/s.
- Range to target = The range to an object. Measured in meters.
- Turret tracking = Found on the attributes tab of a turret. Measured in rad/second.
- Turret signature resolution = Higher values make it harder to hit small signature radii. Measured in meters.
- Target signature radius = The size of the target, or more precisly the radius of an imagined circle that represents the target's sensor footprint. Measured in meters.
- max(0, x) = Takes the highest value of zero or x. Used to set all negative values to zero in this case.
- Turret optimal range = Found on the attributes tab of a turret. Inside this range no range penalites from distance are applied. Measured in meters.
- Falloff = Found on the attributes tab of a turret. Represents how rapidly a turret's accuracy declines as the target moves beyond optimal range. Measured in meters.
Now let's look a little closer at the equation itself, there is something to be learned from that:
To paraphrase Oli Geist, this equation can be abstracted to:
Chance to hit = 0.5 ^ (tracking term + range term).
Those who have studied math may recognize that something of the form x^(a+b) is identical to (x^a)*(x^b), so we can rewrite the above as :
Chance to hit = 0.5 ^ (tracking term) * 0.5 ^ (range term)
Why is this interesting? From this we can see that tracking and range are actually calculated completely seperately before the results from each are multiplied. This means that Range and Tracking are two separate terms and can not replace eachother. Short range can never be made up for with good tracking, and vice versa.
There is one more thing we can find out by just looking at the equation. This is however a little tricker to grasp. The aim here is to compare the tracking term and the range term for similarities in their behaviour. Do they have anything in common? To do this, we will freeze all values in those terms except for one variable in each, tracking and falloff respectively. Then we can look at how that single variable effects the outcome and if there is any similarities between the two cases.
All guns have their tracking value expressed in something called angular velocity, this is identical to Transversal speed divided by Range to Target, this is inside the tracking term, and basically it means how fast something moves around something else. Lets freeze the angular velocity, this means that it is still moving but that the value will not change. In the tracking term we also have Turret signature resolution divided by Target signature radius, for easy comparison later on we will assume that both these number are the same, then we freeze them as well. What we are left over with is: a frozen number divided by Turret tracking.
Now lets look at the range part. Being inside optimal never incurs a hit penalty, so we must move out into falloff ranges too see any changes in the to-hit-equation's output values. Lets freeze everything apart from falloff. What we are left with is: a frozen number divided by Falloff.
Did you see what they had in common? In the tracking term, we now have something / Turret tracking, in the range term we have something / Falloff. In each case there is a value that is divided by the variable of interest. Since both of them are calculated from 0.5 ^ (term), this means that tracking and falloff mathematically behave in exactly the same way. If you understand how one of them works, you have already understood the other. The variables and their meanings in each case are a little different, but the outcome is the same way.
General
What does an expression like 0.5^(tracking term) mean? This article is not about the math itself, so this will not be explained here. Anyone who wish to know more can read about Exponents or Exponantiation in wikipedia and many other places.
Tools & Links
E-UNI member Junker Jan created a spreadsheet primarily focused on determining your chance of hitting a target given a set of criterion. Made Public via Google Docs the document won't be editable when you click the above link, otherwise one accidental click could destroy all the carefully crafted formulae! You will need to either click File --> Download As to download the spreadsheet into your format of choice, or File --> Make a copy... to copy the document to your personal Google Docs store if you have a Google Account.
The values you should input should be in their final state, i.e. after all implants, modules, boosters, or fleet boosts you want included for the calculations are activated. All of the required information is available from the Show Info context-menu of the turret or ship in question, so for an in-game test simply undock and turn on everything you want to get your real-world actual values. For NPC ships you could use a resource like EVE Info to find out their signature radii or typical armor resistance values.
Turret damage output
Base damage
All turrets have a base damage, this is a fixed number. The higher the number the more damage the turret will do when it hits. It is calculated from the turrets Damage Multiplier attribute and the ammo's damage values. This is before any resistances is taken into consideration. A high base damage means that your guns hit hard (but do not mistake this for DPS (damage per second) since that also depends on how often the guns may fire). The base damage is always a bit below the average damage (about 1.5% lower) when there is a 100% hit chance -- the reason for this are those rare but highly damaging perfect hits.
Example: A small turret has a damage multiplier of x1.725, and is loaded with an ammo type that does 7 EM and 5 Thermal damage. The base damage is then 1.725*(7+5) = 20.7
Random damage distribution
At the heart of a turret's damage output is a single randomly generated value between 0 and 1 that is several digits long, something like 0.317226. This random number is used both to determine if the turret hit the target and then to determine how much damage the hit actually did. Should the randomly generated number be less than 0.01 (1% chance), it will be a perfect hit (aka 'wrecking'). A wrecking hit always deals exactly three times the base damage, exactly, there is no random element in perfect hits. The thing about perfect hits is that they always occur as long as that random number was lower than 0.01 and at the same time lower than the hit chance. So perfect hits are not scored by 1% of the shots that can hit, but by 1% of all hits and misses taken together. This means that if your chance to hit is 1% or less, you will either hit perfectly or you will miss, there are no normal hits.
The raw damage dealt by a turret is calculated by taking the randomly generated number that resulted in a hit, adding 0.49, and multiplying this sum with the turret's base damage. Since the first 0.01% of the random value is used for perfect hits, normal hits have a damage spread between 0.50 to 1.49, or 50% to 149% of the base damage, or in the case of perfect hits always exactly 300% of the base damage. This number will then be reduced accordingly by the target's damage resistances in order to obtain the final damage number.
The quality of the hit will be described by the value of the random number + 0.49, ranging from barely scratching (least damage) to excellent (highest damage) for regular hits, on top of which there may also perfect hits and misses.
Hit description | Random damage modifier | |
Perfectly | 0.490 to 0.500 (special case, 3x the base damage instead) | |
Barely scratches | 0.500 to 0.625 | |
Hits lightly | 0.625 to 0.750 | |
Hits | 0.750 to 1.000 | |
Well aimed | 1.000 to 1.250 | |
Excellent | 1.250 to 1.490 |
A turret with a 100% hit chance will see a natural and unavoidable damage spread between 50% to 149% of its base damage for normal hits, and will always do exactly 300% of its base damage on perfect hits. A turret with a 75% hit chance will have a damage spread of 50%-124% on normal hits and do 300% on perfect hits, thus it can never do any excellent hits.
Example: A small gatling laser turret fires on target. The chance to hit is 0.8981. The EVE server rolls a random number between 0 and 1, and gets 0.6573 -- this is less than the chance to hit so the shot lands on the target. At this point 0.49 is added to the random number which then becomes 1.1473. The turret had a damage multiplier of x2.1 and the ammo does 4 EM and 2 Thermal, so the base damage is 2.1 multiplied with 6 (4+2), which is 12.6. After multiplying this with the random number we get the raw damage, which is 1.1473 x 12.6 = 14.456. In this damage the raw EM part is 1.1473 x 2.1 x 4 = 9.6373 and the raw Thermal part is 4.8187 (half of EM). Assuming the target's shield was hit, and that only the normal 20% resistance to Thermal is in effect, the final damage then becomes 9.6373 + (4.8187*(100%-20%)) = 13.492 points. In the combat log the hit will be described as 'well aimed' and be rounded off to one decimal place.
Damage and DPS reduction from misses
When a turret has less than 100% chance to hit the damage is reduced in two different ways. The first and obvious one is that it sometimes misses, the other is that the max damage on normal hits (e.g. not perfect ones) are reduced as well. Both of these effects will decrease the DPS output.
If you read the previous section, you may remember that the a random number between 0 and 1 is generated to see if a turret hits. If this value is higher than the chance to hit, the turret misses. What this really means, is that the random rolls that would have caused high damage becomes misses instead. This can be seen in the damage log: a hard-to-hit target never recieves excellent or well aimed hits, sometimes barely scratching is the highest possible (though of course perfect hits can still happen).
The practical effect from this is that the effective DPS always decreases more than the chance to hit does.
Tracking or Falloff
The table below shows how damage and DPS goes down as a result of lower hit chance. The decrease is identical for tracking and falloff so either one can be used. If you wish to combine the effects of tracking and falloff, look them up individuall and then multiply them (note: this only works for the columns Hit Chance and Relative DPS; the clumn Reduction in DPS by % can not be used for this).
The true strength with the table and graphs below are not to calculate what your DPS might be in a given situation. But rather to see how much you can push your falloff and tracking while still maintaining a decent DPS output. Now consider the following notable values.
- Below 0.33 parts into ... : the DPS loss is at most 10%, a very small effect, being at 0.33 or below means pretty much that you have nearly top performance, you are still in your sweet spot.
- Above 0.50 parts into... : the DPS loss is now 22% or more and may start to become a problem, you can try manual piloting to rectify this unless you have a tactical reason for keeping the current conditions, for example a situation where your opponant have an even higher loss of DPS.
- Above 1.0 parts into... : at this point the DPS loss is 60% or more. Some damage is still better than no damage, but keep in mind that you have a pretty lousy performance under these circumstances.
Especially the 0.33 value is good to remember. Know your guns and know how far you can push them. If you want to maintain a high DPS, this is how deep you can go into either tracking or falloff (if you are pushing both use 0.25 instead). If you go outside it, your DPS will start dropping and if you go further in there is only a small increase in damage. This is kind of the golden limit that comes out from studying the To-Hit-Equation. Like all guidelines, this one comes with an exception too, see the next section for that.
Comment on the table below: The relative DPS below is over 1 at the start, this is not an error. It's because it's relative to the base damage of the turret. What puts it above 1 are the perfect hits, since they do extra high damage.
Parts into Tracking or Falloff | Hit chance | Relative DPS | Reduction in DPS by % | |
0 | 1.0000 | 1.0151 | 0.0% | |
0.1 | 0.9931 | 1.0048 | -1.0% | |
0.2 | 0.9727 | 0.9747 | -4.0% | |
0.3 | 0.9395 | 0.9268 | -8.7% | |
0.4 | 0.8950 | 0.8641 | -14.9% | |
0.5 | 0.8409 | 0.7906 | -22.1% | |
0.6 | 0.7792 | 0.7104 | -30.0% | |
0.7 | 0.7120 | 0.6274 | -38.2% | |
0.8 | 0.6417 | 0.5454 | -46.3% | |
0.9 | 0.5704 | 0.4672 | -54.0% | |
1 | 0.5000 | 0.3951 | -61.1% | |
1.1 | 0.4323 | 0.3303 | -67.5% | |
1.2 | 0.3686 | 0.2736 | -73.0% | |
1.3 | 0.3099 | 0.2249 | -77.8% | |
1.4 | 0.2570 | 0.1840 | -81.9% | |
1.5 | 0.2102 | 0.1502 | -85.2% | |
1.6 | 0.1696 | 0.1225 | -87.9% | |
1.7 | 0.1349 | 0.1003 | -90.1% | |
1.8 | 0.1058 | 0.0825 | -91.9% | |
1.9 | 0.0819 | 0.0685 | -93.2% | |
2 | 0.0625 | 0.0576 | -94.3% | |
2.1 | 0.0470 | 0.0492 | -95.2% | |
2.2 | 0.0349 | 0.0428 | -95.8% | |
2.3 | 0.0256 | 0.0379 | -96.3% | |
2.4 | 0.0185 | 0.0343 | -96.6% | |
2.5 | 0.0131 | 0.0316 | -96.9% | |
2.6 | 0.0092 | 0.0277 | -97.3% | |
2.7 | 0.0064 | 0.0192 | -98.1% | |
2.8 | 0.0044 | 0.0131 | -98.7% |
The formulas used to calculate this table were:
- Chance to Hit: 0.5^(0+(Falloff parts / 1)^2)
- Relative DPS: if(HitChance>0.01 then (HitChance-0.01)*((0.50)+(HitChance+0.49))/2+0.01*3 else HitChance*3)
- Reduction in DPS: (RelativeDPSatCurrent/RelativeDPSat100%hit)*100%-100%
The effects of Signature radius
Turret Signature Resolution and Target Signature Radius play an important role inside the tracking term. So far we assumed that they are the same, meaning that their ratio is always 1, and hence have no effect on tracking. But they do have an impact. To better understand what effect it really has, we must go back up to the To-Hit-Equation and look closer at the tracking term again.
Instead of thinking about Turret Signature Resolution / Target Signature Radius as an expression, think of it as a single number that the Transversal Speed is multiplied with. This makes sense if you look at the equation. Now, if this number is 1, it has no effect at all and tracking works as normal. But if the number is higher than 1, this would have the same effect as if the Transversal Speed went up, which means it is harder to hit. And if the number is lower than 1, this would have the same effect as if the Transversal Speed went down, which means it is easier to hit.
If you know how many parts into tracking a certain ship is, and you want to adjust for the signature part too, you must multiply parts into tracking with Turret Signature Resolution / Target Signature Radius to get the true parts into tracking. There is no other way. This is not something that can be done in combat, but you can guess at if it will be higher or lower and then compensate a bit for it.
To better illustrate this, consider the following examples:
Example: A Rifter is attacking a Hurricane. The angular velocity is about 0.3 rad/sec and the Hurrican has a tracking of 0.15. From the Hurricane pilots view, the Rifter is already 2.0 parts into tracking from just its speed. But this is not entirely true, since the signature resolution and the signature radius has not been accounted for yet. The guns have a signature resolution of 125m and the rifter has a radius of 35m. The ratio here is 125/35 = 3.57. So the Rifter counts as if being 3.57 times deeper into tracking just because of its smaller size. Taking this into account means that the Rifter is actually 7.14 parts into tracking under the mentioned conditions, and impossible to hit. The Hurricane must rely on its drones to fend off the Rifter. With luck the Rifter will die before it can kill all the drones.
Example: A shield tanked and an armor tanked Rifter are fighting. The angular velocity is very high at about 0.5 and they both have a tracking of 0.49 with their 200mm autocannons. So we say one full part into tracking. They are using small guns which always has a Turret Signature Resolution of 40m. The shield tanked Rifter has a signature radius of 50m and the armor tanked one has 35m. From the shield tanked Rifters point of view, his opponant counts as being 1 x 40m/35m = 1.14 parts into tracking, where the DPS loss from turrets are about -70%. From the armor tanked Rifters point of view, his opponant counts as if being 1x 40m/50m = 0.80 parts into tracking, where the DPS loss from turrets are only -46%. The shield tanked Rifter pilot is at a disadvantage from just being bigger, his guns do only about half the damage compared to his opponant. If he doesn't compensate for this by flying in a way that reduces the angular velocity, he is likely to loose.
Tracking upgrades vs Damage upgrades
Weapon upgrade modules can improve raw damage, tracking and range. Making use of an increased range is fairly obvious. However, comparing tracking and damage can be harder to do.
The tricky thing with this comparison is that the need for tracking in a fight often varies depending on how the pilots fly their ships. So to make any sense of the following you must have some rough ideas of what you expect to be up against and what the angular velocity can be expected to be at. The only way to get that is through experience.
Here are some guidelines for comparisons: (note that only the bonus of the 1st module is considered for all tracking modules, additional ones will suffer from a stacking penalty).
Damage Upgrade module, T2 (such as Gyrostabilizer, Heat Sink etc):
- The 1st T2 Damage Upgrade module increase damage with +23.5%
- The 2nd T2 Damage Upgrade module increase damage with +20%
- The 3rd T2 Damage Upgrade module increase damage with +13%
- The 4th T2 Damage Upgrade module increase damage with +6.5%
Tracking Enchancer, T2:
- When Angular velocity = 25% of your Tracking: +9.5% more tracking is the same as +1.1% damage
- When Angular velocity = 50% of your Tracking: +9.5% more tracking is the same as +4.2% damage
- When Angular velocity = 75% of your Tracking: +9.5% more tracking is the same as +9.5% damage
- When Angular velocity = 100% of your Tracking: +9.5% more tracking is the same as +16.6% damage
Tracking Rig, T1:
- When Angular velocity = 25% of your Tracking: +15% more tracking is the same as +1.5% damage
- When Angular velocity = 50% of your Tracking: +15% more tracking is the same as +6.3% damage
- When Angular velocity = 75% of your Tracking: +15% more tracking is the same as +14.3% damage
- When Angular velocity = 100% of your Tracking: +15% more tracking is the same as +25.4% damage
Tracking Computer, T2 with tracking script:
- When Angular velocity = 25% of your Tracking: +30% more tracking is the same as +2.7% damage
- When Angular velocity = 50% of your Tracking: +30% more tracking is the same as +10.8% damage
- When Angular velocity = 75% of your Tracking: +30% more tracking is the same as +25.2% damage
- When Angular velocity = 100% of your Tracking: +30% more tracking is the same as +46.7% damage
Target Painter, T2 with Signature Focusing at level IV (increasing sig radius have the exact same result on damage as an increase in tracking has)
- When Angular velocity = 25% of your Tracking: +36% higher sig radius is the same as +3.0% damage
- When Angular velocity = 50% of your Tracking: +36% higher sig radius is the same as +12.3% damage
- When Angular velocity = 75% of your Tracking: +36% higher sig radius is the same as +28.8% damage
- When Angular velocity = 100% of your Tracking: +36% higher sig radius is the same as +54.1% damage
Webs:
The effect from a web is hard to predict, since its use can change both the transversal speed and the range between the ships. Experience and practice will be your best guide here. The drawback with webs is that they help your opponants tracking as well as your own.
Choosing turrets
Is it better with high damage or high tracking? In almost all cases, it is better to go for higer damage, which also gives a higer range. This is true for long range and short range guns alike. The only weapon where the higher tracking can outweigh the extra boost to damage and range is for short range projectile weapons. Because they track that much better. If high tracking is important, consider using the lighter autocannons, because they can actually outperform the harder hitting ones despite their shorter range (with autocannons: if you expect to be more than 0.5 parts into tracking of the heavy guns, the lighter guns will actually do more damage at that point). In a few other cases where long range guns are used at short ranges, the lighter version of the guns may also outperform the heavy ones due to their better tracking.
Answers to some questions
Do small targets take less damage from big guns?
Yes, but only if it has a transversal speed. Since big guns have large signature resolution values and low tracking values, it becomes harder to hit a small and fast target. The lowered hit chance is what reduces the damage, nothing else. The lowered hit chance results both in less DPS and lower maximum damage (not counting perfect hits, which always do three times the base damage). If the transversal speed is zero on the other hand, and the small ship inside optimal range, then it will be hit just as hard as a large ship would be. That is why the #1 survival tip for small ships is to keep up their transversal at all times.
Can a turret hit a target with a larger angular velocity than its own tracking?
Yes it can. But at an angular velocity identical to a turrets tracking value the turret already suffer 50% misses. Preferably you should never go above half your turrets tracking value, your sweet spot is at one third and below, assuming that you are shooting at a target with a size your guns were designed to hit (small guns for small targets, large guns for large targets).
Are frigates with a smaller signature radius better than larger frigates in frigate pvp?
They have an advantage from it when the angular velocities are getting high, which makes them harder to hit. But not all frigate pvp is fought by orbiting closely at high speeds, some try to keep a range of maybe 5km and at that range the signature radius is less important.
Are target painters useful for turrets?
Yes, but only if the turret have difficulties in tracking the target or if big guns are used against small targets. Although unusual, a T2 target painter can be better than a T2 Tracking Computer (with a tracking script) when it comes to solving tracking issues. Especially since a target painter also helps others and may be stacked by different people for an even higher gain. But it requires a bit of cap and must also be activated by the pilot.
If I group my guns, does it affect the damage?
No. Even if the guns are grouped on your screen, they are still treated separately. This can be seen by collecting damage data and comparing that with the normal expected damage distribution, its very clear that its a combination of several seperate turret shots. It can also be deduced by looking at the turret group's damage output when shooting at hard to hit objects, like deep into falloff, its quite easy to tell when one, two or more guns hit the target.
+0.49? It says +0.5 on EVEonline wiki
Yes it does and the differance isn't exactly noticeable. But the test that was made to ensure the validity of this article showed a small deviance, and it should be noted in case anyone wants to reproduce the numbers. The test has too much data to present all of it here, so the method and results will be presented instead. Should you wish to check for yourself feel free to follow this procedure.
A frigate (named 'Ouch') was abandoned at a safespot. An Osprey was fitted with lasers (infinite ammo, perfect for afk:ing), a remote shield transfer and shield transfer drones. The guns and the ammo were chosen so that the damage would never go below 10.0 and to give as large of a damage interval as possible (an interval of at least 10.0 units (resistances must be accounted for) is needed to get a precision of at least 1% in the damage values) -- this ensured that the data would be good enough to draw accurate conclusions. The damage was only done to the shields, they where never allowed to drop below 25% since a bleed through into armor can happen that can mess with the observed damage numbers. Finally, the ships were positioned within optimal range and their speeds set to zero to ensure that the chance to hit is 0.5^0 = 100% and nothing less.
After 10,656 shots at the poor frigate, enough data was collected to make some conclusions about how the random damage distribution looks like. The data ends up in the My Documents\EVE\gamelogs folder (in Windows), and was easily copied into a prepared Excel sheet for analysis.
- Base damage
- The ammo type dealt: 7 EM and 5 Thermal
- The base damage on the lasers were: 24.9063
- Compensating for resistance (20% thermal) the modified base damage is: 22.8308
Analysis of the data and interpretation of some reduced frequencies of min and max results in the normal damage span:
Of the 10,656 shots the lowest recorded damage was 11.4 (recorded 15 times) and the highest non-perfect was 34.0 (recorded 33 times), perfect hits dealt 68.5 damage (recorded 101 times). On average, each damage number (anything between 11.5 to 33.9) was recorded 46.7 times (standard deviation = 7.02). The reason for the lower occurences of the min and max results on normal hits comes from rounding effects. Any damage in-between has an interval of 0.1 units (22.2500 to 22.3499 both produce the 22.3 in the log). However the min and max values do not have that span. The lowest theoretical number is Base Damage x 0.5 = 11.415, hence the interval to get 11.4 in the log is between 11.415 and 11.4499, that is only 0.0345 differance. So the expected number of occurances of the value 11.4 is only 34.6% of the average number, 15 recorded values / 34.6% = 43.4, close to average and inside the standard deviation. The upper interval is 67.8%, 33 times / 67.8% = 48.7, also close to average and inside the standard deviation. (Note: 34.6%+67.8%=102.4%, which is of course impossible -- the error comes from rounding errors in the 4th decimal of the base damage, awesome precision isn't needed for this comparative calculation since the natural random deviation is much larger anyhow, so this is good enough, the objective was to explain the lower frequencies of the end points which now has been done).
- Lowest damage random multiple
- Modified base damage x 0.51 = 11.6
- Modified base damage x 0.50 = 11.4
- Modified base damage x 0.49 = 11.2
- The lowest observed damage is 11.4, thus 50%
- Highest non-perfect random multiple
- Modified base damage x 1.50 = 34.2
- Modified base damage x 1.49 = 34.0
- Modified base damage x 1.48 = 33.8
- The highest non-perfect damage is 34.0, thus 149%
- Perfect hits deal 68.5 damage
- Modified base damage x 3 = 68.5
The collected data shows that the normal damage is distributed within 50%-149%. Since the first 1% unit is used for critical rolls, this means that the constant has to be 0.49.
References:
http://wiki.eveonline.com/wiki/Turret_damage
http://forum.eveuniversity.org/viewtopic.php?p=201888#201888
http://forum.eveuniversity.org/viewtopic.php?p=216525#p216525