Could you please update the post with the correct math? Currently, the equations and methodology given is incorrect in providing an accurate calculation of a player's offense level.
The main is reason is the Army Score Fraction. In general, the Army Score Fraction should be a negative. With the current equation and methodology, the ASF is a positive number.
Let's assume a Command Center Level of 31. Next let's assume a Player Score Value of 65,000.
You state that the theoretical army value is the calculation that is the maximum value that is less than the player's value. In this case, that is the number 61,717. Then, for the maximum value minus 1 level, you state that is the maximum value below the number 61,717 which is 56,970.
Calculating that we get:
(65,000 - 61,717) / ( 61,717 - 56,970) = .6916
This number is nowhere near correct when added to (31- 1) + .6916. = 30.69 where in the game the OL shows 28.91.
"Recently i was asked if I could go into some detail about how the game estimates the level of your Offense army and so here it is, a little guide on the magic behind the curtain.
If there are other aspects of the game you'd like to know more let me know and I'll see what I can reveal to you."
I for one would like a precise description of how the fortress level is calculated. Previously we were given two completely different versions by Rhiordd and by another one of the developers at that time. One said it was a simple calculation based on the top 10 individual player offense levels, while another claimed it was based on the average offense levels of the top 10 alliances.
I have spent quite a bit of time helping other following alliances get their fortress badges and for the most part it seems the fortress level rises too quickly to the maximum level of 95. Without previous badgewinners on that world helping out it could take years for many of the following alliances to have enough maximum sized offenses to defeat the fortress on their own.
The fortress starts at a set base level and an offset, which gives you the initial fortress level of the first FF on a world.
After the destruction and regeneration of the FF, the 10 highest army levels of the world are used to calculate an average, that value then becomes the new offset plus initial base level.
Could you please update the post with the correct math? Currently, the equations and methodology given is incorrect in providing an accurate calculation of a player's offense level.
The main is reason is the Army Score Fraction. In general, the Army Score Fraction should be a negative. With the current equation and methodology, the ASF is a positive number.
Let's assume a Command Center Level of 31. Next let's assume a Player Score Value of 65,000.
You state that the theoretical army value is the calculation that is the maximum value that is less than the player's value. In this case, that is the number 61,717. Then, for the maximum value minus 1 level, you state that is the maximum value below the number 61,717 which is 56,970.
Calculating that we get:
(65,000 - 61,717) / ( 61,717 - 56,970) = .6916
This number is nowhere near correct when added to (31- 1) + .6916. = 30.69 where in the game the OL shows 28.91.
tested the formula also and i get wrong results...
did anyone have any luck "discovering" it?
Level Calculation For calculating the Offense Level of your army, the value of every unit is considered and transferred into an arbitrary score. That score is based on the level, its Army Point Cost and a magic number that acts as a modifier to balance powerful units against weaker units. That score then gets calculated against a theoretical army score on a given level to find out how close you are to your army’s hypothetical power potential of that level.
Unit Score
First, the individual score of every of your fielded units is calculated.
All Unit Scores add up to the final Player Army Score
Offense Level Modifiers
The strongest units of a faction have a magic number they bring into the formula. This ensures that, due to their power, these units are also weighted heavier in the calculation of the Offense Level.
GDI Offense Level Modifiers:
Commando: 2,6
Mammoth: 2,6
Juggernaut: 1,5
Kodiak: 2,6
Nod Offense Level Modifiers:
Confessor: 1,5
Commando: 2,4
Avatar: 1,5
Specter: 2,6
Salamander: 2,6
Any unit not listed can be assumed to have an OLM of 0 (in words: Zero)
Theoretical Army Score
For calculating the Final Army level another value is needed, the value of an theoretical army using all available army points and has all units at its available max level. This does not take the magical numbers of the OLM into account. Army Score Fraction
Before the Final Army Level, a Fraction is calculated based on the Player Army Score compared against the Theoretical Army Score of a given level.
The game calculates the Theoretical Army Score from level 1 to 200 (just in case) and then checks the Player Army Score against that array of values. The TAS that is the next lower value to the PAS is then chosen as the Theoretical Army Score for the calculation. Both are subtracted with the TAS that is one level below the TAS corresponding to the PAS.
Final Army Level
Ultimately the Final Army Level is calculated with the formula below and rounded to two digits after the comma.
If the TAS and PAS are identical, this value will return 1, which will result in an even Offense Level equal to the Command Center level, as intended.
In some rare cases the Offense level may exceed the CC level. That is when fielding only endgame units with an OLM greater than 0 (see list) in a low-level army; like 6x level 10 Salamanders at a level 10 CC.
Naturally, the mix of units is what ultimately decides the effectiveness of your army in combat, not the raw Offense Level alone. The strongest units won't be worth their repair costs if they are not used effectively.
Army Score Fraction
- TAS - first higher value to the PAS
- TAS_1 - first lower value to the PAS
- ASF has values from 0 to 1 (1 excluded).
Final Army Level Command Center Level that corresponds to the TAS_1 + ASF (rounded truncated to 2 digits)
note:0.999 rounded to 2 digits would be 1 which is wrong.
________________________________________________________________
Many moments later...I got this formula to get proper results...
The only instances it fails to show the proper levels is when only the army is 1 level 1 unit that has 5 army points:
- formula sais OL=0.5
- game sais OL=1 (2 level 1 units that are using 5 army points each is still OL=1 here though)
________________________________________________________________ @EE_Elephterion: thanks for the info...
Replies
I am getting different numbers than what the game states when calculating my offense level:
Here's what I have:
A Command Center of Level 19 that means 150 total army points
The theoretical army score I calculate is 7986.99
The theoretical army score I calculate for a Level 18 Command Center Army is 6212.40
With the combination of units and unit levels, I calculate a Player Army Score of 3363.70.
Army Score Fraction = (3363.7-6212.4) / (7986.99-6212.4) = -1.60
The final army equation should be:
Final Army Level = (19-1) + (-1.6) = 16.4
However, in the game, my Army Level is around 15.6.
I'm assuming I am not understanding one of the steps? Any clarification would be awesome. Thank you!
Could you please update the post with the correct math? Currently, the equations and methodology given is incorrect in providing an accurate calculation of a player's offense level.
The main is reason is the Army Score Fraction. In general, the Army Score Fraction should be a negative. With the current equation and methodology, the ASF is a positive number.
Let's assume a Command Center Level of 31. Next let's assume a Player Score Value of 65,000.
You state that the theoretical army value is the calculation that is the maximum value that is less than the player's value. In this case, that is the number 61,717. Then, for the maximum value minus 1 level, you state that is the maximum value below the number 61,717 which is 56,970.
Calculating that we get:
(65,000 - 61,717) / ( 61,717 - 56,970) = .6916
This number is nowhere near correct when added to (31- 1) + .6916. = 30.69 where in the game the OL shows 28.91.
Bump @ EE_Elephterion
After the destruction and regeneration of the FF, the 10 highest army levels of the world are used to calculate an average, that value then becomes the new offset plus initial base level.
tested the formula also and i get wrong results...
did anyone have any luck "discovering" it?
- TAS - first higher value to the PAS
- TAS_1 - first lower value to the PAS
- ASF has values from 0 to 1 (1 excluded).
Final Army Level
Command Center Level that corresponds to the TAS_1
+
ASF (rounded truncated to 2 digits)
note:0.999 rounded to 2 digits would be 1 which is wrong.
________________________________________________________________
Many moments later...I got this formula to get proper results...
The only instances it fails to show the proper levels is when only the army is 1 level 1 unit that has 5 army points:
- formula sais OL=0.5
- game sais OL=1 (2 level 1 units that are using 5 army points each is still OL=1 here though)
________________________________________________________________
@EE_Elephterion: thanks for the info...