A crosshair uses translucense, how the hell would you see
what you aim for else ?
To do this, make a small sized, indexed picture, size 32*32 or 64*64.
Make the background black, and draw the actual crosshair white.
Now the parts that are black will be translucent.
Translucense in photoshop is achiefed with an alpha channel.
An alpha channel, unlike a mask, can contain several degrees
in translucense, the grey color is used for that matter.
The darker the grey, the closer to black and thus the more transparent.
The lighter the grey, the closer to white and thus the more opaq.
When the black/white drawing is made do this >>
In menu > Window > Show Channels
Now in your drawing, select only all white parts, with the magic wand.
In the channel viewer, click the small sheet icon > create new channel.
the white parts you've selected are automaticly selected.
Now you can create in the drawing all thenescessary grey parts.
You are not forced to use grey parts, these are decoration.
If you make a black and white only Crosshair, it will be more accurate
but less attractive and eyecandy, so make your choice.
Now obviously, you will have to make this a Texture pack > name.utx
open UED, open the texture browser.
in menu for texture browser, import your picture.
give it a packagename like MyCrosshaires.
you can name it as you like, but remember the name,
cos you gonna use it later.
The name of the picture in the texturepack will be used in the user.ini.
If you make animated Crosshaires, its just bout the same, but
only the first picture's name will be used in user.ini.
Now, the user.ini lines >>>>>
you will search for this first line, in fact a label in batch language
[Botpack.ChallengeHUD]
then you will see the 8 default UT crosshairs installed like this
CrosshairCount=9
CrossHairs[0]=Botpack.CHair1
CrossHairs[1]=Botpack.CHair2
CrossHairs[2]=Botpack.CHair3
CrossHairs[3]=Botpack.CHair4
CrossHairs[4]=Botpack.CHair5
CrossHairs[5]=Botpack.CHair6
CrossHairs[6]=Botpack.CHair7
CrossHairs[7]=Botpack.CHair8
CrossHairs[8]=Botpack.CHair9
if you would like to add your own crosshair, you would do this >>
CrosshairCount=10
CrossHairs[0]=Botpack.CHair1
CrossHairs[1]=Botpack.CHair2
CrossHairs[2]=Botpack.CHair3
CrossHairs[3]=Botpack.CHair4
CrossHairs[4]=Botpack.CHair5
CrossHairs[5]=Botpack.CHair6
CrossHairs[6]=Botpack.CHair7
CrossHairs[7]=Botpack.CHair8
CrossHairs[8]=Botpack.CHair9
CrossHairs[9]=MyCrosshair.NewCrosshair
MyCrosshair = the texturepack name
NewCrosshair = the name of the crosshair picture inside the UTX.
If you made an animated CrossHair, select the first image name.
Save and exit, test it. Done.
|