Upvote Upvoted 1 Downvote Downvoted
Editing My HUD.
posted in Customization
1
#1
0 Frags +

(Pardon me if this is a really stupid question but I am not good with HUDs)

I am looking to edit the HUD I am using (OMP's HUD) to do two things.

1. I want to have the health I pick up appear in green numbers by my health (I have the cross enabled)

2. I want to see the 3D models. Not the little background thing if possible just the models.

Thanks!

(Pardon me if this is a really stupid question but I am not good with HUDs)

I am looking to edit the HUD I am using (OMP's HUD) to do two things.

1. I want to have the health I pick up appear in green numbers by my health (I have the cross enabled)

2. I want to see the 3D models. Not the little background thing if possible just the models.

Thanks!
2
#2
0 Frags +

Take a hudplayerclass from one of the huds that already has one. You may have to install some of the fonts used. For the health open up the hudlayout.res. Ctrl + f for CHealthAccountPanel. Play with the xpos and ypos of the stuff in there. Hope this helps :)

Take a hudplayerclass from one of the huds that already has one. You may have to install some of the fonts used. For the health open up the hudlayout.res. Ctrl + f for CHealthAccountPanel. Play with the xpos and ypos of the stuff in there. Hope this helps :)
3
#3
0 Frags +
TreshTake a hudplayerclass from one of the huds that already has one. You may have to install some of the fonts used. For the health open up the hudlayout.res. Ctrl + f for CHealthAccountPanel. Play with the xpos and ypos of the stuff in there. Hope this helps :)

So my CHealthAccountPanel is:

CHealthAccountPanel
	{
		"fieldName"				"CHealthAccountPanel"
		"xpos"					"76"
		"xpos_minmode"			"61"
		"ypos"					"r152"
		"ypos_minmode"			"r134"
		"wide"					"116"
		"tall"  				"180"
		"visible" 				"1"
		"enabled" 				"1"
		"PaintBackgroundType"	"2"
	}
	

Any ideas on what to change?

[quote=Tresh]Take a hudplayerclass from one of the huds that already has one. You may have to install some of the fonts used. For the health open up the hudlayout.res. Ctrl + f for CHealthAccountPanel. Play with the xpos and ypos of the stuff in there. Hope this helps :)[/quote]

So my CHealthAccountPanel is:
[code]CHealthAccountPanel
{
"fieldName" "CHealthAccountPanel"
"xpos" "76"
"xpos_minmode" "61"
"ypos" "r152"
"ypos_minmode" "r134"
"wide" "116"
"tall" "180"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
}
[/code]

Any ideas on what to change?
4
#4
2 Frags +
Merchant2. I want to see the 3D models. Not the little background thing if possible just the models.

https://github.com/omp/tf2hud/blob/master/resource/ui/hudplayerclass.res#L108-L109

These two lines, change xpos to 10 and ypos to r154.

It won't lie at the very bottom of the screen, but that's because these values are to align it with the spy disguise status panel. Feel free to move it around as you wish, but you might cause overlap with other elements.

https://github.com/omp/tf2hud/blob/master/resource/ui/hudplayerclass.res#L29

You should probably change that 0 to a 255 in case you disable the 3D models at some point.

Make sure you do not follow the instructions for enabling spy disguise images. Doing the above will already do so, and uncommenting the relevant lines in hudanimations_tf.txt will cause problems.

[quote=Merchant]2. I want to see the 3D models. Not the little background thing if possible just the models.[/quote]
https://github.com/omp/tf2hud/blob/master/resource/ui/hudplayerclass.res#L108-L109

These two lines, change xpos to 10 and ypos to r154.

It won't lie at the very bottom of the screen, but that's because these values are to align it with the spy disguise status panel. Feel free to move it around as you wish, but you might cause overlap with other elements.

https://github.com/omp/tf2hud/blob/master/resource/ui/hudplayerclass.res#L29

You should probably change that 0 to a 255 in case you disable the 3D models at some point.

[b]Make sure you do not follow the instructions for enabling spy disguise images. Doing the above will already do so, and uncommenting the relevant lines in hudanimations_tf.txt will cause problems.[/b]
5
#5
0 Frags +
MerchantSo my CHealthAccountPanel is:
CHealthAccountPanel
	{
		"fieldName"				"CHealthAccountPanel"
		"xpos"					"76"
		"xpos_minmode"			"61"
		"ypos"					"r152"
		"ypos_minmode"			"r134"
		"wide"					"116"
		"tall"  				"180"
		"visible" 				"1"
		"enabled" 				"1"
		"PaintBackgroundType"	"2"
	}
	

Any ideas on what to change?

Reposition it by adjusting the xpos/ypos values to get it where you want. (Use xpos_minmode and ypos_minmode instead if you use minmode.)

However, you'll also need to adjust the following value:

https://github.com/omp/tf2hud/blob/master/resource/ui/hudhealthaccount.res#L11

This controls how long until the text fades away. I believe the default value is 1.5, but I could be mistaken.

Also, if you want to control how much it moves up, play with this value:

https://github.com/omp/tf2hud/blob/master/resource/ui/hudhealthaccount.res#L8

Set it to the same value as delta_item_start_y if you don't want it moving.

[quote=Merchant]So my CHealthAccountPanel is:
[code]CHealthAccountPanel
{
"fieldName" "CHealthAccountPanel"
"xpos" "76"
"xpos_minmode" "61"
"ypos" "r152"
"ypos_minmode" "r134"
"wide" "116"
"tall" "180"
"visible" "1"
"enabled" "1"
"PaintBackgroundType" "2"
}
[/code]

Any ideas on what to change?[/quote]

Reposition it by adjusting the xpos/ypos values to get it where you want. (Use xpos_minmode and ypos_minmode instead if you use minmode.)

However, you'll also need to adjust the following value:

https://github.com/omp/tf2hud/blob/master/resource/ui/hudhealthaccount.res#L11

This controls how long until the text fades away. I believe the default value is 1.5, but I could be mistaken.

Also, if you want to control how much it moves up, play with this value:

https://github.com/omp/tf2hud/blob/master/resource/ui/hudhealthaccount.res#L8

Set it to the same value as delta_item_start_y if you don't want it moving.
6
#6
0 Frags +
ompMerchant2. I want to see the 3D models. Not the little background thing if possible just the models.https://github.com/omp/tf2hud/blob/master/resource/ui/hudplayerclass.res#L108-L109

These two lines, change xpos to 10 and ypos to r154.

It won't lie at the very bottom of the screen, but that's because these values are to align it with the spy disguise status panel. Feel free to move it around as you wish, but you might cause overlap with other elements.

https://github.com/omp/tf2hud/blob/master/resource/ui/hudplayerclass.res#L29

You should probably change that 0 to a 255 in case you disable the 3D models at some point.

Make sure you do not follow the instructions for enabling spy disguise images. Doing the above will already do so, and uncommenting the relevant lines in hudanimations_tf.txt will cause problems.

So I did that but it only shows this:

http://cloud-2.steampowered.com/ugc/599266384673222990/CA899BAEBE281783971223865A04FB10D06C4C93/

Any ideas?

ompMerchant<snip>
Reposition it by adjusting the xpos/ypos values to get it where you want. (Use xpos_minmode and ypos_minmode instead if you use minmode.)

However, you'll also need to adjust the following value:

https://github.com/omp/tf2hud/blob/master/resource/ui/hudhealthaccount.res#L11

This controls how long until the text fades away. I believe the default value is 1.5, but I could be mistaken.

Also, if you want to control how much it moves up, play with this value:

https://github.com/omp/tf2hud/blob/master/resource/ui/hudhealthaccount.res#L8

Set it to the same value as delta_item_start_y if you don't want it moving.

What are normalish values that will put it on the screen?

[quote=omp][quote=Merchant]2. I want to see the 3D models. Not the little background thing if possible just the models.[/quote]
https://github.com/omp/tf2hud/blob/master/resource/ui/hudplayerclass.res#L108-L109

These two lines, change xpos to 10 and ypos to r154.

It won't lie at the very bottom of the screen, but that's because these values are to align it with the spy disguise status panel. Feel free to move it around as you wish, but you might cause overlap with other elements.

https://github.com/omp/tf2hud/blob/master/resource/ui/hudplayerclass.res#L29

You should probably change that 0 to a 255 in case you disable the 3D models at some point.

[b]Make sure you do not follow the instructions for enabling spy disguise images. Doing the above will already do so, and uncommenting the relevant lines in hudanimations_tf.txt will cause problems.[/b][/quote]

So I did that but it only shows this: [img]http://cloud-2.steampowered.com/ugc/599266384673222990/CA899BAEBE281783971223865A04FB10D06C4C93/[/img]
Any ideas?

[quote=omp][quote=Merchant]<snip>[/quote]

Reposition it by adjusting the xpos/ypos values to get it where you want. (Use xpos_minmode and ypos_minmode instead if you use minmode.)

However, you'll also need to adjust the following value:

https://github.com/omp/tf2hud/blob/master/resource/ui/hudhealthaccount.res#L11

This controls how long until the text fades away. I believe the default value is 1.5, but I could be mistaken.

Also, if you want to control how much it moves up, play with this value:

https://github.com/omp/tf2hud/blob/master/resource/ui/hudhealthaccount.res#L8

Set it to the same value as delta_item_start_y if you don't want it moving.[/quote]

What are normalish values that will put it on the screen?
7
#7
0 Frags +
MerchantAny ideas?

I'm going to have to guess that you moved the wrong element?

MerchantWhat are normalish values that will put it on the screen?

The current value should already be on-screen, probably in the lower-left corner. It's just a matter of increasing the lifetime of the text to make it visible.

[quote=Merchant]Any ideas?[/quote]
I'm going to have to guess that you moved the wrong element?

[quote=Merchant]What are normalish values that will put it on the screen?[/quote]
The current value should already be on-screen, probably in the lower-left corner. It's just a matter of increasing the lifetime of the text to make it visible.
8
#8
0 Frags +

The fade time is controlled in the file hudhealthaccount.res in resource/ui I believe.

The fade time is controlled in the file hudhealthaccount.res in resource/ui I believe.
9
#9
0 Frags +
ompMerchantAny ideas?I'm going to have to guess that you moved the wrong element?
MerchantWhat are normalish values that will put it on the screen?The current value should already be on-screen, probably in the lower-left corner. It's just a matter of increasing the lifetime of the text to make it visible.

Yep I did. One last tiny question (and thanks for all your help) but is there a way to make the green text be in the rest of the omphud text?

[quote=omp][quote=Merchant]Any ideas?[/quote]
I'm going to have to guess that you moved the wrong element?

[quote=Merchant]What are normalish values that will put it on the screen?[/quote]
The current value should already be on-screen, probably in the lower-left corner. It's just a matter of increasing the lifetime of the text to make it visible.[/quote]

Yep I did. One last tiny question (and thanks for all your help) but is there a way to make the green text be in the rest of the omphud text?
10
#10
0 Frags +

Change delta_item_font to Futura16 or Futura20 or Futura24 or something of that sort.

Change delta_item_font to Futura16 or Futura20 or Futura24 or something of that sort.
Please sign in through STEAM to post a comment.