[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/controller/chat.php on line 220: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
calculatedChaos Gaming • How to make pictures right size for L4D and TF2
Page 1 of 1

How to make pictures right size for L4D and TF2

Posted: 05 Jul 2009, 08:09
by Breal
little while ago i got divine to help me turn few pictures into the right size but for the amount i have i want to make fit i need to knwo how to do it. Any suggestions would be nice.

Re: How to make pictures right size for L4D and TF2

Posted: 05 Jul 2009, 09:24
by Divine Fate
First off, use photoshop or gimp. I use gimp for sprays because it's quick and easy and doesn't eat my processer up like candy on halloween.

Second, open your image in GIMP. The best way to convert images without stretching is to do the following:
  • At the top, select Image>Scale Image... and change the highest variable (width or height) and change it to 256. Make sure the lock is on so that the opposite variable will change with it. Click Scale.
  • Next do the same, except select Image>Canvas Size... and UNLOCK the lock setting mentioned in the previous step. Now change the variable that isn't 256 to 256 so that both are the same. Under offset, click the center button. Click Resize.
  • If done correctly (and transparency is set as default background, which usually is), you should have what you need to make a spray. Go to File>Save As... and save it as <ImageName.TGA>. Make sure it's a TGA file.
From here, you can either manually add the TGA files to your game, or convert them to VTF files yourself.
  • Download VTFEdit.
  • Run it, File>Import and select your TGA file.
  • Leave default settings, click OK, and File>Save As... and save your file (as a VTF). If you added transparency, the preview should look like it is surrounded by black.
And that's all there is to it, have fun ;).

Re: How to make pictures right size for L4D and TF2

Posted: 07 Jul 2009, 12:55
by Breal
Thanks
Any decent sites on which i can download gimp from?

Re: How to make pictures right size for L4D and TF2

Posted: 07 Jul 2009, 01:11
by Divine Fate
Breal wrote:Thanks
Any decent sites on which i can download gimp from?
The best one would be GIMP's site itself: http://www.gimp.org/