Creating custom objective icons for TF2 Options
Business
#1 Posted: : Tuesday, November 20, 2007 3:18:29 PM
Rank: Dutchess of Doodoo



Groups: Registered User, Server Admin, WDFNews.com Official Mapper

Joined: 6/3/2006
Posts: 2,236
Points: 318
Location: $L
Tutorial by Novacane, taken from tf2maps.net

This should be pretty useful.

Novacane wrote:

Add some more originality to your map with some custom HUD objective icons.
I've made a template in photoshop which allows you to create whatever icons you want and still retain the TF2 feel.

Creating a Objective Icon is just like any other source material
Theres two parts to it. The VTF (the actual texture file) and the VMT (the text file which tells the engine how to render the material).

Use the VTF Photoshop Plugin to speed of the process of converting the texture files. Without this, you'll need to do it the old-fashoned way of vtex command line SNooCH's edit : use VTFEdit if you have trouble with the Photoshop plugin.

Tip: Create the VMT in the directory in which you want to save the VTF with the proper properties first, and the photoshop plugin will read the proper values upon save.

Get my photoshop obj_icon template here. Just unzip and open in photoshop.

Included in PSD:
- Lock graphic w/ optional shadow
- Team color backgrounds (Red/Blue/Neutral)
- TF2 objective icon border
- Example custom container graphic
- Pre-setup alpha channel

And don't forget to pack your custom materials into your map's BSP for safe shipping!

Example:


In-game Example:


Example Icon VMT:

"UnlitGeneric"
{
    "$translucent" 1
    "$baseTexture" "sprites\obj_icons\icon_obj_container_neutral"
    "$vertexcolor" 1
    "$no_fullbright" 1
    "$ignorez" 1
}



PS: Hope this wasn't too hard for anyone to follow. I was writing it at 8AM after being up all night :closedeyes:
I'll try to organize it a little better some other time.
You wanna take this to Fuck Town?
Oh gadzooks, yes!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.