<>
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
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
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.
[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.
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.
[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.
daybraekthis isnt csgo theres no nades like why
demoman
demoman
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 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?
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
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