this is a very simple program for switching vtf crosshairs. i made it mostly for myself since it has a pretty niche use but i think it could be useful to some people so im releasing it.
here's the use case:
- you use windows 64 bit
- you use vtf crosshairs with weapon-specific configs, like this or this
- you have the crosshair-switching mental illness like me to justify not wanting to edit the config files manually (or re-generate your entire crosshair config with cfg.tf) each time you switch
download
latest v3
link
how to use
if you don't already have one, download a weapon-specific vtf crosshair pack and install it
run the exe and select the folder. the folder should include materials/vgui/replay/thumbnails/ and scripts/ subfolders
is this a virus
no, source code here
this is a very simple program for switching vtf crosshairs. i made it mostly for myself since it has a pretty niche use but i think it could be useful to some people so im releasing it.
here's the use case:
[list]
[*] you use windows 64 bit
[*] you use vtf crosshairs with weapon-specific configs, like [url=https://www.teamfortress.tv/35367/vtf-crosshair-pack]this[/url] or [url=https://cfg.tf/tools/crosshairs/]this[/url]
[*] you have the crosshair-switching mental illness like me to justify not wanting to edit the config files manually (or re-generate your entire crosshair config with cfg.tf) each time you switch
[/list]
[h]download[/h]
latest v3
[url=https://github.com/laz07/laz-vtf-xhair-switcher/releases/download/v3.0/laz-vtf-crosshair-switcher.exe]link[/url]
[h]how to use[/h]
if you don't already have one, download a weapon-specific vtf crosshair pack and install it
run the exe and select the folder. the folder should include materials/vgui/replay/thumbnails/ and scripts/ subfolders
[h]is this a virus[/h]
no, source code [url=https://github.com/laz07/laz-vtf-xhair-switcher]here[/url]
this is actually really sick thanks
this is actually really sick thanks
only chads use Windows Explorer in dark mode B^)
only chads use Windows Explorer in dark mode B^)
This is awesome. Going to install it when I get home! Thank you sir.
This is awesome. Going to install it when I get home! Thank you sir.
this make my pp hard wtf why
this make my pp hard wtf why
So I get the following error when I run it:
https://i.imgur.com/2zJBOUq.png
I'm on Windows 10 Pro 64 bit
So I get the following error when I run it:
https://i.imgur.com/2zJBOUq.png
I'm on Windows 10 Pro 64 bit
update v 1.1
link
added the ability to specify the path to your crosshair folders--now you can change your crosshair 8 times a day even more conveniently
settings save between program runs
columns can be sorted
fixed a bunch of other shit
cookieSo I get the following error when I run it:
https://i.imgur.com/2zJBOUq.png
I'm on Windows 10 Pro 64 bit
i think this might be an issue with the icon but im not sure. do me a favor and try this, and if it doesn't work i'll investigate further
update v 1.1
[url=https://bitbucket.org/mxm07/tf2-vtf-crosshair-selector/downloads/crosshair-v1.1.exe]link[/url]
added the ability to specify the path to your crosshair folders--now you can change your crosshair 8 times a day even more conveniently
settings save between program runs
columns can be sorted
fixed a bunch of other shit
[quote=cookie]So I get the following error when I run it:
https://i.imgur.com/2zJBOUq.png
I'm on Windows 10 Pro 64 bit[/quote]
i think this might be an issue with the icon but im not sure. do me a favor and try [url=https://bitbucket.org/mxm07/tf2-vtf-crosshair-selector/downloads/crosshair-v1.1-noicon.exe]this[/url], and if it doesn't work i'll investigate further
Every time I try to run it it does this:
https://i.imgur.com/7vDMjTK.png
Every time I try to run it it does this:
[url=https://i.imgur.com/7vDMjTK.png]https://i.imgur.com/7vDMjTK.png[/url]
MrWheatleyEvery time I try to run it it does this:
https://i.imgur.com/7vDMjTK.png
are you using the crosshair pack from here?
i just recently discovered that some of those scripts in that pack have an extra "f" at the beginning of them for some reason,
for example, this tf_weapon_shotgun_soldier file. this is likely what's causing that error.
you can try using cfg.tf for your crosshair files or manually remove the f's, in the meantime i'll add something that ensures that the program doesnt crash when that extra f is there.
[quote=MrWheatley]Every time I try to run it it does this:
[url=https://i.imgur.com/7vDMjTK.png]https://i.imgur.com/7vDMjTK.png[/url][/quote]
are you using the crosshair pack from [url=https://www.teamfortress.tv/35367/vtf-crosshair-pack]here?[/url]
i just recently discovered that some of those scripts in that pack have an extra "f" at the beginning of them for some reason,
for example, [url=https://www.dropbox.com/sh/mtk2ju5se4k0gue/AACkunJD0cwOt4uSB8vTNOyYa/custom_stuff/scripts?dl=0&preview=tf_weapon_shotgun_soldier.txt&subfolder_nav_tracking=1]this tf_weapon_shotgun_soldier file[/url]. this is likely what's causing that error.
you can try using cfg.tf for your crosshair files or manually remove the f's, in the meantime i'll add something that ensures that the program doesnt crash when that extra f is there.
when it opens the .exe it then immediately closes.
when it opens the .exe it then immediately closes.
Cloverwhen it opens the .exe it then immediately closes.
likely the same problem as above, give me a little while and i'll accommodate for the scuffed crosshair pack on tf.tv, or you can try generating a crosshair pack with cfg.tf
[quote=Clover]when it opens the .exe it then immediately closes.[/quote]
likely the same problem as above, give me a little while and i'll accommodate for the scuffed crosshair pack on tf.tv, or you can try generating a crosshair pack with cfg.tf
v1.2
link
this should fix the weapondata/instantly closing problems. also i added a little error popup that tells you if there's any other problematic scripts that it can't parse.
v1.2
[url=https://bitbucket.org/mxm07/tf2-vtf-crosshair-selector/downloads/crosshair-v1.2.exe]link[/url]
this should fix the weapondata/instantly closing problems. also i added a little error popup that tells you if there's any other problematic scripts that it can't parse.
Commenting to bookmark, this is sick, ty.
Commenting to bookmark, this is sick, ty.
this is super cool, thank you for making this
this is super cool, thank you for making this
is there a way to reload the crosshair in-game without having to restart your game
is there a way to reload the crosshair in-game without having to restart your game
this shits pog thanks laz
this shits pog thanks laz
edinis there a way to reload the crosshair in-game without having to restart your game
pretty sure you have to restart your game each time unfortunately
[quote=edin]is there a way to reload the crosshair in-game without having to restart your game[/quote]
pretty sure you have to restart your game each time unfortunately
Changes to weapon txt files (and VMT files?) require a restart
Changes to the VTFs can be reloaded with "mat_reloadmaterial thumbnails", though it only updates the image, not the VTF flags attached to the image (it will keep the ones from the VTF you had loaded before). Updating VTF flags requires a restart afaik
edit: after some experimentation I've come to the conclusion it should also update VTF flags
Requires sv_cheats 1. if you're playing TF2 and you're like "oh wow this one SUCKS I want to change it" just go in an offline server (or stay on the main menu), sv_cheats 1, replace the VTF with the one you want by removing the current one and renaming another, "mat_reloadmaterial thumbnails"
(example: crosshair1.vtf sucks. rename crosshair1 to crosshair1_old, rename CoolNewCrosshair.vtf to crosshair1.vtf, mat_reloadmaterial thumbnails)
Changes to weapon txt files (and VMT files?) require a restart
Changes to the VTFs can be reloaded with "mat_reloadmaterial thumbnails", though it only updates the image, not the VTF flags attached to the image (it will keep the ones from the VTF you had loaded before). Updating VTF flags requires a restart afaik
edit: after some experimentation I've come to the conclusion it should also update VTF flags
Requires sv_cheats 1. if you're playing TF2 and you're like "oh wow this one SUCKS I want to change it" just go in an offline server (or stay on the main menu), sv_cheats 1, replace the VTF with the one you want by removing the current one and renaming another, "mat_reloadmaterial thumbnails"
(example: crosshair1.vtf sucks. rename crosshair1 to crosshair1_old, rename CoolNewCrosshair.vtf to crosshair1.vtf, mat_reloadmaterial thumbnails)
best and sexiest invite jumper
best and sexiest invite jumper
you have used wrong file for dragon's fury, tf_weapon_flamethrower_fireball instead of tf_weapon_rocketlauncher_fireball
you have used wrong file for dragon's fury, tf_weapon_flamethrower_fireball instead of tf_weapon_rocketlauncher_fireball
v2
link
for the 3 ppl that use this i finally got around to updating it
- crosshair previews in the app
- u can now generate a config through the program instead of having to download some other config first
- u dont have to put the .exe in your crosshair folder anymore, just File > Open Folder
- fixed a lot of bugs and actually tested most weapons so hopefully all weapons are covered
Show Content
v2
[url=https://bitbucket.org/mxm07/tf2-vtf-crosshair-selector/downloads/crosshair-2.0.2.exe]link[/url]
for the 3 ppl that use this i finally got around to updating it
[list]
[*] crosshair previews in the app
[*] u can now generate a config through the program instead of having to download some other config first
[*] u dont have to put the .exe in your crosshair folder anymore, just File > Open Folder
[*] fixed a lot of bugs and actually tested most weapons so hopefully all weapons are covered
[/list]
[spoiler]
[url=https://i.imgur.com/zdgyZIY.gifv]gif[/url]
[/spoiler]
Some of the crosshairs aren't visible when you choose them is that normal?
Edit: I can't even remember where I found them from so it makes sense there aren't pngs for them
Some of the crosshairs aren't visible when you choose them is that normal?
Edit: I can't even remember where I found them from so it makes sense there aren't pngs for them
ZeRo5Some of the crosshairs aren't visible when you choose them is that normal?
Edit: I can't even remember where I find them from so makes sense there aren't pngs for them
yeah ive only added images for the crosshairs on cfg.tf. until i finally figure out how to convert vtfs to png directly, you can do this to get your custom crosshairs to display in the preview.
MoermanNice work man.
Maybe this could be an idea for a future update:
*new button "Apply to all weapons of this slot of this class".
*Leaving the xhair list open after selecting an item so the user can easier navigate between xhair's.
i can do the first one but i think the second might be a strange user experience. ill experiment with it tho, thx for feedback
[quote=ZeRo5]Some of the crosshairs aren't visible when you choose them is that normal?
Edit: I can't even remember where I find them from so makes sense there aren't pngs for them[/quote]
yeah ive only added images for the crosshairs on cfg.tf. until i finally figure out how to convert vtfs to png directly, you can do [url=https://i.imgur.com/8ZcTai8.gifv]this[/url] to get your custom crosshairs to display in the preview.
[quote=Moerman]Nice work man.
Maybe this could be an idea for a future update:
*new button "Apply to all weapons of this slot of this class".
*Leaving the xhair list open after selecting an item so the user can easier navigate between xhair's.[/quote]
i can do the first one but i think the second might be a strange user experience. ill experiment with it tho, thx for feedback
Glad to see I'm not the only one here that's obsessed with changing his vtf crosshairs
Glad to see I'm not the only one here that's obsessed with changing his vtf crosshairs