View Single Post
  #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