Originally posted on reddit by /u/OffclassingMedic
The crosshair is simply a vtf file, which is loaded from an associated vmt file. The vtf can be any size and any colour, it can even be animated! Editing the vmt file allows applying material proxies (effects) to the vtf. You can mix these together to get some interesting results.
In the example I've made, the crosshair pulses between 0.3 and 0.5 blue every second, flashes to 1.0 green when moving, and constantly spins. These values can easily be adjusted. More info on material proxies. Be sure to have cl_crosshair_red, blue, and green set to 255, unless you want a colour mask.
Example and download:
http://a.pomf.se/bbzhnl.webm
http://a.pomf.se/alhehw.zip
Questions:
How do I use it? And does this work with sv_pure 2?
Read here, and yes: http://teamfortress.tv/thread/12383/real-custom-crosshairs-from-ozfortress
Can the crosshair be animated?
Yes.
Can this be applied to any existing crosshair?
Yes.
Would it be possible to use this to allow more than one crosshair on sv_pure 2?
Maybe, each frame of an animated vtf can have a different crosshair. Unfortunately I am not aware of a practical method for choosing which frame to display.
Does this work in other Source games?
Probably.
And now you'll never miss another shot again! Maybe!
People are doin some weird things with vtfs these days.
Originally posted on reddit by [url=http:///www.reddit.com/u/OffclassingMedic]/u/OffclassingMedic[/url]
[quote]The crosshair is simply a vtf file, which is loaded from an associated vmt file. The vtf can be any size and any colour, it can even be animated! Editing the vmt file allows applying material proxies (effects) to the vtf. You can mix these together to get some interesting results.
In the example I've made, the crosshair pulses between 0.3 and 0.5 blue every second, flashes to 1.0 green when moving, and constantly spins. These values can easily be adjusted. More info on material proxies. Be sure to have cl_crosshair_red, blue, and green set to 255, unless you want a colour mask.
Example and download:
http://a.pomf.se/bbzhnl.webm
http://a.pomf.se/alhehw.zip
Questions:
How do I use it? And does this work with sv_pure 2?
Read here, and yes: http://teamfortress.tv/thread/12383/real-custom-crosshairs-from-ozfortress
Can the crosshair be animated?
Yes.
Can this be applied to any existing crosshair?
Yes.
Would it be possible to use this to allow more than one crosshair on sv_pure 2?
Maybe, each frame of an animated vtf can have a different crosshair. Unfortunately I am not aware of a practical method for choosing which frame to display.
Does this work in other Source games?
Probably.
And now you'll never miss another shot again! Maybe!
[/quote]
People are doin some weird things with vtfs these days.
that webm looks nicer than my actual tf2 and has a higher framerate oh god.
more on topic, i've been disconnected from the hud/crosshair customization scene for a really long time and sometimes i check on to hud changes thread and it blows my mind seeing some of the stuff people do. and now this! has this stuff always been possible or has valve recently made tf2 more customizable?
that webm looks nicer than my actual tf2 and has a higher framerate oh god.
more on topic, i've been disconnected from the hud/crosshair customization scene for a really long time and sometimes i check on to hud changes thread and it blows my mind seeing some of the stuff people do. and now this! has this stuff always been possible or has valve recently made tf2 more customizable?
This has always been possible from what I understand. However, until recently the method to load custom vtfs on sv_pure 2 servers hadn't been discovered. Since then it's been a fast track to stuff like this.
This has always been possible from what I understand. However, until recently the method to load custom vtfs on sv_pure 2 servers hadn't been discovered. Since then it's been a fast track to stuff like this.
I put the .vtf and .vmt files into the correct folder and loaded the crosshair in tf2, but it doesn't display correctly.. Any ideas?
sv_pure is on 0.
http://cloud-3.steampowered.com/ugc/487825736818181659/A1BBF7B90028CAB6CB38941DC8384190833EAF41/
edit: when i alt tab it changes to the old missing texture box, so i think that's what that box actually is.. Still need help fixing it though
I put the .vtf and .vmt files into the correct folder and loaded the crosshair in tf2, but it doesn't display correctly.. Any ideas?
sv_pure is on 0.
[img]http://cloud-3.steampowered.com/ugc/487825736818181659/A1BBF7B90028CAB6CB38941DC8384190833EAF41/[/img]
edit: when i alt tab it changes to the old missing texture box, so i think that's what that box actually is.. Still need help fixing it though
Mr_Fahrenheitedit: when i alt tab it changes to the old missing texture box, so i think that's what that box actually is.. Still need help fixing it though
Load a new map and check console to see if it gives you an error about it, usually it should.
[quote=Mr_Fahrenheit]
edit: when i alt tab it changes to the old missing texture box, so i think that's what that box actually is.. Still need help fixing it though[/quote]
Load a new map and check console to see if it gives you an error about it, usually it should.
nightwatchMr_Fahrenheitedit: when i alt tab it changes to the old missing texture box, so i think that's what that box actually is.. Still need help fixing it though
Load a new map and check console to see if it gives you an error about it, usually it should.
I tried re-installing the crosshair and it's working now, so I guess my problem is resolved for now.
[quote=nightwatch][quote=Mr_Fahrenheit]
edit: when i alt tab it changes to the old missing texture box, so i think that's what that box actually is.. Still need help fixing it though[/quote]
Load a new map and check console to see if it gives you an error about it, usually it should.[/quote]
I tried re-installing the crosshair and it's working now, so I guess my problem is resolved for now.
I can't get this to work at all. I've installed the files in the custom folder and the base tf2 I've entered the command and literally nothing shows up at all
I can't get this to work at all. I've installed the files in the custom folder and the base tf2 I've entered the command and literally nothing shows up at all
tenacioustoasterI can't get this to work at all. I've installed the files in the custom folder and the base tf2 I've entered the command and literally nothing shows up at all
same here :/
[quote=tenacioustoaster]I can't get this to work at all. I've installed the files in the custom folder and the base tf2 I've entered the command and literally nothing shows up at all[/quote]
same here :/
Should be working at least on a local server. It's already set on sv_pure 0. I even tried -1
Should be working at least on a local server. It's already set on sv_pure 0. I even tried -1
If the commands aren't working for others, then you can try using this as a Hud Crosshair.
This is a link to the Hudlayout Normal Hud Crosshair: https://www.dropbox.com/sh/kflp2y8eddi6yog/AACuk4TJfyJtPE09DSA30j7oa
And here is a special HudPlayerClass crosshair that uses the 3D player model's file:
https://www.dropbox.com/sh/kflp2y8eddi6yog/AACuk4TJfyJtPE09DSA30j7oa
If the commands aren't working for others, then you can try using this as a Hud Crosshair.
This is a link to the Hudlayout Normal Hud Crosshair: https://www.dropbox.com/sh/kflp2y8eddi6yog/AACuk4TJfyJtPE09DSA30j7oa
And here is a special HudPlayerClass crosshair that uses the 3D player model's file:
https://www.dropbox.com/sh/kflp2y8eddi6yog/AACuk4TJfyJtPE09DSA30j7oa