![]() |
![]() |
![]() |
![]() |
![]() |
#1
|
|||
|
|||
![]() is there a way to show numerical values along with stat bars above ingame models (player/monsters) as seen in second attached image?
i had no problems adding numbers to UI health/power statbars as seen in image, but i couldn't find anything related to actual ingame statbars, is it hardcoded? i've been using this UI enhancement in Depths Of Peril too, and its quite nice and helpful to see the actual values esp. with higher level monsters |
#2
|
||||
|
||||
![]() No, I don't think you can do that. There's no generic way to add stuff above character/monsters heads like the menu files.
__________________
Steven Peeler Designer/programmer Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, Din's Legacy, & Drox Operative 2 Patreon |
#3
|
|||
|
|||
![]() thanks for the reply.
for people interested in these changes to UI: ![]() ![]() here's the code for those who want to change it by hand: (add at the end of corresponding UI file) code for UI/player.mnu Code:
// ============================ changes begin here ============================= // 1.0 -added: health value displayed as numbers // -added: power value displayed as numbers // ============================================================================= // health value displayed as numbers StatValue { position 14.0 26.5 size 100.0 10.0 entityType PlayerClient stat Other Health MaxHealth textAlignment Center color "1.0 1.0 1.0" useTextBackdrop 1 font smallDefault divider / draworder 2 showHighlightInfo 0 } // power value displayed as numbers StatValue { position 14.0 38.0 size 100.0 10.0 entityType PlayerClient stat Normal Power MaxPower textAlignment Center color "1.0 1.0 1.0" useTextBackdrop 1 font smallDefault divider / draworder 2 showHighlightInfo 0 } // ============================= changes end here ============================== Code:
// ============================ changes begin here ============================= // 1.0 -added: health value displayed as numbers // -added: power value displayed as numbers // ============================================================================= // health value displayed as numbers StatValue { position 151.0 23.0 size 98.5 10.0 entityType Selected stat Other Health MaxHealth textAlignment Center color "1.0 1.0 1.0" useTextBackdrop 1 font smallDefault divider / draworder 2 showCondition EntityHasHealth hideCondition EntityDead showHighlightInfo 0 } // power value displayed as numbers StatValue { position 151.0 33.0 size 98.0 10.0 entityType Selected stat Other Power MaxPower textAlignment Center color "1.0 1.0 1.0" useTextBackdrop 1 font smallDefault divider / draworder 2 showCondition EntityHasPower hideCondition EntityDead showHighlightInfo 0 } // ============================= changes end here ============================== |
![]() |
Thread Tools | |
Display Modes | |
|
|