Designing units: Show weighted average Damage Effekt
Posted: 07 Sep 2009, 16:31
if i design a unit. i want to know two things:
1.) how effective is this unit against my enemies?
2.) how effective are the enemy units against the unit i am designing?
Looking at the following picture ...
... I think that there are two information missing:
1.) a display that tells me the average effectiveness of the unit against enemy units
2.) a display that tells me the average effectiveness of enemy units against the unit i am designing
to calculate this values i would do the following:
- every time any of my units is attacked by an enemy unit i save some information of the enemy unit to an array (enemy body, turret, propulsion)
- the last i.e. 100 datasets of this array are the base for the calculation of the average enemy unit
- the two displays i want to have in my designing window will contain the effectiveness against this calculated average enemy unit as well as the effectiveness of the average unit against the unit being designed
i hope you can follow my thought
1.) how effective is this unit against my enemies?
2.) how effective are the enemy units against the unit i am designing?
Looking at the following picture ...
... I think that there are two information missing:
1.) a display that tells me the average effectiveness of the unit against enemy units
2.) a display that tells me the average effectiveness of enemy units against the unit i am designing
to calculate this values i would do the following:
- every time any of my units is attacked by an enemy unit i save some information of the enemy unit to an array (enemy body, turret, propulsion)
- the last i.e. 100 datasets of this array are the base for the calculation of the average enemy unit
- the two displays i want to have in my designing window will contain the effectiveness against this calculated average enemy unit as well as the effectiveness of the average unit against the unit being designed
i hope you can follow my thought