Forged Alliance Forever Forged Alliance Forever Forums 2019-02-05T05:46:14+02:00 /feed.php?f=41&t=17190 2019-02-05T05:46:14+02:00 2019-02-05T05:46:14+02:00 /viewtopic.php?t=17190&p=171688#p171688 <![CDATA[Example mod for Unit DPS measurement.]]>
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:
INFO: * OnDamage: I am under Attack! - Galactic Colossus (Experimental Assault Bot)


After the unit is killed, we will see the DPS count:
Code:
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.

Statistics: Posted by Uveso — 05 Feb 2019, 05:46


]]>