nasprofile.blogg.se

Team fortress 2 sprays jpg
Team fortress 2 sprays jpg




team fortress 2 sprays jpg
  1. #TEAM FORTRESS 2 SPRAYS JPG HOW TO#
  2. #TEAM FORTRESS 2 SPRAYS JPG FULL#

How do I know what the next powers of 2 are? Well I wrote a simple program to dump a bunch out for me and I just compared 😉 Below is a convenient table for your use:

team fortress 2 sprays jpg

If you select “Next Smallest Power of 2” it will always pick the next smallest value, and likewise, should you choose “Next Largest Power of 2” it will always choose the next largest. If our image size was 130 x 130, the next smallest is: 128 x 128 (again) and the next largest is: 256 x 256 (again), and 128 x 128 would be used. If “Nearest Power of 2” is chosen, since 220 is closer to 256 then it is to 128, 256 x 256 is used. In our case the next smallest is: 128 x 128 and the next largest is 256 x 256. It uses the value in the drop-down list as a guide-line. If the image’s dimensions do not align to a power of 2 in both their X and Y dimensions, VTFEdit figures out the next largest and next smallest even power of 2 to align to and re-samples the image to these new dimensions. It defaults to “Nearest Power of 2” but there are options for “Smallest Power of 2” and “Largest Power of 2”.ĭuring the import, VTFEdit looks at the dimensions of the image, for an example, let’s say our image is 220 x 220. VTFEdit gives you a drop-down box to give you further control. In all cases, when we import images into VTFEdit, they are re-sampled to align to a resolution that is a power of 2, this is due to the rendering engine and an optimization for faster and easier rendering. This usually isn’t an issue with Non-Animated sprays, but Animated ones use 1 image per frame so you’re probably not going to get more than 4 or 5 frames with a resolution of 128 x 128 (note that is smaller then the largest supported spray resolution, we choose that to allow for more frames.) They can be smaller, but they can’t be larger! If they are larger the 256 in either width or height, the spray simply will not show.įile Size: Currently the Source Engine (the Valve game platform that Team Fortress 2 is built on) has a file size limit for sprays of 120 KB do not exceed that or the spray will simply not work. Resolution: Sprays resolution maximum is: 256 x 256 pixels NET 2.0 Runtime and the Microsoft Visual C++ 2005 SP1 runtime as well, which likely your computer already has)Ī note on Spray Image Resolutions and Spray file sizes:

#TEAM FORTRESS 2 SPRAYS JPG FULL#

– VTFEdit (v.1.2.5 Full seems to be the latest though it was release on, also requires the.The tool must supporting saving to TGA (Targa) file-format and must support Alpha channels (for transparency) – An image editing utility like Adobe’s Photoshop ($$$) or gimp (Free!).– “Create Animated Sprays in Team Fortress 2 and Counter-Strike” Tools you will need: – "TF2 Custom Spray Image with Transparency" .uk.Here are the direct links to the articles I used as a base: Unfortunately, there was no comprehensive information for dealing with transparency and animation so this article you are reading now attempts to bring it all together in one place. I found the information on making sprays from a few blogs/sites.

#TEAM FORTRESS 2 SPRAYS JPG HOW TO#

How to make a static spray, a transparent spray, and animated sprays.įirst, to give credit where credit is due. This little tutorial will cover making custom TF2 sprays.






Team fortress 2 sprays jpg