You need to open the debug log window with [F9] to see the DPS output printing.
The mod works simple.
Just let a unit attack another unit.
The debug log will show something like this on the first hit:
- Code: Select all
INFO: * OnDamage: I am under Attack! - Galactic Colossus (Experimental Assault Bot)
After the unit is killed, we will see the DPS count:
- Code: Select all
INFO: * OnKilled: Unit [ uaa0310 - CZAR ] killed Unit [ ual0401 - Galactic Colossus ] with - DPS= 2793 - DamageAmount= 100000 - KillTime= 35.800018310547 - Hits= 100
http://faforever.uveso.de/forum/DPSMeter-v1.zip
If someone is interested in continue this, feel free to use this mod as base.