Upvote Upvoted 44 Downvote Downvoted
1 2
weapon-specific vtf crosshair switcher thing
posted in Customization
1
#1
0 Frags +

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 10 64 bit (it will probably work on other 64 bit versions of windows but idk lol) (if someone's on 32 bit and wants it I can probably make a 32 bit version)
  • 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 v2
link

screenshot

Show Content

how to use
if you don't already have one, download a weapon-specific vtf crosshair pack and install it
alternatively you can generate a sample config through the app (File > Generate Config)

run the exe, File > Open Folder

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 10 64 bit (it will probably work on other 64 bit versions of windows but idk lol) (if someone's on 32 bit and wants it I can probably make a 32 bit version)
[*] 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 v2
[url=https://bitbucket.org/mxm07/tf2-vtf-crosshair-selector/downloads/crosshair-2.0.2.exe]link[/url]

[h]screenshot[/h]
[spoiler]
[url=https://i.imgur.com/zdgyZIY.gifv]epic demonstration gif[/url]

[img]https://i.imgur.com/hionFHT.png[/img]
[/spoiler]

[h]how to use[/h]
if you don't already have one, download a weapon-specific vtf crosshair pack and install it
alternatively you can generate a sample config through the app (File > Generate Config)

run the exe, File > Open Folder

[h]is this a virus[/h]
no, source code [url=https://bitbucket.org/mxm07/tf2-vtf-crosshair-selector/src/master/]here[/url]
2
#2
9 Frags +

holy laz brain :O

holy laz brain :O
3
#3
4 Frags +

this is actually really sick thanks

this is actually really sick thanks
4
#4
5 Frags +

only chads use Windows Explorer in dark mode B^)

only chads use Windows Explorer in dark mode B^)
5
#5
3 Frags +

genius

genius
6
#6
9 Frags +

cubicle

cubicle
7
#7
0 Frags +

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.
8
#8
5 Frags +

this make my pp hard wtf why

this make my pp hard wtf why
9
#9
0 Frags +

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
10
#10
1 Frags +

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
11
#11
0 Frags +

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]
12
#12
0 Frags +
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.
13
#13
0 Frags +

when it opens the .exe it then immediately closes.

when it opens the .exe it then immediately closes.
14
#14
0 Frags +
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
15
#15
1 Frags +

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.
16
#16
1 Frags +

Commenting to bookmark, this is sick, ty.

Commenting to bookmark, this is sick, ty.
17
#17
1 Frags +

this is super cool, thank you for making this

this is super cool, thank you for making this
18
#18
1 Frags +

.

.
19
#19
0 Frags +

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
20
#20
0 Frags +

this shits pog thanks laz

this shits pog thanks laz
21
#21
0 Frags +
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
22
#22
0 Frags +

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)
23
#23
0 Frags +

best and sexiest invite jumper

best and sexiest invite jumper
24
#24
2 Frags +

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
25
#25
14 Frags +

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]
26
#26
1 Frags +

ur a beast laz

ur a beast laz
27
#27
0 Frags +

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
28
#28
0 Frags +

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.

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.
29
#29
3 Frags +
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
30
#30
0 Frags +

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
1 2
Please sign in through STEAM to post a comment.