Difference between revisions of "Template:Painted variants/Tutorial"

From Team Fortress Wiki
Jump to: navigation, search
(Will continue in a few minutes.)
 
m
Line 7: Line 7:
  
 
===<code>Dxsupport.cfg</code>===
 
===<code>Dxsupport.cfg</code>===
# Navigate to this directory <code>T:\Steam\steamapps\twigslayer\sourcesdk\bin\orangebox\bin</code> (where <code>T:\</code> the folder your Steam folder resides in).
+
# Navigate to this directory <code>T:\Steam\steamapps\username\sourcesdk\bin\orangebox\bin</code> (where <code>T:\</code> the folder your Steam folder resides in).
 
# Open up <code>Dxsupport.cfg</code> in a text editor of your choice.  If you do not have this file, create it with [http://pastebin.com/8AsEWL19 this content].
 
# Open up <code>Dxsupport.cfg</code> in a text editor of your choice.  If you do not have this file, create it with [http://pastebin.com/8AsEWL19 this content].
 
# Find your graphics card within that file, if it is not listed go to the bottom and use <code>ATI Unknown</code> or <code>NVidia Unknown</code>.
 
# Find your graphics card within that file, if it is not listed go to the bottom and use <code>ATI Unknown</code> or <code>NVidia Unknown</code>.
# Add or modify the following lines in <code>Dxsupport.cfg</code>, and save it.
+
# Add or modify the following lines in <code>Dxsupport.cfg</code> - within the section for your graphics card, and save it.
 
<pre>"DxLevel" "99"
 
<pre>"DxLevel" "99"
 
"ConVar.mat_antialias" "8"
 
"ConVar.mat_antialias" "8"

Revision as of 19:20, 3 October 2010

This tutorial will document the current method of painting hats in Photoshop. Note: Please check on Template:Painted variants which hat's need to be done, and which hats have been done. Please note that the generated images may differ slightly to the hats in-game due to TF2's lighting mechanics.

Setting up HLMV

For your images to be of adequate quality for us to accept, you need to set up Half Life Model Viewer so that it generates high quality images. You can force high quality settings in your graphics cards control panel, but this does not work for some people - so I will document the alternate method.

Dxsupport.cfg

  1. Navigate to this directory T:\Steam\steamapps\username\sourcesdk\bin\orangebox\bin (where T:\ the folder your Steam folder resides in).
  2. Open up Dxsupport.cfg in a text editor of your choice. If you do not have this file, create it with this content.
  3. Find your graphics card within that file, if it is not listed go to the bottom and use ATI Unknown or NVidia Unknown.
  4. Add or modify the following lines in Dxsupport.cfg - within the section for your graphics card, and save it.
"DxLevel"	"99"
"ConVar.mat_antialias"	"8"
"ConVar.mat_forceaniso"	"8"
"ConVar.mat_picmip"	"-10"

Inside HLMV

  1. Open up Model Viewer via the Source SDK.
  2. Check (if it's not already checked) the Normal Mapping checkbox.
  3. Set the background colour to white: Options - Background Color...
  4. Full-screen HLMV (so you get a nice big image).
  5. Open up a model and ensure there is no anti-aliasing or other quality defects. If there is it's likely your graphics card is not able to render images of high enough quality.
    When generating hat images, angle the hat slightly forward and facing right (from the hats perspective). For example: File:Painted_Tough_Guy's_Toque_7D4071.png.All the painted images of should be in the same position.