Create an account


Poll: Was this tutorial helpful?
This poll is closed.
Yes
61.11%
11 61.11%
No
5.56%
1 5.56%
Dicks everywhere (Richard approves)
33.33%
6 33.33%
Total 18 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make your own crosshairs a la Cortez666

#1
3 steps to success! Simple and fast explained!

STEP 1

open Photoshop / Gimp

STEP 2

create a new file, transparent, power of 2 resolutions (16x16px, 32x32px, 64x64px, 128x128px etc..)

why resolution² (not need to be done, just additional informations) see link below.

STEP 2.1

first we start to draw the alpha channel for our crosshair

What you need to know about alpha channels (not need to be done, just additional informations) Wrote:
  • You use alpha channel, alpha images to tell the game which part of the crosshair should be transparent
  • there are no colors in alpha channels, just black, white and all types of gray
  • black areas are invisible
  • white areas are visible
  • logically gray areas are transparent

so let's take our brush and draw slowly and very detailed, this is gonna take some time...

[Image: part1.jpg]

done!

[Image: part2hu.jpg]

STEP 2.2

create now in your xonotic directory a folder called data/gfx. If gfx already exist, scip this STEP!

[Image: part2b.jpg]

STEP 2.3

What you need to know about how Xonotic inherits (not need to be done, just additional informations) Wrote:
  • If you take a look in your data folder there is a pk3 file called xonotic-[NUMBERS]-data.pk3. It's a zip file. You can open it with a zip archiver like winrar.
  • If you open this file and go to gfx, you will see crosshair images. There are 20 standard crosshairs with 20 alpha channels. Therefore there are 20 slots for crosshairs.
  • But you dont have to overwrite them and create a new pk3 file. Since Xonotic does inherit, you can also throw your crosshairs into your probably new created gfx folder! This is why you created this folder.

Save your image into your gfx folder with the name

crosshair20_alpha.jpg

As mentioned before Xonotic provides 20 slots so you can choose a slot betwen 1 - 20, meaning if you want to use slot 3 instead, write a crosshair3_alpha.jpg file.

[Image: part2cq.jpg]

STEP 2.4

Now we are going to create the image which tells the game which parts of our crosshair are coloured! I fill first the image with the color white...

[Image: part3.jpg]

And the middle should be red... DONE!

[Image: part4ei.jpg]

STEP 2.5

Write a new image called

crosshair20.jpg

in the same gfx folder like where the alpha image is

[Image: part4b.jpg]

STEP 2.6

Start Xonotic!

STEP 2.7

Go to Multiplayer > Player Setup and take a look into the Crosshair settings

STEP 2.8

If you done everything right you should see your own crosshair at slot 20! You can give him now a size and additional alpha information!

[Image: part4cc.jpg]

STEP 2.9

Join a server and enjoy to see from your "point of view" who's a dick*

[Image: part4d.jpg]

STEP 3

If you have questions ask dude

STEP 4

Wait a second there arent 3 steps

Additional Informations

Textures and the Power of Two

Alpha Compositing

* No dicks in images included, just pink and nimbus


Attached Files
.zip   crosshair-tutorial-xonotic.zip (Size: 65.32 KB / Downloads: 9)
[Image: signature.php] [Image: DVlpo.png]
Reply

#2
In a strange way, that was actually useful Tongue
[Image: sigdammit2.png]


Reply

#3
I bet you had fun doing this.
Reply

#4
I'm a big dick. Lovely Big Grin
LoverTaleb
Reply

#5
It definitely should be set as a default.
Great tutorial btw Smile
PS
Now I will be aware of meeting you in-game Soelen Big Grin
Reply

#6
all i can say is t.

t

:^

oh and i voted dicks everywhere , due to it being funny and the fact of an extreeme lack of hawt chicks in game (maybe we should add %20 of nerd girl related stuff into dev to get them to join community , then they will see what awesome gentlenerds we are. )


t


:^
Reply

#7
hahahahhah , n1 n1

wp

i summon the devs to make this happen

er..

ssssssssssssssuuuuuummmonnnnnn

i think that has worked....


t



:^
Reply

#8
OMFG.

Soelen - you're like a mad genius with too much time.

*LOOOOOOOOL*


I recommend this gametype as included mutator.

*reciting chookys summoning*
[Image: Sigsig.jpg]
Reply

#9
Big Grin

I have to admit, I had a good laugh.
Also, it lacks the glans, so it's imho the start of...

[Image: 1rdw8q5vylnd96clsy7_thumb.jpg]

OMG!!! JAZZ JACKRABBIT!!!
[Image: 561.png]
"One should strive to achieve; not sit in bitter regret."
Reply

#10
You sure deserve a Reputation just by knowing Jazz Jackrabbit!
[Image: signature.php] [Image: DVlpo.png]
Reply

#11
(01-11-2012, 07:11 PM)C.Brutail Wrote: OMG!!! JAZZ JACKRABBIT!!!

You should see a urologist ASAP!

Speaking of jazz jackrabbit, we should make a xonotic weapon mod inspired by it!

EDIT: hey, how did you post such a big rep review for Cube, Soelen? I tried to do one for Rashmi but it seemed limited in length.
EDIT2: oops, obviously didn't read it all. Well this system's kind of silly, why would it put the limit in the UI and not in the backend as well...
Reply

#12
Haha, wonderful. I guess someone should try to fix that. Or not.
"Yes, there was a spambot some time ago on these forums." - aa
Reply

#13
HAHA Big Grin

I'll have to quote Sless now:

<Sless> Soelen is really like a mad-man genius with a hang to chaos and too much time.
[Image: 561.png]
"One should strive to achieve; not sit in bitter regret."
Reply

#14
All what's left to do is another tutorial about making weapon sounds with Pingas practical example.
·Nekomimi·

:: q3map2 x64 for Windows
Reply

#15
due some asyyy issues I changed tutorial images. Also attached example files.

@neko
1. get this zip file

pingasweaponsounds.zip

2. unzip directory weapons into your data/sound folder. If there is no sound folder, create one

3. enjoy


Attached Files
.zip   weapons.zip (Size: 1.19 MB / Downloads: 2)
[Image: signature.php] [Image: DVlpo.png]
Reply

#16
*tears of happiness*
·Nekomimi·

:: q3map2 x64 for Windows
Reply

#17
The discussion on offensive imagery has been moved to sanity island.

http://forums.xonotic.org/showthread.php?tid=2515
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [Solved] Make Xonotic Truly Portable? WizardFait 1 3,303 01-08-2016, 07:14 AM
Last Post: Halogene
  any idea how to make xonotic look like a 90s shooter? Wario 1 2,974 12-27-2013, 05:42 PM
Last Post: kammy

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-