by rayburn » Sat Feb 12, 2022 4:58 am
Is @Thetis (or whoever runs the mod) ever around anymore?
The version of DamNums in WoC LITE (at least) is outdated. If used with monster packs, it can spawn numbers at incorrect places (i.e. so far in the air you don't even see them), because it doesn't take into consideration monster sprite XScale/YScale values. What's worse, when I try to run damnums as a separate addon, it gives zscript errors.
I am working on a fantasy Might & Magic monster pack, there is an elemental system that produces different damage with different weapons in WoC and other mods, it is very important to show it to player via colored damage numbers, and it seems I will have to either somehow modify DamNums to eleminate dozens of compatibility issues, or patch WoC itself for the same reason =\
TBH I see no reason to even include DamNums into LITE version to begin with, since it's a version that is supposed to be run with other mods...
UPD.
Nvm I figured it out. The key is to replace zscript/damnums/events.txt in WoC with zscript/damnums/events.txt (file under same path) in my own pk3, so that my file rewrites the one in WoC. The whole issue was in the weird way monster height was acquired via texture height in WoC. I replaced it with behavior from DamNums 1.0.2 and it works perfectly now.