Cutstuff Forum

Mega Man 8-bit Deathmatch => Tutorial Collection => Topic started by: TERRORsphere on July 08, 2010, 06:30:47 PM

Title: [TUTORIAL] Making custom Crosshairs.
Post by: TERRORsphere on July 08, 2010, 06:30:47 PM
So, you're bored of all the stock crosshairs? Well then, make your own! Open up your favourite image editor and draw a crosshair. Here's mine.
(http://img228.imageshack.us/img228/7108/xhairb5.png)
It must be a .png.
Black = fully transparent,
White = fully opaque.

Ok, now you got your crosshair png :mrgreen:! Make sure it's named XHAIRBx. x = any number. So if it was XHAIRB5 then ingame you would enter into console: Crosshair 5

Ok, now. Import it into Slumped (New lump from file). Now you gotta set the offsets. (http://img820.imageshack.us/img820/845/slumpedcross.png)

Now lets see it ingame  :D

(http://img52.imageshack.us/img52/1091/yayv.png)
The crosshair seems to be massive because I'm at a resulution of 640 x 480 rather than my potential 1600 x 900

Yay it works! You can also change the colour by typing in console: Crosshaircolor "Blue" if you wanted a blue crosshair.
Or if you're Leet. Then you can type in Crosshaircolor "FF 20 95". That would create a light purple crosshair.
(A digit goes from 00 to 110 but 110 must be typed in as FF, so it's 97, 98, 99, F1, F2... F9, FF... this is not true but I find thinking of it that way makes it easier.)


This also works with Megaman 8-Bit Deathmatch of course  :p. Oh and put the wad with the crosshair in your Skins folder.



And colours in your crosshair PNG get converted to the colour of your crosshair ingame.
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: CopShowGuy on July 08, 2010, 06:34:10 PM
Well changing the color of the crosshair would be nice...so I'll do that!
How would I make it a light grey?
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: CutmanMike on July 08, 2010, 06:34:40 PM
This applies to all Doom mods so I'll put it here
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: TERRORsphere on July 08, 2010, 06:39:41 PM
Quote from: "CopShowGuy"
Well changing the color of the crosshair would be nice...so I'll do that!
If it doesn't seem to work, Make sure Crosshairhealth is set to 0.
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: Ivory on July 08, 2010, 08:41:15 PM
I'd like add some pointers in creating Crosshairs, since I worked with custom Crosshairs a lot in a mod of mine.

1) The Crosshair will look exactly how the graphic looks. If you don't want your custom crosshair to be pixelated, then be sure to make it more then a circle made out of single pixels.

2) Use a nice range of greys. It can really enhance the feel of your crosshair. Look at DTD's screenshot to see what I mean. If you make a solid white box, then it will be a solid color.

3) Positioning is critical on the crosshair graphic. If your center is off on the graphic, it will look very strange in game.
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: Mobius on July 09, 2010, 05:40:41 AM
How about a custom hud to go with that?
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: TERRORsphere on July 09, 2010, 01:08:14 PM
Quote from: "Mobius"
How about a custom hud to go with that?
I personally find the default HUD perfect. Well... the only thing I don't like is the inventory bar's textures. But I changed that in my skins folder :D!
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: Mobius on July 09, 2010, 07:18:32 PM
if I knew how to change the HUD, I'd have an altitude calculation, enemy player weapon type, and health at the top left corner of the screen. Then I will have vertical lines as my cross hair but parted away from the actual triangle.
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: NeuralStunner on July 10, 2010, 06:49:55 AM
Quote from: "Mobius"
if I knew how to change the HUD, I'd have an altitude calculation, enemy player weapon type, and health at the top left corner of the screen. Then I will have vertical lines as my cross hair but parted away from the actual triangle.
The altimeter sounds like a cool idea. :cool:

Quote from: "DoomThroughDoom"
A digit goes from 00 to 100 but 100 must be typed in as FF, so it's 97, 98, 99, FF.
Actually, the colors are in hexidecimal: Numbers range from 0 to 255. Digits are from 0 to 9, then up to F for 15. Left digit is the number of sixteens, so "40" would be 64. "46" would be 70.
(The same color system is used for your player color.) :)
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: TERRORsphere on July 10, 2010, 01:26:21 PM
Quote from: "NeuralStunner"
(The same color system is used for your player color.) :)
When I was newer, I changed my player colour to see what colour I wanted. Then I type in the console Color. Then it told me what colour I was. Then I use that value for my Crosshaircolor.


Oh and to make a light gray would be "Crosshaircolor 75 75 75"
Title: Re: [TUTORIAL] Making custom Crosshairs.
Post by: TERRORsphere on November 24, 2010, 01:22:58 AM
Bump so new players can see this.