Soldak Home   Drox Operative   Din's Curse   Depths of Peril   Zombasite  

Go Back   Soldak Entertainment Forums > Kivi's Underworld > Kivi's Underworld modding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2009, 11:29 AM
Grave Grave is offline
Amateur
 
Join Date: Dec 2007
Posts: 4
Default ingame stats as numbers

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
Attached Images
File Type: jpg ss0003.jpg (88.2 KB, 14 views)
File Type: jpg ss0003m.jpg (89.3 KB, 14 views)
Reply With Quote
  #2  
Old 02-02-2009, 10:20 AM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 8,271
Default

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
Reply With Quote
  #3  
Old 02-02-2009, 03:10 PM
Grave Grave is offline
Amateur
 
Join Date: Dec 2007
Posts: 4
Default

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 for UI/selectedEntity.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 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
Attached Files
File Type: zip assets100.zip (2.5 KB, 11 views)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:51 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2007 - 2016 Soldak Entertainment, Inc.