TUTORIAL: Customize a Crosshair !!

Get some cool tips about how to tweak your UT graphic, gameplay, and much more!
Myth
Inhuman
Posts: 988
Joined: Tue Feb 12, 2008 5:57 pm
Personal rank: Low Poly Freak

TUTORIAL: Customize a Crosshair !!

Post by Myth » Fri Apr 18, 2008 8:06 am

Customize a Crosshair !!

Bored of you're old crosshair that you've been using almost for a decade ? Changing color is not enough, eh ? Now you'll learn how make a brand new crosshair in 3 steps !

Step nr. 1
Design a Crosshair


The first step is to draw your own crosshair. Just open your graphics editing tool, even paint will do the trick. Set the canvas to 64x64 and start drawing.
A good crosshair should be aligned to the center of the image. Otherwise you're crosshair won't be in the center of the screen when you're playing, and you'll have some serious aiming problems. Remember to have a 2x2 point in the middle, or and actual cross or something that marks the center of your crosshair. For the minigun it's useless, but for the shockrifle it helps a lot.
Now go and draw it. But in case you're too lazy, download the crosshair that's attached to this post.
crosshair.zip
And you can also make animated crosshairs or multi colored ones. If you're making an animated one you'll have to draw each frame of the animation. And make sure that it loops perfectly.


Step nr. 2
Convert a Crosshair


(if you have downloaded the attachment you may skip this step)
This is quite and important step. You'll have to convert your crosshair so that UT will be able to use it. All you have to do is to save it to 8-bit PCX using RLE compression. Easy, huh ?
For those that didn't understand, in your graphics editor there should be a function that reduces the color amount to 256 or decrease color depth (paint doesn't have it). After that you'll have to save it to PCX. If there is an advanced button, or preferences about saving to PCX then click on it and set the compression to RLE.
If you don't have tools to convert it to that format then I suggest downloading Infran View. (http://www.irfanview.com/) It's a free software that lets you look at pictures, adjust their brightness, add a few effect, reduce red eye and stuff like that. It's very basic but very useful.
So open the image whit InfranView. Click on the image menu, then on Decrease Color Depth. After the new window appears click 256 colors, and ok. Now save you're image.


Step nr. 3
Unrealize a Crosshair


Now this is it, the hardest part.
Open the Unreal Editor in the system folder. It's not a problem if you didn't use it before. If you follow these steps carefully then you won't have any problem. Open the texture browser. It's the 11th button on the horizontal toolbar which is just above the viewports. (12th if you are counting from the right) Now, in the texture browser click file then import. Open your converted image. (if you have made an animated one then select all the frames) A window has just appeared. Set the package to UserTex. Leave the group blank. Set the name to MyCrosshair. Uncheck Generate MipMaps. Click OK. (if you have an animated one set the frame name for each MyCrosshair# where # is the #th frame) After the window disappeared (if you have an animated one you'll have to double click one every one of them and set the anim next frame to the next frame (for the last frame the first one)(and don't forget to set the speed)) and you imported the crosshair, click file then save. Don't change the name. Just press the save button. Close the Unreal Editor.
Now open user.ini in your system folder. (you should make a backup copy, just in case) Find the line 'CrossHairs[8]=Botpack.CHair9'. Replace 'Botpack.CHair9' whit 'UserTex.MyCrosshair'. Now save it.



Now run UT, go to the hud settings and select your crosshair. You may set the color if you wish.
After then just FRAG.

Note: This is 100% online compatible.
You do not have the required permissions to view the files attached to this post.

User avatar
gades
Average
Posts: 44
Joined: Sat Mar 22, 2008 5:21 am
Personal rank: UT BotMast3r

Re: TUTORIAL: Customize a Crosshair !!

Post by gades » Fri Apr 18, 2008 8:36 am

Just a few things.

Black areas are completely transparent (use for your background). White is fully visible. Shades of gray are partly transparent (use to control levels of transparency for your xhair, if desired).

In your User.ini, you can actually add more crosshairs (up to a limit of 20 crosshairs). Make sure your Crosshaircount setting matches.

IMO, the best kinds of crosshairs to make are simple in nature. Things like Dots, crosses, Inverted L shapes (where the point is dead center of course), maybe some circles.

Torturia
Novice
Posts: 13
Joined: Sat Mar 15, 2008 5:18 pm
Personal rank: Frustrating to Gods
Location: Vermont

Re: TUTORIAL: Customize a Crosshair !!

Post by Torturia » Fri Apr 25, 2008 11:24 pm

gades wrote:Just a few things.

Black areas are completely transparent (use for your background). White is fully visible. Shades of gray are partly transparent (use to control levels of transparency for your xhair, if desired).

In your User.ini, you can actually add more crosshairs (up to a limit of 20 crosshairs). Make sure your Crosshaircount setting matches.

IMO, the best kinds of crosshairs to make are simple in nature. Things like Dots, crosses, Inverted L shapes (where the point is dead center of course), maybe some circles.

Hi, where is the crosshaircount setting and are the darker shades of gray more transparent?
Thanks!

-Tort

User avatar
gades
Average
Posts: 44
Joined: Sat Mar 22, 2008 5:21 am
Personal rank: UT BotMast3r

Re: TUTORIAL: Customize a Crosshair !!

Post by gades » Sat Apr 26, 2008 8:24 am

Darker shades of gray are more transparent.

In User.ini do a search for cross, and you should find the section.

thiagoskat
Posts: 2
Joined: Tue Sep 02, 2008 9:27 pm
Personal rank: Rank

Re: TUTORIAL: Customize a Crosshair !!

Post by thiagoskat » Tue Sep 02, 2008 9:29 pm

Good tip! :agree1:

Tengu
Posts: 2
Joined: Sun Sep 21, 2008 8:02 am

Re: TUTORIAL: Customize a Crosshair !!

Post by Tengu » Wed Sep 24, 2008 2:58 am

hae i followed the instructions and the cross hair i made was too big and it has a semitransparent square around it
can any1 tell me what has gone wrong?

User avatar
MessiahComplex
Novice
Posts: 12
Joined: Thu Sep 25, 2008 6:08 pm
Personal rank: UT addict

Re: TUTORIAL: Customize a Crosshair !!

Post by MessiahComplex » Sun Sep 28, 2008 2:46 am

I've followed these steps completely (at least I think so...) and the only thing I get is this:

Image

I created the crosshair with Paint, used Irfanview to change it to 256, save it as a PCX, followed your UnrealEd steps, etc, and that's what I get...what'm I doin' wrong?
Equal Opportunity Destroyer

Myth
Inhuman
Posts: 988
Joined: Tue Feb 12, 2008 5:57 pm
Personal rank: Low Poly Freak

Re: TUTORIAL: Customize a Crosshair !!

Post by Myth » Sun Sep 28, 2008 3:39 pm

I have no Idea what you guys did wrong since I don't know exactly what you did.
The best solution is to do the tutorial again step by step. If it still doesn't work then your UT was somewhat screwed up, or a mod was installed which doesn't let you to change it.

User avatar
MessiahComplex
Novice
Posts: 12
Joined: Thu Sep 25, 2008 6:08 pm
Personal rank: UT addict

Re: TUTORIAL: Customize a Crosshair !!

Post by MessiahComplex » Sun Sep 28, 2008 4:21 pm

I listed exactly what I did, followed step by step...I also have several mods and such from this site: Monster Hunt/Team Monster Hunt, Strangelove, Tactical Ops, Nali Chronicles, ChaosUT, Jailbreak, CTF4, and Onslaught. Do you think any of those may have influence?
Equal Opportunity Destroyer

Myth
Inhuman
Posts: 988
Joined: Tue Feb 12, 2008 5:57 pm
Personal rank: Low Poly Freak

Re: TUTORIAL: Customize a Crosshair !!

Post by Myth » Sun Sep 28, 2008 4:41 pm

Not really.
Just make sure that you have the 64x64, 256 color crosshair in a texture package, and that in user ini you have CrossHairs[8]=Thenameofyoutexturepackage.Thenameofyourcrosshar

sickwit
Novice
Posts: 5
Joined: Mon Oct 27, 2008 6:44 pm

Re: TUTORIAL: Customize a Crosshair !!

Post by sickwit » Mon Oct 27, 2008 6:49 pm

thx

domi
Posts: 2
Joined: Tue Oct 28, 2008 7:38 pm

Re: TUTORIAL: Customize a Crosshair !!

Post by domi » Tue Oct 28, 2008 7:39 pm

nice tutorial!

hhaydn
Posts: 2
Joined: Sat Dec 06, 2008 11:26 pm
Personal rank: Ok

Re: TUTORIAL: Customize a Crosshair !!

Post by hhaydn » Sun Dec 07, 2008 1:08 am

cool, i might try that later :)

vanesh
Posts: 2
Joined: Fri Dec 19, 2008 4:48 pm

Re: TUTORIAL: Customize a Crosshair !!

Post by vanesh » Fri Dec 19, 2008 5:21 pm

yeah this wasn't that bad... you can make better ones using better programs than paint though


:flag2:

krack420
Posts: 2
Joined: Wed Dec 24, 2008 7:27 pm

Re: TUTORIAL: Customize a Crosshair !!

Post by krack420 » Wed Dec 24, 2008 7:30 pm

nice :satan: