Friday, September 10, 2010

SHAZBOT!

Used Truck Association

Archive for the ‘Sprays’ Category

Left 4 Dead – Decoy Sprays

Posted by coblos On May - 2 - 2009

Left 4 dead Decoy spray pack by Zenodice –>   Downlaod

spray_test1 spray_test2

Source –> http://zenodice.blogspot.com/

L4D: Creating sprays

Posted by coblos On December - 10 - 2008

Originally posted by mystrdat in the steam forums this a good little guide for creating your own custom sprays

This guide is meant to introduce an average L4D player to the world of the Source games spray feature. I will be using Photoshop terms, but you can create sprays in any other suiting software (GIMP, paint.net etc…).
Now, let’s create a nice 256×256 spray with some transparency effects.

Image Format

Source can use 4 formats – JPEG, BMP, TGA and VTF. While it is easy to crop and resize a JPEG to use as a spray, it cannot have any transparency applied to it (simply a JPEG limitation). In case you want just a simple picture spray, you can end reading here – crop and resize your image, import through the game menu and enjoy. If you however want to create a nice texture with transparency effects, read on.

While BMP is pointless because of it’s size and is in fact inferior, I will only talk about TGA (Truevision Targa) format and it’s transparency. VTF is the Source SDK compiled texture file, which is created during any of the other formats import process.

note: Custom sprays are saved in the following default dir – C:Program FilesSteamsteamappscommonleft 4 deadleft4deadmaterialsvguilogoscustom (or C:Program Files (x86)… on a 64bit system)

Photoshop – New Document

1. Create a new document with 256×256 pixel dimensions.
2. Open a JPEG or other format image of your choice, that you want to clean up with transparency and use as your spray.
3. Drop the JPEG Background layer onto your new document and delete it’s default white background layer.
4. Resize Layer 1 (the dropped JPEG) to fit the document.

note: Valid spray dimensions are 256×256 // 128×128 // 64×64 etc… Anything less /2 down to the size of 1×1 will work, but will be too small at the same time. The maximum importable file size is 120kb.

Photoshop – Cleaning Up

5.  Delete all areas you want to be transparent with either Magic Wand Tool, Eraser Tool, Magic Eraser Tool etc….
6.  Switch to Channels tab and create a new channel. This channel will appear as Alpha 1 by default.
7.  Toggle the RGB channels visibility back on and toggle the Alpha 1 channel invisible for now.
8.  Get back to Layer 1 and use the Magic Wand tool to select all the areas you deleted from the image before.
9. Right click -> Select inverse.
10.  Turn on and select Alpha 1 channel and delete the areas selected.
11. Proceed to Saving section or read up for more advanced effects.

Photoshop – Advanced Cleaning Up

note: The default Magic Wand selections, antialiasing and feather effect will create sort of a white halo around the spray where transparency should take effect. To get rid of it, read up this section.

For advanced cleaning up, you have to understand more stuff. All of it centeres around the new Alpha 1 layer – in a similar fashion as GIF does, it defines a color that will be interpreted as transparent. TGA however can create and use more than 1 transparency levels on that color. This gives you somewhat infinite possibilities on how to apply transparency to the layer – feather selects, advanced eraser brushes…
Note that everything not covered by the alpha channel color set will be visible in the final spray texture. At the same time, you can as well make the transparent color different than the default red to feel a bit more uberleet.

Another approach to advanced masking is the Color Range (Select -> Color Range), which is useful to select multiple transparency levels of a single color. With Localized Color Clusters unchecked, select the color you want to get rid of and use the Fuzziness slider to apply a bit of… well… fuzziness. 200 creates a fine anti-aliased effect. What you will get from this dialog is an advanced select with feathers applied and when inverted, can be used to delete unwanted parts from the Alpha channel. This process is handy when cleaning up images that highly blend in their own background.

note: The Source internal VTF conversion is far from perfect, so using VTFEdit to generate the VTF/VMT files yourself produces better results with less halo. Just note this if you want to produce a precise masking with the least amount of white halo.

Photoshop – Saving

11. Save as TGA with 32 bits/pixel resolution and Alpha Channels ticked.
note: At this point, you might as well save it as PSD first to be able to tweak your work later.
12.   Import through the game menu. Options -> Multiplayer -> Import Spray.
13.  Spray your shiny stuff in game with default “T” key.

GIMP/paint.net TGA Transparency

1.  Create a new document (256×256 max).
2.  Delete the default layer to get a checkerboard transparent layer (you might have to create a new one). This layer now serves as the transparency definition (in Photoshop – the Alpha1 channel has the same effect).
3. Add your stuff.
4.  Save as 32bit TGA (Targa) file. Merge layers if asked to.
5. UNCHECK RLE Compression.

Spray Animation

The Source native VTF format is in fact a container and can hold several frames in a similar fashion as AVI does for movies. The only limit to the number of frames used is the maximum file size of importable content (120kb atm). Why not more? Well obviously because of network traffic. For compiling the frames into a VTF file, you will need a tool like VTFEdit.

Now – think of the texture animation process as a sequence of a couple spray textures you created. For ex. – you want to create a blinking eye spray with 2 frames repeating. Well – all you have to do is independently create each of the frames (one with eye opened, one with eye closed) and convert them to VTF with VTFEdit tool mentioned above.

1.  When you got your frames ready, name them in an incremental fashion (1.tga, 2.tga, 3.tga…).
2.  Open up VTFEdit and press CTRL+I (or File -> Import). Select the frames and click OK.
3. A lot of settings will come up – ignore them unless you know what you’re doing and click OK. You can then view the sequence by pressing Play. In the Info tab, make sure your spray is not bigger than 120kb.
4. Save the sequence in the custom sprays directory (default C:Program FilesSteamsteamappscommonleft 4 deadleft4deadmaterialsvguilogoscustom)
5.  In VTFEdit, click Tools and Create VMT File. Save it to the custom spray dir as well (this file has directory structure saved inside, so if you for some reason did not save the VTF in the directory I mentioned, you will fail).
6. Import through game menu and enjoy.

beatanorexia

_____________________________________________________

Making a custom spray for Left 4 Dead

Posted by coblos On November - 22 - 2008

TRIBES REVENGEANCE!

Posted by coblos
Aug-3-2009 I ADD COMMENTS

T:V – X2 Map Pack

Posted by coblos
Apr-26-2009 I ADD COMMENTS

T:V Maps – BEML8

Posted by coblos
Apr-25-2009 I ADD COMMENTS

T2 Map Packs

Posted by coblos
Mar-21-2009 I ADD COMMENTS

T:V Maps BEML7

Posted by coblos
Mar-21-2009 I ADD COMMENTS

TV Maps BEML6

Posted by coblos
Mar-20-2009 I ADD COMMENTS

Garage Games purchase Tribes IP

Posted by coblos
Mar-18-2009 I ADD COMMENTS