Upvote Upvoted 20 Downvote Downvoted
hud editing tutorial - transferring hud crosshairs
1
#1
19 Frags +

Hey guys, it's rays.

For a long time, I've been wanting to do a series of tutorial-type videos relevant to hud editing, but never got around to it. With summer right around the corner though, I finally decided to put it into action. Without further ado, here's the first video in the series:

http://www.youtube.com/watch?v=wPH6On2F0Pw

I apologize that the editing it nothing fancy. (In fact, it's just a raw video upload, haha) I plan to kinda spice it up a bit in the future, but the .mp4 files that OBS were creating we're cooperating with my copy of Sony Vegas.

That being said, I hope this tutorial is at least somewhat helpful to those who are a tad confused.

I would like feedback though, so if you guys can leave me ideas of ways I could improve the videos/commentary (I know I'm pretty bad at that, for sure), or other ideasf or hud-related tutorials you'd like to see, I'd be very appreciative.

All of the videos in the future will be posted on my new YouTube channel:

raysfiyah.

Thank you.

Hey guys, it's rays.

For a long time, I've been wanting to do a series of tutorial-type videos relevant to hud editing, but never got around to it. With summer right around the corner though, I finally decided to put it into action. Without further ado, here's the first video in the series:

[youtube]http://www.youtube.com/watch?v=wPH6On2F0Pw[/youtube]

I apologize that the editing it nothing fancy. (In fact, it's just a raw video upload, haha) I plan to kinda spice it up a bit in the future, but the .mp4 files that OBS were creating we're cooperating with my copy of Sony Vegas.

That being said, I hope this tutorial is at least somewhat helpful to those who are a tad confused.

I would like feedback though, so if you guys can leave me ideas of ways I could improve the videos/commentary (I know I'm pretty bad at that, for sure), or other ideasf or hud-related tutorials you'd like to see, I'd be very appreciative.

All of the videos in the future will be posted on my new YouTube channel:

[url=http://www.youtube.com/user/raysfiyah]raysfiyah[/url].

Thank you.
2
#2
1 Frags +

Thanks rays :)

Thanks rays :)
3
#3
0 Frags +

Not sure if this makes any difference, but in KBNHUD, the crosshair I use involves two aspects, the pulsing circle that pulses on damage, and the actual crosshair (a square dot).

That would be:

"Resource/HudLayout.res"
{
		xHairCirclePulse
	{
		"controlName"	"CExLabel"
		"fieldName"	 	"xHairCirclePulse"
		"visible"		"1"
		"enabled"		"1"
		"zpos"			"2"

		"xpos"			"c-100"
		"ypos"			"c-100"
		"wide"			"200"
		"tall"			"200"

		"font"			"xHairCirclePulse"
		"labelText"		"i"
		"textAlignment"	"center"	

		"fgcolor"		"0 0 0 255" //Change to this for white circle: "255 255 255 255"
	}
	HudxHairDot
	{
		"controlName"	"CExLabel"
		"fieldName"	 	"HudxHairDot"
		"visible"		"1"
		"enabled"		"1"
		"zpos"			"1"

		"xpos"			"c-17"
		"ypos"			"c-12"
		"wide"			"27"
		"tall"			"27"

		"font"			"HudxHair"
		"labelText"		"4"
		"fgcolor"		"255 255 255 255"
		"textAlignment"	"center"
	}

Those two. What do I have to do differently in order to transfer that? I feel like I just do what you said but do it for both, but I want to make sure not to break anything. :c

Edit: So I did what you said for the first one, but got stuck once I searched "Formas germetricas 1" which is the thing I found in:

"xHairCirclePulse"
		{
			"1"
			{
				"name"		"Formas germetricas 1"
				"tall"		"30"
				"weight"	"0"
				"antialias"	"1"
			}
		}

All there was in ClientScheme.res was that one time it said it though, nothing at the bottom. What do I do?

Not sure if this makes any difference, but in KBNHUD, the crosshair I use involves two aspects, the pulsing circle that pulses on damage, and the actual crosshair (a square dot).

That would be:

[code]"Resource/HudLayout.res"
{
xHairCirclePulse
{
"controlName" "CExLabel"
"fieldName" "xHairCirclePulse"
"visible" "1"
"enabled" "1"
"zpos" "2"

"xpos" "c-100"
"ypos" "c-100"
"wide" "200"
"tall" "200"

"font" "xHairCirclePulse"
"labelText" "i"
"textAlignment" "center"

"fgcolor" "0 0 0 255" //Change to this for white circle: "255 255 255 255"
}
HudxHairDot
{
"controlName" "CExLabel"
"fieldName" "HudxHairDot"
"visible" "1"
"enabled" "1"
"zpos" "1"

"xpos" "c-17"
"ypos" "c-12"
"wide" "27"
"tall" "27"

"font" "HudxHair"
"labelText" "4"
"fgcolor" "255 255 255 255"
"textAlignment" "center"
}[/code]

Those two. What do I have to do differently in order to transfer that? I feel like I just do what you said but do it for both, but I want to make sure not to break anything. :c

Edit: So I did what you said for the first one, but got stuck once I searched "Formas germetricas 1" which is the thing I found in:

[code]"xHairCirclePulse"
{
"1"
{
"name" "Formas germetricas 1"
"tall" "30"
"weight" "0"
"antialias" "1"
}
}[/code]

All there was in ClientScheme.res was that one time it said it though, nothing at the bottom. What do I do?
4
#4
1 Frags +
RyanNot sure if this makes any difference, but in KBNHUD, the crosshair I use involves two aspects, the pulsing circle that pulses on damage, and the actual crosshair (a square dot).

That would be:
*CODE*

Those two. What do I have to do differently in order to transfer that? I feel like I just do what you said but do it for both, but I want to make sure not to break anything. :c

The "HudxHairDot" should install just fine, as it's purpose is to remain on at all times. The xHairCirclePulse, however, is only supposed to appear when damage is done (if I'm understanding you correctly). Because it's intentions are for it to only appear when damage is done, that also requires modifying your HudAnimation_tf.txt file in your scripts folder, which is a few more additional steps.

If there's enough interest for this, I can do a tutorial on having a crosshair either flash or change colors when damage is done.

Edit: So I did what you said for the first one, but got stuck once I searched "Formas germetricas 1" which is the thing I found in:
"xHairCirclePulse"
		{
			"1"
			{
				"name"		"Formas germetricas 1"
				"tall"		"30"
				"weight"	"0"
				"antialias"	"1"
			}
		}

All there was in ClientScheme.res was that one time it said it though, nothing at the bottom. What do I do?

It's referring to the font "FORMASGE". A way you can check this is by right clicking the font file itself -> Properties -> Details.

In the "Title" field, you should find the name that corresponds with the name in the ClientScheme.res file. Sorry I didn't make this clear in the tutorial! It's always important to check, because sometimes people will rename the font files they're using.

[quote=Ryan]Not sure if this makes any difference, but in KBNHUD, the crosshair I use involves two aspects, the pulsing circle that pulses on damage, and the actual crosshair (a square dot).

That would be:

[code]*CODE*[/code]

Those two. What do I have to do differently in order to transfer that? I feel like I just do what you said but do it for both, but I want to make sure not to break anything. :c[/quote]

The "HudxHairDot" should install just fine, as it's purpose is to remain on at all times. The xHairCirclePulse, however, is only supposed to appear when damage is done (if I'm understanding you correctly). Because it's intentions are for it to only appear when damage is done, that also requires modifying your HudAnimation_tf.txt file in your scripts folder, which is a few more additional steps.

If there's enough interest for this, I can do a tutorial on having a crosshair either flash or change colors when damage is done.

[quote]Edit: So I did what you said for the first one, but got stuck once I searched "Formas germetricas 1" which is the thing I found in:

[code]"xHairCirclePulse"
{
"1"
{
"name" "Formas germetricas 1"
"tall" "30"
"weight" "0"
"antialias" "1"
}
}[/code]

All there was in ClientScheme.res was that one time it said it though, nothing at the bottom. What do I do?[/quote]

It's referring to the font "FORMASGE". A way you can check this is by right clicking the font file itself -> Properties -> Details.

In the "Title" field, you should find the name that corresponds with the name in the ClientScheme.res file. Sorry I didn't make this clear in the tutorial! It's always important to check, because sometimes people will rename the font files they're using.
5
#5
-1 Frags +
rays
The "HudxHairDot" should install just fine, as it's purpose is to remain on at all times. The xHairCirclePulse, however, is only supposed to appear when damage is done (if I'm understanding you correctly). Because it's intentions are for it to only appear when damage is done, that also requires modifying your HudAnimation_tf.txt file in your scripts folder, which is a few more additional steps.

If there's enough interest for this, I can do a tutorial on having a crosshair either flash or change colors when damage is done.

Do it! Please! yahud is super confusing cause it's format is so much more different than in the video,

"12"
		{
		"font" "resource/crosshairs.ttf"
		"name" "Crosshairs"
		}

These aren't at the bottom at all of yahud which I am currently using, and I can't seem to find them anywhere in clientscheme. It's making it difficult to transfer. :c

So to be more clear: using KBNHUD crosshair, yahud doesn't have the code from above at the bottom, and I can't find it.

Along with that, I'm trying to import the actual dot from KBNHUD in right now and it has the same name of the .ttf as yahud, how do I merge them? Because pasting the first one in only gives me three options, to keep both but rename, use the new one, or just don't copy.

[quote=rays]

The "HudxHairDot" should install just fine, as it's purpose is to remain on at all times. The xHairCirclePulse, however, is only supposed to appear when damage is done (if I'm understanding you correctly). Because it's intentions are for it to only appear when damage is done, that also requires modifying your HudAnimation_tf.txt file in your scripts folder, which is a few more additional steps.

If there's enough interest for this, I can do a tutorial on having a crosshair either flash or change colors when damage is done.
[/quote]

Do it! Please! yahud is super confusing cause it's format is so much more different than in the video,

[code]"12"
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}[/code]

These aren't at the bottom at all of yahud which I am currently using, and I can't seem to find them anywhere in clientscheme. It's making it difficult to transfer. :c

So to be more clear: using KBNHUD crosshair, yahud doesn't have the code from above at the bottom, and I can't find it.

Along with that, I'm trying to import the actual dot from KBNHUD in right now and it has the same name of the .ttf as yahud, how do I merge them? Because pasting the first one in only gives me three options, to keep both but rename, use the new one, or just don't copy.
6
#6
0 Frags +

Hey rays, not sure what I'm doing wrong, but I get everything in like you show but then when I launch it looks like this:
http://cloud-2.steampowered.com/ugc/8672206561837

I have no hud, just the crosshair.

Hey rays, not sure what I'm doing wrong, but I get everything in like you show but then when I launch it looks like this:
http://cloud-2.steampowered.com/ugc/8672206561837

I have no hud, just the crosshair.
7
#7
4 Frags +

rays_smoothest_voice

rays_smoothest_voice
8
#8
0 Frags +
Ryanrays
The "HudxHairDot" should install just fine, as it's purpose is to remain on at all times. The xHairCirclePulse, however, is only supposed to appear when damage is done (if I'm understanding you correctly). Because it's intentions are for it to only appear when damage is done, that also requires modifying your HudAnimation_tf.txt file in your scripts folder, which is a few more additional steps.

If there's enough interest for this, I can do a tutorial on having a crosshair either flash or change colors when damage is done.

Do it! Please! yahud is super confusing cause it's format is so much more different than in the video,
"12"
		{
		"font" "resource/crosshairs.ttf"
		"name" "Crosshairs"
		}

These aren't at the bottom at all of yahud which I am currently using, and I can't seem to find them anywhere in clientscheme. It's making it difficult to transfer. :c

So to be more clear: using KBNHUD crosshair, yahud doesn't have the code from above at the bottom, and I can't find it.

Along with that, I'm trying to import the actual dot from KBNHUD in right now and it has the same name of the .ttf as yahud, how do I merge them? Because pasting the first one in only gives me three options, to keep both but rename, use the new one, or just don't copy.

I was playing with it today and it's there. How long has it been since you updated?

[quote=Ryan][quote=rays]

The "HudxHairDot" should install just fine, as it's purpose is to remain on at all times. The xHairCirclePulse, however, is only supposed to appear when damage is done (if I'm understanding you correctly). Because it's intentions are for it to only appear when damage is done, that also requires modifying your HudAnimation_tf.txt file in your scripts folder, which is a few more additional steps.

If there's enough interest for this, I can do a tutorial on having a crosshair either flash or change colors when damage is done.
[/quote]

Do it! Please! yahud is super confusing cause it's format is so much more different than in the video,

[code]"12"
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}[/code]

These aren't at the bottom at all of yahud which I am currently using, and I can't seem to find them anywhere in clientscheme. It's making it difficult to transfer. :c

So to be more clear: using KBNHUD crosshair, yahud doesn't have the code from above at the bottom, and I can't find it.

Along with that, I'm trying to import the actual dot from KBNHUD in right now and it has the same name of the .ttf as yahud, how do I merge them? Because pasting the first one in only gives me three options, to keep both but rename, use the new one, or just don't copy.[/quote] I was playing with it today and it's there. How long has it been since you updated?
9
#9
0 Frags +
CaptainHey rays, not sure what I'm doing wrong, but I get everything in like you show but then when I launch it looks like this:
http://cloud-2.steampowered.com/ugc/8672206561837

I have no hud, just the crosshair.

Can't see the image but you probably added an extra/forgot a curly bracket in scripts/hudlayout.res

[quote=Captain]Hey rays, not sure what I'm doing wrong, but I get everything in like you show but then when I launch it looks like this:
http://cloud-2.steampowered.com/ugc/8672206561837

I have no hud, just the crosshair.[/quote]
Can't see the image but you probably added an extra/forgot a curly bracket in scripts/hudlayout.res
Please sign in through STEAM to post a comment.