I sure could use some help improving it ..
This could morph into an ideal damage game mechanics reversing tool but also useful for regular play/new players when I add some sort of calculated DPS related parameter allowing for easier/speedier weapon comparison (I will need to figure out damage types) ..
Very easy to verify/dig up various damage formulas / skill interactions with this .
example output after firing a rocket at my feet - blew my shield and most of the health
Code: Select all
16 727.138 Max 0.000 Cur 727.138 Prev 727.138 Damage 4DEE3358 baseaddress 15 1465.821 Max 349.835 Cur 1465.821 Prev 1115.986 Damage 4DEEF518 baseaddress
4DEEF518 was the address of Axton's health object
shotgun attack - notice it catches every instance of damage application (all pellets that hit , all DOT ticks , splash damage, muti-hit boxex etc ..)
Code: Select all
78 2161.671 Max 1852.209 Cur 2087.146 Prev 234.937 Damage 1C2EA3D8 baseaddress // crit 0 2161.671 Max 1743.061 Cur 1852.209 Prev 109.149 Damage 1C2EA3D8 baseaddress 31 2161.671 Max 1633.912 Cur 1743.061 Prev 109.149 Damage 1C2EA3D8 baseaddress 0 2161.671 Max 1524.763 Cur 1633.912 Prev 109.149 Damage 1C2EA3D8 baseaddress 16 2161.671 Max 1415.614 Cur 1524.763 Prev 109.149 Damage 1C2EA3D8 baseaddress 0 2161.671 Max 1306.465 Cur 1415.614 Prev 109.149 Damage 1C2EA3D8 baseaddress 15 2161.671 Max 1197.316 Cur 1306.465 Prev 109.149 Damage 1C2EA3D8 baseaddress 16 2161.671 Max 1088.167 Cur 1197.316 Prev 109.149 Damage 1C2EA3D8 baseaddress 31 2161.671 Max 979.018 Cur 1088.167 Prev 109.149 Damage 1C2EA3D8 baseaddress 16 2161.671 Max 869.869 Cur 979.018 Prev 109.149 Damage 1C2EA3D8 baseaddress
Get the object's proper string instead of the hex address, perhaps add the attacker, weapon/skill used. Perhaps add some dice rolls ...Maybe add measure inflicted DPS ..
** On how to use ** - disable the View -> Show on print option for the lua feedback window (it would try and grab focus from the game with each damage application otherwise) and the view -> show script in output option bellow it.
also for the log to have some appearance of formatting " go to settings and tick override the default font. Set the font and size you like. And then restart CE " Set cheat engine to use courier new (all characters in the font have the same width)
The combat log is in text format -> easy to copy paste into text file/forum posts / etc ..