Aite,
I'd basically like to get the default scout xhair of (.) to be my demo pipes xhair.
I have class scripts and for scout it goes something like this:
bind mwheelup "slot1; cl_crosshair_blue 255; cl_crosshair_green 255; cl_crosshair_red 255; exec defaultXhair; cl_crosshair_scale 75"
Basically 'defaultXhair' is a notepad file with " " in it.
Any ideas how to do it?
Separately I tried putting demo xhair to be seeker, but it shows some weird shape on the screen instead. I put the grenade launcher .txt file in my hud scripts folder and seeker vmt and vtf are in my materials folder but it doesn't seem to work :S
Aite,
I'd basically like to get the default scout xhair of (.) to be my demo pipes xhair.
I have class scripts and for scout it goes something like this:
bind mwheelup "slot1; cl_crosshair_blue 255; cl_crosshair_green 255; cl_crosshair_red 255; exec defaultXhair; cl_crosshair_scale 75"
Basically 'defaultXhair' is a notepad file with " " in it.
Any ideas how to do it?
Separately I tried putting demo xhair to be seeker, but it shows some weird shape on the screen instead. I put the grenade launcher .txt file in my hud scripts folder and seeker vmt and vtf are in my materials folder but it doesn't seem to work :S
why not set it to "cl_crosshair_file default"
why not set it to "cl_crosshair_file default"
cl_crosshair_file default
2 second ninja lol
cl_crosshair_file default
2 second ninja lol
Sorry I',m shit at this stuff so bear with me.
So you mean like this for demo:
bind mwheelup "slot1; cl_crosshair_blue 45; cl_crosshair_green 230; cl_crosshair_red 240; cl_crosshair_file default; cl_crosshair_scale 30"
Wouldn't that bring up the default demo xhair?
Sorry I',m shit at this stuff so bear with me.
So you mean like this for demo:
bind mwheelup "slot1; cl_crosshair_blue 45; cl_crosshair_green 230; cl_crosshair_red 240; cl_crosshair_file default; cl_crosshair_scale 30"
Wouldn't that bring up the default demo xhair?
"cl_crosshair_file default" looks ugly and is bigger than the scattergun's cl_crosshair_file "". You can make it work with a simple script though if you don't mind
Since you know how to use vtf crosshairs, alternatively do this:
Open tf_weapon_grenadelauncher.txt
replace the crosshair section with
"crosshair"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "0"
"width" "32"
"height" "32"
}
This will make cl_crosshair_file "" crosshair for the grenade launcher the same as the scattergun's
"cl_crosshair_file default" looks ugly and is bigger than the scattergun's cl_crosshair_file "". You can make it work with a simple script though if you don't mind
Since you know how to use vtf crosshairs, alternatively do this:
Open tf_weapon_grenadelauncher.txt
replace the crosshair section with
[quote]"crosshair"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "0"
"width" "32"
"height" "32"
}[/quote]
This will make cl_crosshair_file "" crosshair for the grenade launcher the same as the scattergun's
Oh shit no. Why does that work again?
Nice, cheers.
Thanks, I'll have a play around and see what looks good.
Any idea why Seeker has gone weird?
Oh shit no. Why does that work again?
Nice, cheers.
Thanks, I'll have a play around and see what looks good.
Any idea why Seeker has gone weird?
Tob"cl_crosshair_file default" looks ugly and is bigger than the scattergun's cl_crosshair_file "". You can make it work with a simple script though if you don't mind
Since you know how to use vtf crosshairs, alternatively do this:
Open tf_weapon_grenadelauncher.txt
replace the crosshair section with"crosshair"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "0"
"width" "32"
"height" "32"
}
This will make cl_crosshair_file "" crosshair for the grenade launcher the same as the scattergun's
doesn't that not work on pure servers though
[quote=Tob]"cl_crosshair_file default" looks ugly and is bigger than the scattergun's cl_crosshair_file "". You can make it work with a simple script though if you don't mind
Since you know how to use vtf crosshairs, alternatively do this:
Open tf_weapon_grenadelauncher.txt
replace the crosshair section with
[quote]"crosshair"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "0"
"width" "32"
"height" "32"
}[/quote]
This will make cl_crosshair_file "" crosshair for the grenade launcher the same as the scattergun's[/quote]
doesn't that not work on pure servers though
sendTobsnip
doesn't that not work on pure servers though
No. This is what using VTF crosshairs for custom crosshairs does. It's also what the smaller explosions mod uses except it changes a particle name instead of a crosshair coordinate within the same file.
I've been using this method for 2 years now. It works on all sv_pure settings
[quote=send][quote=Tob]snip[/quote]
doesn't that not work on pure servers though[/quote]
No. This is what using [url=http://www.teamfortress.tv/35367/vtf-crosshair-pack]VTF crosshairs for custom crosshairs[/url] does. It's also what the [url=http://www.teamfortress.tv/25647/no-explosion-smoke-script]smaller explosions mod[/url] uses except it changes a particle name instead of a crosshair coordinate within the same file.
I've been using this method for 2 years now. It works on all sv_pure settings
StylaxOh shit no. Why does that work again?
Nice, cheers.
Thanks, I'll have a play around and see what looks good.
Any idea why Seeker has gone weird?
define the "weird shape"
If it's purple/black checkers you messed up the name of the crosshair somewhere (check the name in the txt file, check the vtf name, check the vmt name, check the crosshair name inside the vmt file)
If it's an off center crosshair that is cut off or duplicated you messed up the crosshair coordinates in the txt file. If the VTF file is 64x64 make sure to change the txt file coordinates to reflect that
[quote=Stylax]Oh shit no. Why does that work again?
Nice, cheers.
Thanks, I'll have a play around and see what looks good.
Any idea why Seeker has gone weird?[/quote]
define the "weird shape"
If it's purple/black checkers you messed up the name of the crosshair somewhere (check the name in the txt file, check the vtf name, check the vmt name, check the crosshair name inside the vmt file)
If it's an off center crosshair that is cut off or [url=https://puu.sh/mfChl/89f6ed4981.jpg]duplicated[/url] you messed up the crosshair coordinates in the txt file. If the VTF file is 64x64 make sure to change the txt file coordinates to reflect that
TobStylaxOh shit no. Why does that work again?
Nice, cheers.
Thanks, I'll have a play around and see what looks good.
Any idea why Seeker has gone weird?
define the "weird shape"
If it's purple/black checkers you messed up the name of the crosshair somewhere (check the name in the txt file, check the vtf name, check the vmt name, check the crosshair name inside the vmt file)
If it's an off center crosshair that is cut off or duplicated you messed up the crosshair coordinates in the txt file. If the VTF file is 64x64 make sure to change the txt file coordinates to reflect that
I think it's the top left portion of the Seeker xhair
I have the following in my grenade launcher script file for xhair:
"crosshair"
{
"file" "vgui/replay/thumbnails/seeker"
"x" "64"
"y" "64"
"width" "64"
"height" "64"
[quote=Tob][quote=Stylax]Oh shit no. Why does that work again?
Nice, cheers.
Thanks, I'll have a play around and see what looks good.
Any idea why Seeker has gone weird?[/quote]
define the "weird shape"
If it's purple/black checkers you messed up the name of the crosshair somewhere (check the name in the txt file, check the vtf name, check the vmt name, check the crosshair name inside the vmt file)
If it's an off center crosshair that is cut off or [url=https://puu.sh/mfChl/89f6ed4981.jpg]duplicated[/url] you messed up the crosshair coordinates in the txt file. If the VTF file is 64x64 make sure to change the txt file coordinates to reflect that[/quote]
I think it's the top left portion of the Seeker xhair
I have the following in my grenade launcher script file for xhair:
"crosshair"
{
"file" "vgui/replay/thumbnails/seeker"
"x" "64"
"y" "64"
"width" "64"
"height" "64"
try changing the x and y values to 0. I think that should fix it.
Width and Height should be fine.
If it doesn't, try 32 for x and y and see what changes. Shouldn't be too hard to find the correct values
(no in-game way to reload this. You'll need to restart your tf2 each time you save the changes to the txt file)
try changing the x and y values to 0. I think that should fix it.
Width and Height should be fine.
If it doesn't, try 32 for x and y and see what changes. Shouldn't be too hard to find the correct values
(no in-game way to reload this. You'll need to restart your tf2 each time you save the changes to the txt file)
Tobtry changing the x and y values to 0. I think that should fix it.
Width and Height should be fine.
If it doesn't, try 32 for x and y and see what changes. Shouldn't be too hard to find the correct values
(no in-game way to reload this. You'll need to restart your tf2 each time you save the changes to the txt file)
Oh, that was it aha. I needed to restart my game. Thanks for your help man.
[quote=Tob]try changing the x and y values to 0. I think that should fix it.
Width and Height should be fine.
If it doesn't, try 32 for x and y and see what changes. Shouldn't be too hard to find the correct values
(no in-game way to reload this. You'll need to restart your tf2 each time you save the changes to the txt file)[/quote]
Oh, that was it aha. I needed to restart my game. Thanks for your help man.