Upvote Upvoted 3 Downvote Downvoted
Weird Soldier Crosshair
1
#1
0 Frags +

http://i.imgur.com/q9AFT.jpg

I saw this on a 6 y/o thread and didn't wanna necro it because I doubt the OP still plays anyway. Regardless this intrigued me for some reason, so if anyone has the vtf source or any insight on how to make it that would be appreciated. I know how to draw my own vtf crosshairs, but as far as I understand there's a limit on the file resolution, so I'm not sure how he made the horizontal line so long.

http://i.imgur.com/q9AFT.jpg

I saw this on a 6 y/o thread and didn't wanna necro it because I doubt the OP still plays anyway. Regardless this intrigued me for some reason, so if anyone has the vtf source or any insight on how to make it that would be appreciated. I know how to draw my own vtf crosshairs, but as far as I understand there's a limit on the file resolution, so I'm not sure how he made the horizontal line so long.
2
#2
9 Frags +

That's called the Pilot crosshair. or at least that's half of it. It also comes with a vertical line that you enable seperately. A lot of the longer running HUDs have them installed in hudlayout.res like HUD crosshairs

I've never really messed around with large res VTFs. What's the limitation? Only limitation I know of is the width and length having to be a power of 2 and I've seen large resolution crosshairs before so it's probably very doable

edit: made a quick resize of a crosshair to 2048x2048. seems to work just fine https://imgur.com/a/5f70JeM

That's called the Pilot crosshair. or at least that's half of it. It also comes with a vertical line that you enable seperately. A lot of the longer running HUDs have them installed in hudlayout.res like HUD crosshairs

I've never really messed around with large res VTFs. What's the limitation? Only limitation I know of is the width and length having to be a power of 2 and I've seen large resolution crosshairs before so it's probably very doable

edit: made a quick resize of a crosshair to 2048x2048. seems to work just fine https://imgur.com/a/5f70JeM
3
#3
7 Frags +

can I just ask why?

can I just ask why?
4
#4
3 Frags +

To add a small note to this

cl_crosshairscale 32

is the 1:1 size for a VTF crosshair.

So if you make a 32x32 VTF dot crosshair that takes up 4 pixel in the center and you set the scale to 32 it will be 4 pixels in game (assuming native resolution on your monitor) this is still true if the VTF is 64x64 or even higher.

Now if you use a scaled resolution the crosshair will be scaled as well same goes for stretched resolutions the crosshair will be stretched.

To add a small note to this

[code]cl_crosshairscale 32[/code]

is the 1:1 size for a VTF crosshair.

So if you make a 32x32 VTF dot crosshair that takes up 4 pixel in the center and you set the scale to 32 it will be 4 pixels in game (assuming native resolution on your monitor) this is still true if the VTF is 64x64 or even higher.

Now if you use a scaled resolution the crosshair will be scaled as well same goes for stretched resolutions the crosshair will be stretched.
5
#5
5 Frags +

heres a 1024x1024 vtf of the one in the pic should be scaled the same at 720p with cl_crosshairsize 32 vtf vmt psd

instructions

1. download a vtf crosshair pack

2. go to \custom\thenameofyourvtfcrosshairfiles\materials\vgui\replay\thumbnails place the vtf and name it the same as the crosshair you want to replace.

3. go to \custom\thenameofyourvtfcrosshairfiles\scripts and change the width and height to 1024 under "crosshair" in the tf_weapon_x files that you want.

heres a 1024x1024 vtf of the one in the pic should be scaled the same at 720p with cl_crosshairsize 32 [url=https://puu.sh/CrLwM/3aac78325a.vtf]vtf[/url] [url=https://puu.sh/CrLRt/7e9df458d6.vmt]vmt[/url] [url=https://puu.sh/CrLyy/a907c27663.psd]psd[/url]





[u]instructions[/u]

1. download a vtf crosshair pack

2. go to \custom\[b]thenameofyourvtfcrosshairfiles[/b]\materials\vgui\replay\thumbnails place the vtf and name it the same as the crosshair you want to replace.

3. go to \custom\[b]thenameofyourvtfcrosshairfiles[/b]\scripts and change the width and height to 1024 under "crosshair" in the tf_weapon_x files that you want.
6
#6
4 Frags +

advanced crosshair technology

advanced crosshair technology
7
#7
-5 Frags +

this isnt csgo theres no nades like why

this isnt csgo theres no nades like why
8
#8
1 Frags +

he did play cs for a year so it makes sense

he did play cs for a year so it makes sense
9
#9
1 Frags +

I have used it for a while
https://steamcommunity.com/sharedfiles/filedetails/?id=1370793395

It was part of this hud:
https://github.com/Hypnootize/EJP-Hud

I have used it for a while
https://steamcommunity.com/sharedfiles/filedetails/?id=1370793395

It was part of this hud:
https://github.com/Hypnootize/EJP-Hud
10
#10
2 Frags +
daybraekthis isnt csgo theres no nades like why

demoman

[quote=daybraek]this isnt csgo theres no nades like why[/quote]
demoman
11
#11
1 Frags +
TobThat's called the Pilot crosshair. or at least that's half of it. It also comes with a vertical line that you enable seperately. A lot of the longer running HUDs have them installed in hudlayout.res like HUD crosshairs

I've never really messed around with large res VTFs. What's the limitation? Only limitation I know of is the width and length having to be a power of 2 and I've seen large resolution crosshairs before so it's probably very doable

edit: made a quick resize of a crosshair to 2048x2048. seems to work just fine https://imgur.com/a/5f70JeM

Thanks for the reply, for some reason I was under the impression vtf's had to be 64x64 because that's what some guide I read ages ago said.

[quote=Tob]That's called the Pilot crosshair. or at least that's half of it. It also comes with a vertical line that you enable seperately. A lot of the longer running HUDs have them installed in hudlayout.res like HUD crosshairs

I've never really messed around with large res VTFs. What's the limitation? Only limitation I know of is the width and length having to be a power of 2 and I've seen large resolution crosshairs before so it's probably very doable

edit: made a quick resize of a crosshair to 2048x2048. seems to work just fine https://imgur.com/a/5f70JeM[/quote]


Thanks for the reply, for some reason I was under the impression vtf's had to be 64x64 because that's what some guide I read ages ago said.
12
#12
1 Frags +
driftacan I just ask why?

I dunno, I'm a weirdo and I like to mess around with HUD elements and cross-hairs. Really spices things up :P

[quote=drifta]can I just ask why?[/quote]
I dunno, I'm a weirdo and I like to mess around with HUD elements and cross-hairs. Really spices things up :P
13
#13
1 Frags +
snowiheres a 1024x1024 vtf of the one in the pic should be scaled the same at 720p with cl_crosshairsize 32 vtf vmt psd

instructions

1. download a vtf crosshair pack

2. go to \custom\thenameofyourvtfcrosshairfiles\materials\vgui\replay\thumbnails place the vtf and name it the same as the crosshair you want to replace.

3. go to \custom\thenameofyourvtfcrosshairfiles\scripts and change the width and height to 1024 under "crosshair" in the tf_weapon_x files that you want.

Thanks for the help :)

[quote=snowi]heres a 1024x1024 vtf of the one in the pic should be scaled the same at 720p with cl_crosshairsize 32 [url=https://puu.sh/CrLwM/3aac78325a.vtf]vtf[/url] [url=https://puu.sh/CrLRt/7e9df458d6.vmt]vmt[/url] [url=https://puu.sh/CrLyy/a907c27663.psd]psd[/url]





[u]instructions[/u]

1. download a vtf crosshair pack

2. go to \custom\[b]thenameofyourvtfcrosshairfiles[/b]\materials\vgui\replay\thumbnails place the vtf and name it the same as the crosshair you want to replace.

3. go to \custom\[b]thenameofyourvtfcrosshairfiles[/b]\scripts and change the width and height to 1024 under "crosshair" in the tf_weapon_x files that you want.[/quote]


Thanks for the help :)
14
#14
0 Frags +
daybraekthis isnt csgo theres no nades like why

I have no depth perception but still play soldier sometimes, also weird crosshairs are fun to me.

[quote=daybraek]this isnt csgo theres no nades like why[/quote]

I have no depth perception but still play soldier sometimes, also weird crosshairs are fun to me.
15
#15
0 Frags +

I tried to follow this https://www.teamfortress.tv/37767/how-to-make-vtf-crosshairs to make something like that crosshair, except that I made a 1920x1080 png

I already had a vtf crosshair pack from cfg.tf, so I replaced the crosshair1OL files with the ones I created and edited the rocket launcher script with the resolution I wanted:

		"crosshair"
		{
				"file"		"vgui/replay/thumbnails/crosshair1OL"
				"x"		"0"
				"y"		"0"
				"width"		"1920"
				"height"	"1080"
		}

On GIMP the crosshair looks like this:
https://imgur.com/Hs4BqRx
On VTF Edit:
https://imgur.com/Vge92gG

When ingame it becomes justa a big black rectangle, which covers the entire screen at crosshair_scale 32 :(, anybody knows what I'm doing wrong?

I tried to follow this https://www.teamfortress.tv/37767/how-to-make-vtf-crosshairs to make something like that crosshair, except that I made a 1920x1080 png

I already had a vtf crosshair pack from cfg.tf, so I replaced the crosshair1OL files with the ones I created and edited the rocket launcher script with the resolution I wanted:

[code] "crosshair"
{
"file" "vgui/replay/thumbnails/crosshair1OL"
"x" "0"
"y" "0"
"width" "1920"
"height" "1080"
}[/code]

On GIMP the crosshair looks like this:
https://imgur.com/Hs4BqRx
On VTF Edit:
https://imgur.com/Vge92gG

When ingame it becomes justa a big black rectangle, which covers the entire screen at crosshair_scale 32 :(, anybody knows what I'm doing wrong?
16
#16
1 Frags +
hektiksnip

couple of things, but main thing is:
Make the VTF 2048x2048. The dimensions need to be a power of 2. examples 4x4, 32x32, 64x64 (64x32 would also work afaik)
The dimensions in the text file can be whatever, but I recommend just centering the 1920x1080 image on a 2048x2048 canvas and making it a VTF, then using 2048 for width and height in the text file as well. Keeps things simple

As for your VTF flags I recommend also selecting "No Minimum Mipmap" underneath "No Level of Detail". I don't actually remember what it affects but I've always had it selected so no harm done if you do

I also recommend the first flag "Point Sample" for this particular crosshair since this will remove a tiny bit of remaining blur. I recommend using point sample for crosshairs like crosses and such, though it is not required at all for them to work nor is the tiny blur a big deal. Most people won't even notice the difference

[quote=hektik]snip[/quote]
couple of things, but main thing is:
Make the VTF 2048x2048. The dimensions need to be a power of 2. examples 4x4, 32x32, 64x64 (64x32 would also work afaik)
The dimensions in the text file can be whatever, but I recommend just centering the 1920x1080 image on a 2048x2048 canvas and making it a VTF, then using 2048 for width and height in the text file as well. Keeps things simple

As for your VTF flags I recommend also selecting "No Minimum Mipmap" underneath "No Level of Detail". I don't actually remember what it affects but I've always had it selected so no harm done if you do

I also recommend the first flag "Point Sample" for this particular crosshair since this will remove a tiny bit of remaining blur. I recommend using point sample for crosshairs like crosses and such, though it is not required at all for them to work nor is the tiny blur a big deal. Most people won't even notice the difference
17
#17
1 Frags +

It worked ty!

It worked ty!
Please sign in through STEAM to post a comment.