Upvote Upvoted 0 Downvote Downvoted
Demoman Charge Meter
posted in Q/A Help
1
#1
0 Frags +

No, this is not a short question, I will not post it to the HUD help thread. That just for quick Q/A help.

K, i asked the same question, and Hergan (creator of Hergan HUD) answered me, and it worked, but now, the charge meter (not the sticki bomb charge meter, the sheild meter) goes the same place the number of stickis are.

The sticki count is just what I wanted, and works fine, it is just that the charge meter (for shields NOT for the sticki charge meter, goes where the sticki count is, whisker told me that it controls both, so is there anyways to not make the sticki count position not interfere with shield charge, and how?

3 Pictures

I like everything the way it is I just want to move the charge meter of the shield in it is orignal spot. (Just so u know, i did not do ANYTHING to the charge meter, only demoman pipes in ui and hudlayout, like you and hergan suggested)

Here is the code in "Resource/UI/HudDemomanCharge.res":

{	
	"ChargeMeter"
	{	
		"ControlName"		"ContinuousProgressBar"
		"fieldName"			"ChargeMeter"
		"font"				"Default"
		"xpos"				"0"
		"ypos"				"27"
		"zpos"				"2"
		"wide"				"100"
		"tall"				"6"			
		"autoResize"		"0"
		"pinCorner"			"0"
		"visible"			"1"
		"enabled"			"1"
		"textAlignment"		"Left"
		"dulltext"			"0"
		"brighttext"		"0"
		"fgcolor_override"	"255 255 255 255"
		"bgcolor_override"	"255 255 255 100"
	}					
}

Here is the code in "Resource/UI/HudDemomanPipes.res":

{
	"background"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"background"
		"xpos"			"6969"
		"ypos"			"6969"
		"zpos"			"0"
		"wide"			"76"
		"tall"			"38"
		"visible"		"0"
		"enabled"		"0"
		"image"			"../hud/misc_ammo_area_blue"
		"scaleImage"	"1"	
		"teambg_2"		"../hud/misc_ammo_area_red"
		"teambg_2_lodef"	"../hud/misc_ammo_area_red_lodef"
		"teambg_3"		"../hud/misc_ammo_area_blue"
		"teambg_3_lodef"	"../hud/misc_ammo_area_blue_lodef"				
	}

	"ChargeLabel"
	{
		"ControlName"			"CExLabel"
		"fieldName"				"ChargeLabel"
		"xpos"					"500"
		"ypos"					"88"
		"zpos"					"2"
		"wide"					"100"
		"tall"					"4"
		"autoResize"			"1"
		"pinCorner"				"2"
		"visible"				"0"
		"visible_minmode"		"0"
		"enabled"				"0"
		"tabPosition"			"0"
		"labelText"				"#TF_Charge"
		"textAlignment"			"center"
		"dulltext"				"0"
		"brighttext"			"0"
		"font"					"TFFontSmall"
	}

	"ChargeMeter"
	{	
		"ControlName"			"ContinuousProgressBar"
		"fieldName"				"ChargeMeter"
		"font"					"Default"
		"xpos"					"5"
		"ypos"					"15"
		"zpos"					"2"
		"wide"					"100"
		"tall"					"7"				
		"autoResize"			"0"
		"pinCorner"				"0"
		"visible"				"1"
		"enabled"				"1"
		"textAlignment"			"Left"
		"dulltext"				"0"
		"brighttext"			"0"
	}				

	"PipesPresentPanel"
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"PipesPresentPanel"
		"xpos"			"2"
		"ypos"			"20"
		"zpos"			"1"
		"wide"			"100"
		"tall"			"50"
		"visible"		"0"

		"PipeIcon"
		{
			"ControlName"	"CTFImagePanel"
			"fieldName"		"PipeIcon"
			"xpos"			"6969"
			"ypos"			"6969"
			"wide"			"20"
			"tall"			"20"
			"visible"		"0"
			"enabled"		"0"
			"image"			"../hud/ico_stickybomb_red"
			"scaleImage"	"1"
			"teambg_2"		"../hud/ico_stickybomb_red"
			"teambg_3"		"../hud/ico_stickybomb_blue"	
		}	

		"NumPipesLabel"
		{
			"ControlName"		"CExLabel"
			"fieldName"			"NumPipesLabel"
			"xpos"				"37"
			"ypos"				"13"
			"zpos"				"2"
			"wide"				"35"
			"tall"				"20"
			"autoResize"		"1"
			"pinCorner"			"2"
			"visible"			"1"
			"enabled"			"1"
			"tabPosition"		"0"
			"labelText"			"%activepipes%"
			"textAlignment"		"center"
			"dulltext"			"0"
			"brighttext"		"0"
			"font"				"RobotoCondensed24"
			"fgcolor"			"0 255 255 255"
		}
		"NumPipesLabelDropshadow"
		{
			"ControlName"		"CExLabel"
			"fieldName"			"NumPipesLabelDropshadow"
			"xpos"				"38"
			"ypos"				"14"
			"zpos"				"2"
			"wide"				"35"
			"tall"				"20"
			"autoResize"		"1"
			"pinCorner"			"2"
			"visible"			"1"
			"enabled"			"1"
			"tabPosition"		"0"
			"labelText"			"%activepipes%"
			"textAlignment"		"center"
			"dulltext"			"0"
			"brighttext"		"0"
			"font"				"RobotoCondensed24"
			"fgcolor"			"255 0 0 255"
		}		
	}

	"NoPipesPresentPanel"
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"NoPipesPresentPanel"
		"xpos"			"6969"
		"ypos"			"20"
		"zpos"			"1"
		"wide"			"100"
		"tall"			"50"
		"visible"		"0"

		"PipeIcon"
		{
			"ControlName"	"CTFImagePanel"
			"fieldName"		"PipeIcon"
			"xpos"			"6969"
			"ypos"			"6969"
			"ypos_minmode"	"12"
			"wide"			"20"
			"wide_minmode"	"14"
			"tall"			"20"
			"tall_minmode"	"14"
			"visible"		"0"
			"enabled"		"0"
			"image"			"../hud/ico_stickybomb_red_faded"
			"scaleImage"	"1"
			"teambg_2"		"../hud/ico_stickybomb_red_faded"
			"teambg_3"		"../hud/ico_stickybomb_blue_faded"	
		}

		

Here is the code for anything that has to do with demoman in "Resource/HudLayout.res":

HudDemomanCharge			
	{			
		"fieldName"					"HudDemomanCharge"
		"visible"					"1"
		"enabled"					"1"
		"xpos"						"c-49"
		"ypos"						"c85" //c88
		"wide"						"200"
		"tall"						"100"
		"MeterFG"					"255 0 127 255"
		"MeterBG"					"Gray"
	}				

AND the other one also in "Resource/HudLayout.res":

HudDemomanPipes
	{
		"fieldName"					"HudDemomanPipes"
		"visible"					"1"
		"enabled"					"1"
		"xpos"						"c-20"
		"ypos"						"c-43"
		"wide"						"2000"
		"tall"						"1000F"
	}	

As you can see, I did not mess with the charge for anything just the pipes

Whisker told me to change the charge meter postion, but I tried a bunch of different numbers, it didnt move one bit...

No, this is not a short question, I will not post it to the HUD help thread. That just for quick Q/A help.

K, i asked the same question, and Hergan (creator of Hergan HUD) answered me, and it worked, but now, the charge meter (not the sticki bomb charge meter, the sheild meter) goes the same place the number of stickis are.

The sticki count is just what I wanted, and works fine, it is just that the charge meter (for shields NOT for the sticki charge meter, goes where the sticki count is, whisker told me that it controls both, so is there anyways to not make the sticki count position not interfere with shield charge, and how?

[url=http://imgur.com/fnEx8wX&VrXQdF4&o3JmGyA]3 Pictures[/url]

I like everything the way it is I just want to move the charge meter of the [b]shield[/b] in it is orignal spot. (Just so u know, i did not do ANYTHING to the charge meter, only demoman pipes in ui and hudlayout, like you and hergan suggested)

Here is the code in "Resource/UI/HudDemomanCharge.res":
[code]{
"ChargeMeter"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "ChargeMeter"
"font" "Default"
"xpos" "0"
"ypos" "27"
"zpos" "2"
"wide" "100"
"tall" "6"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"fgcolor_override" "255 255 255 255"
"bgcolor_override" "255 255 255 100"
}
}
[/code]

Here is the code in "Resource/UI/HudDemomanPipes.res":
[code]{
"background"
{
"ControlName" "CTFImagePanel"
"fieldName" "background"
"xpos" "6969"
"ypos" "6969"
"zpos" "0"
"wide" "76"
"tall" "38"
"visible" "0"
"enabled" "0"
"image" "../hud/misc_ammo_area_blue"
"scaleImage" "1"
"teambg_2" "../hud/misc_ammo_area_red"
"teambg_2_lodef" "../hud/misc_ammo_area_red_lodef"
"teambg_3" "../hud/misc_ammo_area_blue"
"teambg_3_lodef" "../hud/misc_ammo_area_blue_lodef"
}

"ChargeLabel"
{
"ControlName" "CExLabel"
"fieldName" "ChargeLabel"
"xpos" "500"
"ypos" "88"
"zpos" "2"
"wide" "100"
"tall" "4"
"autoResize" "1"
"pinCorner" "2"
"visible" "0"
"visible_minmode" "0"
"enabled" "0"
"tabPosition" "0"
"labelText" "#TF_Charge"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "TFFontSmall"
}

"ChargeMeter"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "ChargeMeter"
"font" "Default"
"xpos" "5"
"ypos" "15"
"zpos" "2"
"wide" "100"
"tall" "7"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
}

"PipesPresentPanel"
{
"ControlName" "EditablePanel"
"fieldName" "PipesPresentPanel"
"xpos" "2"
"ypos" "20"
"zpos" "1"
"wide" "100"
"tall" "50"
"visible" "0"

"PipeIcon"
{
"ControlName" "CTFImagePanel"
"fieldName" "PipeIcon"
"xpos" "6969"
"ypos" "6969"
"wide" "20"
"tall" "20"
"visible" "0"
"enabled" "0"
"image" "../hud/ico_stickybomb_red"
"scaleImage" "1"
"teambg_2" "../hud/ico_stickybomb_red"
"teambg_3" "../hud/ico_stickybomb_blue"
}

"NumPipesLabel"
{
"ControlName" "CExLabel"
"fieldName" "NumPipesLabel"
"xpos" "37"
"ypos" "13"
"zpos" "2"
"wide" "35"
"tall" "20"
"autoResize" "1"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "%activepipes%"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "RobotoCondensed24"
"fgcolor" "0 255 255 255"
}
"NumPipesLabelDropshadow"
{
"ControlName" "CExLabel"
"fieldName" "NumPipesLabelDropshadow"
"xpos" "38"
"ypos" "14"
"zpos" "2"
"wide" "35"
"tall" "20"
"autoResize" "1"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "%activepipes%"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "RobotoCondensed24"
"fgcolor" "255 0 0 255"
}
}

"NoPipesPresentPanel"
{
"ControlName" "EditablePanel"
"fieldName" "NoPipesPresentPanel"
"xpos" "6969"
"ypos" "20"
"zpos" "1"
"wide" "100"
"tall" "50"
"visible" "0"

"PipeIcon"
{
"ControlName" "CTFImagePanel"
"fieldName" "PipeIcon"
"xpos" "6969"
"ypos" "6969"
"ypos_minmode" "12"
"wide" "20"
"wide_minmode" "14"
"tall" "20"
"tall_minmode" "14"
"visible" "0"
"enabled" "0"
"image" "../hud/ico_stickybomb_red_faded"
"scaleImage" "1"
"teambg_2" "../hud/ico_stickybomb_red_faded"
"teambg_3" "../hud/ico_stickybomb_blue_faded"
}

[/code]
Here is the code for anything that has to do with demoman in "Resource/HudLayout.res":
[code]HudDemomanCharge
{
"fieldName" "HudDemomanCharge"
"visible" "1"
"enabled" "1"
"xpos" "c-49"
"ypos" "c85" //c88
"wide" "200"
"tall" "100"
"MeterFG" "255 0 127 255"
"MeterBG" "Gray"
}



[/code]AND the other one also in "Resource/HudLayout.res":
[code]HudDemomanPipes
{
"fieldName" "HudDemomanPipes"
"visible" "1"
"enabled" "1"
"xpos" "c-20"
"ypos" "c-43"
"wide" "2000"
"tall" "1000F"
} [/code]

[i]As you can see, I did not mess with the charge for anything just the pipes[/i]

Whisker told me to change the charge meter postion, but I tried a bunch of different numbers, it didnt move one bit...
2
#2
7 Frags +

ChargeMeter in huddemomanpipes, edit stuff there

ChargeMeter in huddemomanpipes, edit stuff there
3
#3
17 Frags +

Why are you more important than everyone else?

Why are you more important than everyone else?
4
#4
10 Frags +

it was a short question
"how do i move the shield charge meter? for some ODD REASON it is going where my sticky number is"

it was a short question
"how do i move the shield charge meter? for some ODD REASON it is going where my sticky number is"
5
#5
8 Frags +
sevennnit was a short question
"how do i move the shield charge meter? for some ODD REASON it is going where my sticky number is"

You literally took this short question and expanded it into several paragraphs.

[quote=sevennn]it was a short question
"how do i move the shield charge meter? for some ODD REASON it is going where my sticky number is"[/quote]

You literally took this short question and expanded it into several paragraphs.
6
#6
7 Frags +

this is like your 2nd or 3rd thread where u have started out with the same sentence

this is like your 2nd or 3rd thread where u have started out with the same sentence
7
#7
-17 Frags +
Mr_Harvardthis is like your 2nd or 3rd thread where u have started out with the same sentence

And 4 people told me exactly what i said not to do.

KhanTF2Why are you more important than everyone else?

You are so retarded it is unbelievable.

[quote=Mr_Harvard]this is like your 2nd or 3rd thread where u have started out with the same sentence[/quote]
And 4 people told me exactly what i said not to do.

[quote=KhanTF2]Why are you more important than everyone else?[/quote]
You are so retarded it is unbelievable.
8
#8
7 Frags +
ghettofishMr_Harvardthis is like your 2nd or 3rd thread where u have started out with the same sentenceAnd 4 people told me exactly what i said not to do.
KhanTF2Why are you more important than everyone else?You are so retarded it is unbelievable.

gl getting an answer once you're banned.

[quote=ghettofish][quote=Mr_Harvard]this is like your 2nd or 3rd thread where u have started out with the same sentence[/quote]
And 4 people told me exactly what i said not to do.

[quote=KhanTF2]Why are you more important than everyone else?[/quote]
You are so retarded it is unbelievable.[/quote]

gl getting an answer once you're banned.
9
#9
8 Frags +
ghettofishYou are so retarded it is unbelievable.

http://i.imgur.com/8gkoqM6.png

[quote=ghettofish]You are so retarded it is unbelievable.[/quote]

[img]http://i.imgur.com/8gkoqM6.png[/img]
10
#10
16 Frags +

That's not very nice.

Why don't you take a couple days to relax and think about how you're acting?

Here, I can help you out.

That's not very nice.

Why don't you take a couple days to relax and think about how you're acting?

Here, I can help you out.
This thread has been locked.