customs crosshairs?


Lezt
12-11-2003, 09:01 PM
after steam are we allowed to use custom crosshairs? if yes, how do we do it and if possible how can i make one myself?

thank you

otcconan
12-11-2003, 10:14 PM
It's a tricky thing; first you need the tools. For that, go to Bullseye Crosshairs (think it's a dot-com), where you can get the sprite viewer and the sprite wizard (which you need to make sprites from bitmaps).

Then you need to create a bitmap, in this case, 256 x 256. Each 64 pixel square would hold a custom hair. The bitmap's pallette needs to be edited so that the background color is the LAST color in the palette. How you make the crosshairs look is up to you. Make sure you center them right. The first one's center would be at the 32, 32 position, the next at the 32, 96 position, and so forth.

Then you open the sprite wizard, select your bitmap, create the sprite. Select "alphatest" for the method (this makes your background or last color in the palette transparent). Save your crosshair as "CustomXhair.spr" and place it in Steam/steamapps/email/day of defeat/dod/sprites. Then, you can select the different crosshairs by typing "cl_xhair_style 1" in the console. 1 is the first position, 2 the second, and so forth. You can have up to 16 of them. If you want to go back to the stock hair, you select cl_xhair_style 0.

Attached is the bitmap (converted to jpg in the interest of saving bandwidth) from the one I made for myself, which has 4 hairs; I especially like #1, which is the same hair you would see in spectator mode. #2 is the 3.1 hair, #3 is one from another custom sprite somewhere on this board, and #4 is a single dot (which I don't use cause it's hard to see).

also, if you put the line

vid_d3d "1"

in your config, you can eliminate the shadowing effect on the crosshair (which is quite visible in screenshots).

TheNomad
12-12-2003, 02:24 AM
thats a good tut, possible sticky somewhere?

otcconan
12-12-2003, 02:32 AM
Tell me how that concert goes, by the way.

Kehldon
12-12-2003, 03:49 AM
How about in the models, skins and animationforum where the sprites belongs?

This is the mapping forum...

Lezt
12-12-2003, 02:47 PM
hummn wat if didn't merge the Old DOD files to steams? i placed the custom xhair file in the old dod folder with the sprite folder... but then it didn't work

otcconan
12-12-2003, 03:57 PM
No, it's got to go in steam.

TheNomad
12-15-2003, 02:18 PM
Originally posted by otcconan
Tell me how that concert goes, by the way.

it was excellent, more details and pics HERE (http://www.geocities.com/mappingzone/maiden.htm)

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.