Source Filmmaker

Source Filmmaker

81 ratings
Using Custom TF2 War Paints in SFM
By Gigazelle
Outlines how to properly get any war paint working in SFM, including custom war paints not yet in TF2.
   
Award
Favorite
Favorited
Unfavorite
Introduction
If you're looking to showcase your own custom war paints in SFM, you've come to the right place! The overall workflow is as follows:
  1. Create a TF2 mod that replaces an existing war paint
  2. Zip up the TF2 mod and upload it to weapons.tf
  3. Obtain the .vtf file for the desired weapon from weapons.tf
  4. Import the weapon and texture into SFM
Create a TF2 mod
This guide assumes that you already have a custom war paint. If you don't but still want to follow along, feel free to use this repeating texture that I tossed together for this guide. It's downright tiny for a war paint, but it gets the job done nicely for the tutorial.









Ultimately you'll want to save the image as a .tga file. You can use several programs to accomplish this; the most common ones are Photoshop[www.adobe.com] or GIMP[www.gimp.org].

Once you have a .tga file, it is time to convert it to a .vtf file.
  1. Download and install VTFEdit.
  2. Open the program and go to File > Import
  3. Locate the .tga file, and import it.
  4. Click Save, then save it as a .vtf file (name it whatever you'd like for now).


Now that the image has been converted to a .vtf file, it can be turned into a mod for TF2.
  1. Go to https://weapons.tf and pick an existing skin that you want to overwrite with your custom creation. This step is important, because each skin has a different number of textures, and different groups for each texture. For this tutorial, we'll use Croc Dusted.
  2. When you pick a weapon and war paint, the text box in the upper left updates to provide the file structure and material names used.
  3. Determine which pattern you want to replace.
    • War paint patterns are located under materials/patterns. These are the files you want to take note of. Material names should be fairly indicative of which part of the weapon they're on.
    • Other texture files are located under materials/models/weapons. You do not need to worry about any of these.
    • Since we are using Croc Dusted for our example, the exact file location is materials/patterns/yeti/crocodiles01.vtf.
  4. Once you know the exact directory and filename, you have everything you need to proceed.


Now that we know exactly where to put the custom file for the mod, create the mod folder structure and place your .vtf pattern inside.
  1. Navigate to your TF2 custom directory under:
    <steamapps>\common\Team Fortress 2\tf\custom\
  2. Create a new folder and name it whatever you'd like. For my example, the folder name is 'silly string'. The name of this folder has no impact on the final product; it's just a way to keep track of all your mods.
  3. Recreate the folder structure seen in the material path on weapons.tf, starting with materials. Since we're replacing Croc Dusted, the full file structure should go:
    <steamapps>\common\Team Fortress 2\tf\custom\silly string\materials\patterns\yeti\
  4. Move your custom pattern .vtf file into the newly created mod destination folder.
  5. Rename your .vtf file to the pattern you want to replace it with. For my example, my .vtf file has been renamed to crocodiles01.vtf.
  6. Launch TF2 and verify you skin is working in-game!


It's an ugly skin, the image dimensions are way too small, and it's way too shiny, but it works! Hopefully your custom skin looks a lot better than mine.
Use weapons.tf to obtain a custom .vtf file
Once you've validated your skin is working in TF2, it's time to upload the mod file to weapons.tf.
  1. Navigate to your TF2 custom folder under:
    <steamapps>\common\Team Fortress 2\tf\custom\
  2. Right click on your mod folder, then click Send to > Compressed (zipped) folder. For operating systems other than Windows, use your preferred method to create a .zip folder.
  3. Go to https://weapons.tf/ and hover over the gear icon in the lower right.
  4. Click Choose File, and select your .zip folder.
  5. When you click OK, your mod file is applied to the site until you refresh the page. Pick the weapon you want to use in SFM, and the pattern you chose to replace. For this example, I'll pick the Crusader's Crossbow and the pattern Croc Dusted.
  6. If you want to "reroll" your pattern placement, click the wear grades in the upper right until you have a desirable texture.
  7. Once you're satisfied, hover over the gear icon again and click Save texture VTF.

Your texture is ready for Source Filmmaker! Here's how mine turned out:

Bringing everything together in SFM
Now that you have the combined .vtf texture for the weapon you intend to use, it's time to bring everything together into Source Filmmaker.
  1. Subscribe to All Decorated Weapons, which contains all TF2 war paint weapons with correct UV maps. Be sure to give it a thumbs up while you're on that page so others can appreciate these assets!
  2. Launch Source Filmmaker and create a new session. Confirm the download of the workshop files, and sit tight while it downloads (it's a hefty 400MB, so be patient).
  3. When SFM confirms completion of the download, navigate to
    <steamapps>\common\SourceFilmmaker\game\workshop\materials\models\decorated\
  4. Open the desired weapon folder you intend to include in your scene. Since I'm using the Crusader's Crossbow, I'll open the c_crusaders_crossbow folder.
  5. Inside this folder is a bunch of .vmt files and a single .vtf file. Replace the single .vtf file in this folder with your downloaded .vtf file from weapons.tf. Ensure the file is fully replaced and not simply added to the folder.
  6. Back in SFM, open the console (tilde key), and type
    mat_reloadallmaterials
  7. Right click the Animation Set Editor, Create animation set for new model, and locate your decorated weapon .mdl file. Add it to the scene.
  8. Right click your model > set skin > 10. You should now see your custom skin in SFM!
Concluding Thoughts
Hopefully this guide has provided some value to you! Please note that if you intend to use decorated weapons for any extended SFM projects, it is highly recommended to move all the decorated weapon workshop files from:
<steamapps>\common\SourceFilmmaker\game\workshop\materials\models\decorated\
to:
<steamapps>\common\SourceFilmmaker\game\usermod\materials\models\decorated\
This is because if the workshop submission is updated, it will overwrite and revert any textures you've placed in there.

Do you have an SFM image or video that uses custom decorated weapons? Please share them here, we'd love to see them!
18 Comments
The Real Jetpack Jackson Mar 10, 2023 @ 7:31am 
what do you do if the texture you want to replace isn't on weapons.tf? I want to replace the Hypergon texture but its not listed.
phinx Jun 11, 2022 @ 12:12am 
thank you so much bro!
the big jacket ♞ Aug 19, 2021 @ 2:38pm 
Thanks
♡~ENA~♡ Aug 3, 2021 @ 4:19pm 
I'm trying to replace Backwoods Boomstick with Jazzy, but following all the instructions in here just removes warpaints entirely from my shotgun?
marcy Jan 15, 2021 @ 4:39pm 
This doesn't work; I've followed every step and it doesn't work. Maybe make a video?
SuperAsdke Dec 10, 2020 @ 11:16am 
I cant get weapons.tf to open my zip
ror Nov 12, 2020 @ 2:38pm 
worked like a charm, thanks a lot for the guide!
meat Jun 10, 2020 @ 8:34pm 
bruh, they added this paint into the game
Bleu May 17, 2020 @ 2:32am 
https://imgur.com/7axagrv
I did it in this order but the croc duster skin doesnt change did i do something wrong?
GoldSnow9734 May 14, 2020 @ 12:12am 
Weapons.tf doesnt open my .zip file. any help?