Jump to content


Photo

Display stats of unit in tooltip?


  • Please log in to reply
1 reply to this topic

#1 Serp66

Serp66
  • Members
  • 13 posts

Posted 22 February 2020 - 12:35 PM

Hi :)

I really wondered why there are no stats shown in the tooltips of units, especially because there are so many effects changing these stats.
I dont want to discuss if stats should be displayed or not. I just would like to see those stats ingame.

I noticed, when hovering over the portrait of a selected unit, you normally only see the name and level displayed.
But when hovering over the unit itself, you usually also see the health of the unit (not sure if max or current).

I'm not yet familiar with the horde system, I guess every unit in a horde has their own health.

Anyway:
If there is a tooltip for the health, there must be a way to also add tooltips for other values, such as attack, armor and such.
Where to do this?
Or is there already a mod for this (found none yet)


Edited by Serp66, 22 February 2020 - 12:36 PM.


#2 Symonius

Symonius
  • Members
  • 51 posts
  • Location:The ancient shield
  • Projects:TROW Mod
  •  Just a winged modder

Posted 22 April 2020 - 11:39 PM

I don't know if you already solved it, but anyway in bfme1 heroes had also their attack damage shown in the tooltip.
You can simply take a look in the code of some of the Heroes that was also present in bfme1 like Aragorn, Boromir, Legolas and so on.
There is a simple line near DisplayName that state "DisplayAttack" (or something similar) and maybe also Armor if i remember correctly.
Just uncomment those lines, write the right values and you should see them in game.
I hope it works, i never did it but i often think to add this feature 😉

"All we have to decide is what to mod with the time that is given us"





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users