Upvote Upvoted 20 Downvote Downvoted
Fog's Custom HUD Crosshairs (Version 2.0 Released
1
#1
17 Frags +

Porting this over from the dying NATF2 forums.

So being the bored person that I am, I decided to start working on a custom font specifically made for crosshairs.

VERSION 2.0 RELEASED: https://dl.dropbox.com/u/21833101/Fog%27s%20Custom%20HUD%20Crosshairs%20v2.0.zip

Screenshot/Corresponding Keys:

https://dl.dropbox.com/u/21833101/crosshairs.png

README:

Fog's Custom HUD Crosshairs (Version 2.0)
- Crosshairs h, i, j, and k provided by MR JOHNSON
- Crosshairs n, o, p, and q origignally created by SizzlingCalamari
- Check out my SOAP DM server at dm.mediocrity.ca:27015
- Check out my Ammodmod Server at ammomod.mediocrity.ca:27015

Place the font in tf/resource folder and stick the following in ClientScheme.res inside CustomFontFiles (should be at the bottom):

"8" // replace with number not being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

It will look something like this. The number should be changed to a number not being used. You'll also have to create individual fonts inside ClientScheme.res, here is an example:

"xHairSpread"
{
"1"
{
"name" "Crosshairs"
"tall" "28"
"weight" "0"
"antialias" "1"
}
}

And inside HudLayout.res (inside tf/scripts) here is an example of what you will put in it:

xHairSpread
{
"controlName" "CExLabel"
"fieldName" "xHairSpread"
"visible" "1"
"enabled" "1"
"zpos" "2"

"xpos" "c-100"
"ypos" "c-100"
"wide" "202"
"tall" "198"

"font" "xHairSpread"
"labelText" "0"
"textAlignment" "center"

"fgcolor" "255 255 255 192"
}

Replace labelText with the corresponding number/letter for the crosshair that you want. You'll have to most likely change around xpos, ypos, wide and tall to your liking.

Porting this over from the dying NATF2 forums.

So being the bored person that I am, I decided to start working on a custom font specifically made for crosshairs.

VERSION 2.0 RELEASED: https://dl.dropbox.com/u/21833101/Fog%27s%20Custom%20HUD%20Crosshairs%20v2.0.zip

[b]Screenshot/Corresponding Keys:[/b]

[img]https://dl.dropbox.com/u/21833101/crosshairs.png[/img]

[b]README:[/b]

Fog's Custom HUD Crosshairs (Version 2.0)
- Crosshairs h, i, j, and k provided by MR JOHNSON
- Crosshairs n, o, p, and q origignally created by SizzlingCalamari
- Check out my SOAP DM server at dm.mediocrity.ca:27015
- Check out my Ammodmod Server at ammomod.mediocrity.ca:27015


Place the font in tf/resource folder and stick the following in ClientScheme.res inside CustomFontFiles (should be at the bottom):

"8" // replace with number not being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

It will look something like this. The number should be changed to a number not being used. You'll also have to create individual fonts inside ClientScheme.res, here is an example:

"xHairSpread"
{
"1"
{
"name" "Crosshairs"
"tall" "28"
"weight" "0"
"antialias" "1"
}
}

And inside HudLayout.res (inside tf/scripts) here is an example of what you will put in it:

xHairSpread
{
"controlName" "CExLabel"
"fieldName" "xHairSpread"
"visible" "1"
"enabled" "1"
"zpos" "2"

"xpos" "c-100"
"ypos" "c-100"
"wide" "202"
"tall" "198"

"font" "xHairSpread"
"labelText" "0"
"textAlignment" "center"

"fgcolor" "255 255 255 192"
}

Replace labelText with the corresponding number/letter for the crosshair that you want. You'll have to most likely change around xpos, ypos, wide and tall to your liking.
2
#2
1 Frags +

Great work. Thanks for this.

Great work. Thanks for this.
3
#3
0 Frags +

great xhairs!

great xhairs!
4
#4
0 Frags +

I can't get this to work with broesel hud :/

I can't get this to work with broesel hud :/
5
#5
0 Frags +

Omp, can you include these in your hud?

Omp, can you include these in your hud?
6
#6
0 Frags +

This is great, love the Cricle with dot crosshair

This is great, love the Cricle with dot crosshair
7
#7
0 Frags +
sonnnnOmp, can you include these in your hud?

It's already been included for a while now, just not enabled by default

[quote=sonnnn]Omp, can you include these in your hud?[/quote] It's already been included for a while now, just not enabled by default
8
#8
3 Frags +

May I use these in my HUD? The HUD is KBNHud by the way.

May I use these in my HUD? The HUD is KBNHud by the way.
9
#9
0 Frags +
vaughnI can't get this to work with broesel hud :/

Broesel hud has most of these already included.

[quote=vaughn]I can't get this to work with broesel hud :/[/quote]
Broesel hud has most of these already included.
10
#10
0 Frags +

anyway to incorporate these into blade hud?

anyway to incorporate these into blade hud?
11
#11
-1 Frags +

Hey could you or someone make a easy file to just add them in-game so that it's in the list with all the rest of default crosshairs? it's quite frustrating for me because it takes forever to restart tf2 and get onto a server in order to try them out one at a time

Hey could you or someone make a easy file to just add them in-game so that it's in the list with all the rest of default crosshairs? it's quite frustrating for me because it takes forever to restart tf2 and get onto a server in order to try them out one at a time
12
#12
1 Frags +
WorkshardHey could you or someone make a easy file to just add them in-game so that it's in the list with all the rest of default crosshairs? it's quite frustrating for me because it takes forever to restart tf2 and get onto a server in order to try them out one at a time

type hud_reloadscheme in console after you save your hudlayout.res . It will load any changes that were made to your hud.

[quote=Workshard]Hey could you or someone make a easy file to just add them in-game so that it's in the list with all the rest of default crosshairs? it's quite frustrating for me because it takes forever to restart tf2 and get onto a server in order to try them out one at a time[/quote]


type hud_reloadscheme in console after you save your hudlayout.res . It will load any changes that were made to your hud.
13
#13
0 Frags +

Is there anyway to incorporate this with the default tf2 hud? The default hud is just my personal preference.

Seeing how this HUD requires commands in ClientScheme.res and hudlayout.res, I need to be able to access TF2's default HUD files, but I can't find them anywhere post-Steampipe(possibly a .GCF?).

In addition, I tried installing the crosshair by itself without a HUD, just with commands, hoping that the files would cooperate with the default HUD. Unfortunately, the crosshair commands just overrides the default hud, breaking it.

Other than that, I didn't want to try to find a ClientScheme or hudlayout from a custom HUD similar to the default HUD, but if that's the only way, so be it.

A reply would be greatly appreciated. :D

Is there anyway to incorporate this with the default tf2 hud? The default hud is just my personal preference.

Seeing how this HUD requires commands in ClientScheme.res and hudlayout.res, I need to be able to access TF2's default HUD files, but I can't find them anywhere post-Steampipe(possibly a .GCF?).

In addition, I tried installing the crosshair by itself without a HUD, just with commands, hoping that the files would cooperate with the default HUD. Unfortunately, the crosshair commands just overrides the default hud, breaking it.

Other than that, I didn't want to try to find a ClientScheme or hudlayout from a custom HUD similar to the default HUD, but if that's the only way, so be it.

A reply would be greatly appreciated. :D
14
#14
0 Frags +

Well iirc if any hud file is missing an element it automatically puts in the default. So you could just install the font in clientscheme and then put the crosshairs alone in hudlayout.res by itself and everything should stay default.

Well iirc if any hud file is missing an element it automatically puts in the default. So you could just install the font in clientscheme and then put the crosshairs alone in hudlayout.res by itself and everything should stay default.
15
#15
0 Frags +

Before steampipe, it restored missing elements. I remembering it only restoring whole files, not missing commands(not positive).

Now with steampipe, I have to install these crosshairs within the custom folder. The engine doesn't restore "commands" that seems to be missing in that custom folder, because it believes it was the user's preference to keep those "commands" missing, hence "custom".

I couldn't understand what you meant but I believe you were saying that I should just install the crosshair font by itself, along with the commands that exec the crosshair within ClientScheme and hudlayout, and upon TF2 launch it will restore any missing commands and elements, forming a complete default resource and scripts along with the custom crosshairs.

If so, I tried that, as stated in my previous post and sadly it didn't work. The default HUD was overriden by the missing commands and just broke. Thanks for helping though. In case I misinterpreted your post, please reply back. :D

Before steampipe, it restored missing elements. I remembering it only restoring whole files, not missing commands(not positive).

Now with steampipe, I have to install these crosshairs within the custom folder. The engine doesn't restore "commands" that seems to be missing in that custom folder, because it believes it was the user's preference to keep those "commands" missing, hence "custom".

I couldn't understand what you meant but I believe you were saying that I should just install the crosshair font by itself, along with the commands that exec the crosshair within ClientScheme and hudlayout, and upon TF2 launch it will restore any missing commands and elements, forming a complete default resource and scripts along with the custom crosshairs.

If so, I tried that, as stated in my previous post and sadly it didn't work. The default HUD was overriden by the missing commands and just broke. Thanks for helping though. In case I misinterpreted your post, please reply back. :D
16
#16
1 Frags +

Hm didn't know they changed that. You can use gcfscape to extract the default hud files but I havn't needed to so I don't know where you'd do that.

Hm didn't know they changed that. You can use gcfscape to extract the default hud files but I havn't needed to so I don't know where you'd do that.
17
#17
1 Frags +

Apparently the default HUD is packed into a .vpk - C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\tf2_misc_dir.vpk - Used GCFScape to open it or I just dragged it onto vpk.exe in the "bin" folder via "Team Fortress 2" directory to retrieve the files. Was able to pull out a stock ClientScheme.res and hudlayout.res. Thanks for the help Benroads! :D

Apparently the default HUD is packed into a .vpk - C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\tf2_misc_dir.vpk - Used GCFScape to open it or I just dragged it onto vpk.exe in the "bin" folder via "Team Fortress 2" directory to retrieve the files. Was able to pull out a stock ClientScheme.res and hudlayout.res. Thanks for the help Benroads! :D
18
#18
1 Frags +

No problem, hope your crosshair stuff works out well.

No problem, hope your crosshair stuff works out well.
19
#19
1 Frags +

WOOHOO! IT DOES! Thanks mang! :D

WOOHOO! IT DOES! Thanks mang! :D
20
#20
-2 Frags +

WHOOPS, I'M DUMB, THANKS PHANTOM AND BENROADS.

WHOOPS, I'M DUMB, THANKS PHANTOM AND BENROADS.
21
#21
-3 Frags +

Can someone give me a dumbed down version of how i can install konr wings to doodle hud. (If you could tell me how to make them flash red on hit it would be great to) thanks alot :)

Can someone give me a dumbed down version of how i can install konr wings to doodle hud. (If you could tell me how to make them flash red on hit it would be great to) thanks alot :)
22
#22
7 Frags +
SupBroCan someone give me a dumbed down version of how i can install konr wings to doodle hud. (If you could tell me how to make them flash red on hit it would be great to) thanks alot :)

alright so, lemme lay it down for ya right quick

you wanna download fog's custom crosshairs, ya dig?

then, ya wanna read "README.txt", learn the knowledge listed within, then do it yaself, aight

to make that shit flash red when you shoot a dude, put this shit in your HudAnimations.tf:

event DamagedPlayer
{
Animate xHairSpread FgColor "0 255 0 192" Linear 0.0 0.1
Animate xHairSpread FgColor "255 255 255 192" Linear 0.2 0.200001
}
[quote=SupBro]Can someone give me a dumbed down version of how i can install konr wings to doodle hud. (If you could tell me how to make them flash red on hit it would be great to) thanks alot :)[/quote]
alright so, lemme lay it down for ya right quick

you wanna download fog's custom crosshairs, ya dig?

then, ya wanna read "README.txt", learn the knowledge listed within, then do it yaself, aight

to make that shit flash red when you shoot a dude, put this shit in your HudAnimations.tf:
[code]event DamagedPlayer
{
Animate xHairSpread FgColor "0 255 0 192" Linear 0.0 0.1
Animate xHairSpread FgColor "255 255 255 192" Linear 0.2 0.200001
}
[/code]
23
#23
3 Frags +

big alosec

big alosec
24
#24
-3 Frags +

So I want they xhair so called "y" how exactly do I do that? (btw I use Rayshud) nevermind this wrong version

So I want they xhair so called "y" how exactly do I do that? (btw I use Rayshud) nevermind this wrong version
Please sign in through STEAM to post a comment.