Half-Life 2

Half-Life 2

View Stats:
Zak Jan 2, 2016 @ 11:43am
Where's the crosshair saved?
I need to know where the HL2 ( ) crosshair images are for some work I am doing!

Thanks!
< >
Showing 1-10 of 10 comments
stooart Jan 2, 2016 @ 11:58am 
It's in the crosshair. :headcrab:
Calmly Frenetic Jan 2, 2016 @ 12:50pm 
All the various icon graphics are stored in TrueType font files in the folder ...\Steam\steamapps\common\Half-Life 2\hl2\resource\
Zak Jan 2, 2016 @ 1:03pm 
Can't find it in there
R-800 Jan 14, 2016 @ 9:34pm 
I'm having the same problem as Hackcraft. While I'm grateful to Calmly Frenetic for offering the path to the icon graphics, there would appear be no crosshair information contained within the TrueType font files listed in the resource folder. There is even a file CALLED crosshairs.ttf, but when one opens it, there seem to only be strings of numerals of differing point sizes. I'd be very interested in knowing if there is a solid resource out there for helping people edit crosshairs in Single Player Half-Life 2. I've looked everywhere, and am getting nowhere.
Calmly Frenetic Jan 15, 2016 @ 4:03am 
There is some information on this site that may help:
http://www.bullseyecrosshairs.com/hl2sites1.shtm
R-800 Jan 23, 2016 @ 10:31pm 
Thanks, CF. That was a good resource. Unfortunately, it didn't help me.

I have a confession to make. I'm not trying to alter the crosshairs in Half-Life 2. I'm trying to remove them.

"LOL. Just use the 'crosshair 0' console command, dummy!" Sadly, that doesn't work for me. Or rather, it does, provided I don't get into a vehicle, like the airboat. If I do get into a vehicle, the crosshairs come back. However, they seem to be oriented to the vehicle and not my own field of view. I'm assuming there are gun mounts that come into play at some point, but there are no guns on the airboat at the start. In any case, I don't care why they're there. There is no setting of any kind for getting rid of them.

I haven't seen any reference to this situation anywhere online. Either I'm the only one having this problem, or no one else cares about it. After exhaustively researching commands for the console, I finally had to give up hope of finding any commands that would get rid of the crosshairs once and for all, and had to start looking into the idea of editing them instead, with the hope of clearing the crosshair data from the associated graphics file. This has proven ridiculously dificult, thanks to Valve's decision to use the TrueType font format. The only thing my efforts to edit the file do is produce the infamous "Q problem" mentioned in the bullseyecrosshairs.com link. Unfortunately, their instructions for solving this problem don't work for me. I have no other fonts which could be interfering with the in-game font.

I've tried a couple of different font editors, including the one recommended in the link above, and they don't have any export options for free, making them useless for my purpose of editing, saving and using the actual edited font. I suppose I could buy the software, but I don't actually know that the results of exporting the edited font would even solve my problem. It was something I wanted to experiment with, but I don't want to even USE font editing software, let alone pay for it.

To be told over and over again that removing the crosshairs is simple, only to find that the crosshairs only go away in some cases, but not others, while all editing efforts do nothing but fail, is beyond infuriating. Why on earth should such a simple thing be so utterly impossible to accomplish?
Zak Jan 24, 2016 @ 2:31am 
What about using a lua script?
local hide = { CHudCrosshair = true, } hook.Add( "HUDShouldDraw", "HideHUD", function( name ) if ( hide[ name ] ) then return false end -- Don't return anything here, it may break other addons that rely on this hook. end )
Just put that in garrysmod/lua and call it whatever and to open the script in-game type lua_openscript_cl whatever.lua
Only down side is that you have to run it whenever you want to hide the crosshair and most servers don't allow you to run lua...
Last edited by Zak; Jan 24, 2016 @ 2:32am
R-800 Feb 6, 2016 @ 9:13pm 
Thanks, Hackcraft. I appreciate your attempt to help. Just to be clear, I don't care what servers allow, because I'm only playing Single Player Half-Life 2. Your solution looks creative, but for me, a bit complicated, so it will be a while before I'm ready to dive into trying this. I'm not currently using Garrysmod, or any other mod. Of course, there were a few mods I was wanting to explore, eventually. Maybe Garrysmod should be one of them.
Erik Feb 6, 2016 @ 11:46pm 
You have hud_quickinfo 0?
Zak Feb 7, 2016 @ 3:02am 
cl_drawcrosshair 0 ???
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Jan 2, 2016 @ 11:43am
Posts: 10