Thunder_Lord
New Member
- Reaction score
- 0
I have been spending the past week or 2 on trying to develop a formula that i can plug in different stats for any unit and it could give me an effective "combat rating"...units with the same combat rating would be equally effective in fighting...for example, putting range, ability and all other factors aside, A unit with 100 hp, 0 armor, and dealt 10 dps would have the same "combat rating" as a unit with 200 hp, 0 armor and 5 dps, or 50 hit points and 20 dps.
One of the maps i hope to use this formula in is a footmen frenzy map. I came up with these 2 formulas to calculate a units "Value Hp" and "Dps"
B/(1-((A*.06)/((A*.06)/((A*.06)+1)))=C
Where B= Hit points, A= Armor and C= "Value HP" or the number of points a unit can take before he dies (factoring in armor)
D/E=F
D is damage (accounting for base damage, attack dice and sides per die, the average damage per attack) E is attack Rate and F is Damage per Second (DPS)
So using the value C and F i need a formula that will Give a value "G"a combat rating that rates units proportionally on how powerful they are in combat. For example A unit where C=1000 and F=100
would have the value of G be twice as much as a unit where C=1000 and F=50...if that makes any sense...
I made an attempt to come up with such a formula. I made a formula for my footmen frenzy map, for this formula i came up with a "Base Unit" essentially it was a unit that i used as a reference point for all my other units. the unit i chose was the "Brutal Knight" witch was one of the final tier type (the other two are Head hunters witch should be half as powerful as a brutal knight and spawn twice as fast, and gladiators witch spawn half as fast and are 2 times as powerful)
The Brutal Knight has 11 armor 2150 hit points and deals 106-116 damage at a rate of 1.45 So after plugging in these values A=11 B=2150 D=111 ((106+116) divided by 2) E=1.45 these values gave me C=3569 and F=76.552 so the formula i came up with was
(F/76.552)*(C/3569)=G, so the value of a brutal knight (by this formula) is 1, this provides a Base for my formula, I thought this formula would be fine, but i have ran in to a flaw with it. When i plugged in C (5146) and F (166.437) of the Gladiator, the G i got was 3.1348. this value is way too much, this value suggests that it would take about 3 brutal knights (3569 hp and 76 dps) to kill 1 Gladiator (5146 hp and 166 dps) this formula did work however when i doubled or halved the DPS or HP (one or the other) it doubled/halved the unit combat rating but the formula needs to be able to compare any 2 units.
So if you know what im asking and can help me i would appreciate it a lot, i don't know if im just spewing gibberish or if you can actually make some sense out of this, anyway, any help with this balancing formula would be much appreciated
One of the maps i hope to use this formula in is a footmen frenzy map. I came up with these 2 formulas to calculate a units "Value Hp" and "Dps"
B/(1-((A*.06)/((A*.06)/((A*.06)+1)))=C
Where B= Hit points, A= Armor and C= "Value HP" or the number of points a unit can take before he dies (factoring in armor)
D/E=F
D is damage (accounting for base damage, attack dice and sides per die, the average damage per attack) E is attack Rate and F is Damage per Second (DPS)
So using the value C and F i need a formula that will Give a value "G"a combat rating that rates units proportionally on how powerful they are in combat. For example A unit where C=1000 and F=100
would have the value of G be twice as much as a unit where C=1000 and F=50...if that makes any sense...
I made an attempt to come up with such a formula. I made a formula for my footmen frenzy map, for this formula i came up with a "Base Unit" essentially it was a unit that i used as a reference point for all my other units. the unit i chose was the "Brutal Knight" witch was one of the final tier type (the other two are Head hunters witch should be half as powerful as a brutal knight and spawn twice as fast, and gladiators witch spawn half as fast and are 2 times as powerful)
The Brutal Knight has 11 armor 2150 hit points and deals 106-116 damage at a rate of 1.45 So after plugging in these values A=11 B=2150 D=111 ((106+116) divided by 2) E=1.45 these values gave me C=3569 and F=76.552 so the formula i came up with was
(F/76.552)*(C/3569)=G, so the value of a brutal knight (by this formula) is 1, this provides a Base for my formula, I thought this formula would be fine, but i have ran in to a flaw with it. When i plugged in C (5146) and F (166.437) of the Gladiator, the G i got was 3.1348. this value is way too much, this value suggests that it would take about 3 brutal knights (3569 hp and 76 dps) to kill 1 Gladiator (5146 hp and 166 dps) this formula did work however when i doubled or halved the DPS or HP (one or the other) it doubled/halved the unit combat rating but the formula needs to be able to compare any 2 units.
So if you know what im asking and can help me i would appreciate it a lot, i don't know if im just spewing gibberish or if you can actually make some sense out of this, anyway, any help with this balancing formula would be much appreciated