Outlined crosshair

SND

2010-10-03 23:11:21

Has anyone figured out how to add a outline to their xhair since after the port. I usually have a small green dot with a black outline to make it pop but since this port I have no black outline. With out it I lose track of my xhair during play.

Neolinkster

2010-10-03 23:59:59

SND wrote:Has anyone figured out how to add a outline to their xhair since after the port. I usually have a small green dot with a black outline to make it pop but since this port I have no black outline. With out it I lose track of my xhair during play.
ditto ive been trying myself, tried removing alpha channel as well with no help might have to go sprites for it wouldn't be so bad if we could at least make it solid eh? My whole clientscheme b4 the update had outlines on almost all the HUD items on the screen now it causes it to crash and the only thing i can add an outline to is the names mybe sacrifist could point us in the right direction

Sacrifist

2010-10-04 02:09:05

Care to link me to a crosshair that has an outline? I dont have one for me to test out and mess with. I know valve started using sprites for a lot of stuff when they moved to the OB engine, so you may be on the right track. I know Tf2's crosshairs are sprites. cl_crosshair_"color" is a convar for some OB engine games as well and it doesnt seem to work for DM. Perhaps Valar should add that to the "wish/bug" list. No real reason to not be able to take avantage of that OB code and be able to change the crosshair color. I'd like to mess with an outlined custom crosshair though to see if I can get it to work.

SND

2010-10-04 02:41:44

I got my outlined xhair from Neo xhair pack on hl2dm download section.
http://www.hl2dm-university.com/crossha ... UDs_v2.zip

*edit
I think the colour works. I had to relaunch my hl2dm customizer ap to make it green. You should be able to change colour same way as usual.

Sacrifist

2010-10-04 03:22:42

What happens if you create an outlined crosshair and add it into the halflife2.ttf font file? As in, a straight up outline with nothing inside the crosshair font. Is it just a clear crosshair with a black outline? Or is it the default color crosshair with the outline? If it works that way and it's a default color, why wouldnt you be able to do that with that particular ttf file and then use the clientscheme to color it?

Neolinkster

2010-10-04 05:16:59

Sacrifist wrote:What happens if you create an outlined crosshair and add it into the halflife2.ttf font file? As in, a straight up outline with nothing inside the crosshair font. Is it just a clear crosshair with a black outline? Or is it the default color crosshair with the outline? If it works that way and it's a default color, why wouldnt you be able to do that with that particular ttf file and then use the clientscheme to color it?
what happens with the outline is that it makes our crosshairs solid not transparent at all with a strong contrasting black outer edge for which ever color making it easy to see and stand out you previously changed the affinity and then added the line "outline" "1" but now that doesnt seem to work it was all edited in the clientscheme which ever crosshair somebody used it would ad a thin outline to it now I can't find a way how other than to create sprites

SND

2010-10-04 05:45:47

Sacrifist wrote:What happens if you create an outlined crosshair and add it into the halflife2.ttf font file? As in, a straight up outline with nothing inside the crosshair font. Is it just a clear crosshair with a black outline? Or is it the default color crosshair with the outline? If it works that way and it's a default color, why wouldnt you be able to do that with that particular ttf file and then use the clientscheme to color it?
yea im not too sure that's possible over laying two font character from halflife2 type face. You either have to create a new character and tell the game to overlay over the crosshair position which I don't think can be done in client scheme it more likely done in the game code which we can't touch. Or a work around can be done such as editing the info bars and creating the outline there. Then possibly switching them on (remembering to leave the full info bars characters blank) with the colour changes in client scheme but I got a funny feeling that they are clipped and that any solid out of the clip will be cut off. Plus you got the problem with alignment which could be fixed with trial and error. Not 100% with this, yet to try it.
Neolinkster wrote: I can't find a way how other than to create sprites
On the creating sprites how would we do that and where would we place these. This is mainly because I don't see where they are used it looks like the game using the true type font for graphics and text.

keefy

2010-10-04 05:55:24

Custom Sprites get replaced with the defaults when playing on sv_pure 2 servers thats the down side to them.
If you have AG2 installed check the crosshairs folder
ag2\materials\crosshairs

Jerk created a guide how to use them and make different crosshairs per weapon.
http://www.hl2dm-university.com/forum/p ... f=6&t=3282

CellarDweller

2010-10-04 06:12:40

keefy wrote:Custom Sprites get replaced with the defaults when playing on sv_pure 2 servers thats the down side to them.
If you have AG2 installed check the crosshairs folder
ag2\materials\crosshairs

Jerk created a guide how to use them and make different crosshairs per weapon.
http://www.hl2dm-university.com/forum/p ... f=6&t=3282
you're saying there can be no custom crosshair on pure 2 servers? :shock:

Sacrifist

2010-10-04 07:27:31

CellarDweller wrote:
keefy wrote:Custom Sprites get replaced with the defaults when playing on sv_pure 2 servers thats the down side to them.
If you have AG2 installed check the crosshairs folder
ag2\materials\crosshairs

Jerk created a guide how to use them and make different crosshairs per weapon.
http://www.hl2dm-university.com/forum/p ... f=6&t=3282
you're saying there can be no custom crosshair on pure 2 servers? :shock:
No he is not saying that. He is saying there cant be a custom sprite crosshair on a pure2 server because sprites are placed in the materials folder and is considered a custom file. There is no doubt that an edited Half-life.ttf font file will work as Im using one. I wasnt asking about having 2 fonts overlaying each other. Im just curious what happens if you use a crosshair font that is just an outline with nothing in the center. Does it show up with the default white/yellow color and the outline that was made via the font sheet? Im just curious.

Neolinkster

2010-10-04 08:23:13

not sure how making an outline of a xhair will help any it will still be losable since it will be the same color and just as transparent
Before
Image
Image
After
Image

Sacrifist

2010-10-04 08:53:52

You are right Neo. Im trying to get a grasp on all the options here and Im coming up empty. Perhaps someone with OB coding experience would be able to give a clear answer on if it can be done.