Author Topic: A few croshairs with pics, need help adding to game  (Read 6678 times)

Chewbacca

  • Stingray
  • Posts: 56
A few croshairs with pics, need help adding to game
« on: November 01, 2008, 02:03:31 PM »
I'm no coder but i can use paint programs.

these are two of my ideas, Reilly one with a modification of the other...

if someone could implement them it would be appreciated


Zorchenhimer

  • Autococker
  • Posts: 2614
Re: A few croshairs with pics, need help adding to game
« Reply #1 on: November 01, 2008, 02:05:37 PM »
They need a transparent background.  Otherwise there will be a white box around them.

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #2 on: November 01, 2008, 04:26:31 PM »
Yeah I know, i have GIMP, but i don't reilly know how to make a transparent layer

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: A few croshairs with pics, need help adding to game
« Reply #3 on: November 01, 2008, 05:04:50 PM »
Hit "new layer" button on the layers window and draw on that layer.  When you save it, either delete the "background" layer or make it invisible.

If you are now completely lost and confused, go through the documentation here: http://docs.gimp.org/en/

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #4 on: November 01, 2008, 06:19:16 PM »
Nope, I know what you'r talkin about.

Thanks, i'l re post the pics in a few minutes.

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #5 on: November 01, 2008, 06:28:37 PM »
Lets try it agai

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #6 on: November 01, 2008, 06:33:11 PM »
Oh well, i'm going to bead, i'l get it right in the morning. LOL

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: A few croshairs with pics, need help adding to game
« Reply #7 on: November 02, 2008, 01:03:18 AM »
Nope, I know what you'r talkin about.

Thanks, i'l re post the pics in a few minutes.

Apparently not.  Those still don't have transparent backgrounds.  When you do it right, there will be a checkerboard background instead of a solid color.

And in Gimp 2.6 (the newest one) you can just erase the background with the eraser tool (just stumbled upon that one).

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #8 on: November 02, 2008, 11:38:54 AM »
LOL yeah apparently not, mostly i just used gimp for making gif animations....

I'l try it again.

I'v been copy pasting the croshairs into gimp from MS paint, could that be messing it up?

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #9 on: November 02, 2008, 11:42:57 AM »
trying this.

okay, i erases the BG, i'm saving it as a PNG file, that okay?


Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #10 on: November 02, 2008, 11:44:25 AM »
finaly, this is just a simple version,, i'l clean it up some more...

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: A few croshairs with pics, need help adding to game
« Reply #11 on: November 02, 2008, 11:50:57 AM »
I did one for you. I used the select regions by colour button, selected the green pixels, shift-clicked the red pixels, inverted the selection then erased it all.

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #12 on: November 02, 2008, 11:56:35 AM »
Alrighty, Thanks Zorchenhimer and ViciouZ

i'm trying not to be a noob :P :P

so it has to be a tga file?

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: A few croshairs with pics, need help adding to game
« Reply #13 on: November 02, 2008, 12:49:12 PM »
Yes - a TGA file with a transparent background.

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #14 on: November 02, 2008, 01:25:36 PM »
AWSOME.

thanks both of you.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: A few croshairs with pics, need help adding to game
« Reply #15 on: November 02, 2008, 07:09:13 PM »
Welcome.

Also, you can do some neat effects with partial transparency.

Edit:

Also, type this in the console:
Code: [Select]
r_oldmodels 0

;)

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #16 on: November 03, 2008, 02:06:58 PM »
wish i could use the new models but i dont have a 3d card, running all the graphics off my comps ram.

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: A few croshairs with pics, need help adding to game
« Reply #17 on: November 03, 2008, 02:55:30 PM »
Unless your RAM has suddenly grown a GPU with OpenGL capabilities, you have a 3d card.

Edit: oh, onboard.

Garrett

  • Autococker
  • Posts: 1372
Re: A few croshairs with pics, need help adding to game
« Reply #18 on: November 06, 2008, 03:00:06 PM »
The crosshair is very nice looking but it is too big for my tastes. 

Chewbacca

  • Stingray
  • Posts: 56
Re: A few croshairs with pics, need help adding to game
« Reply #19 on: November 08, 2008, 11:11:28 PM »
LOL @ ViciouZ,  The game runs prity well though without a 3D card, even when i was running it on a 42KBPS Dial up network, now i'm on DSL 6 MB.

Thanks Garrett, i like the big ones but i get what yer sayin.