PDA

View Full Version : ingame stats as numbers


Grave
02-01-2009, 11:29 AM
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

Shadow
02-02-2009, 10:20 AM
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.

Grave
02-02-2009, 03:10 PM
thanks for the reply.
for people interested in these changes to UI:

http://bayimg.com/image/janioaabf.jpg http://bayimg.com/image/kaniaaabf.jpg

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


// ============================ 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 for UI/selectedEntity.mnu


// ============================ 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 ==============================



and here's attached zip file for people who prefer it that way