Home Contests & Challenges Archives Team Fortress 2

How to test styles?

polycounter lvl 18
Offline / Send Message
EmAr polycounter lvl 18
I decided to add a new style to one of my items. I think I should have properly working skins now but I don't know how to test them. Is there a console command with which I can attach an item with a specific style to a bot? Here's what I've done so far:

- Compiled my model with a single style and unzipped the zip file

- Created the required additional .vtf and .vmt files and placed them in my unzipped folder in this path:

game\materials\models\workshop\player\items\sniper\eye_of_the_wise_marksman

- Also added the .tga files into the "content" part of the zip file

- Added skin block to the .qc file in the item importer
  1.  
  2. <ITEMTEST_REPLACE_SKIN_OPTIONALBLOCK>
  3.  
  4. $cdmaterials "models\workshop\player\items\sniper\eye_of_the_wise_marksman\"
  5. $cdmaterials ""
  6. $texturegroup skinfamilies
  7. {
  8. { "models/workshop/player/items/sniper/eye_of_the_wise_marksman/eye_of_the_wise_marksman.vmt" }
  9. { "blindfold_of_the_gifted_one.vmt" }
  10. }
- Recompiled the model

- Took the new compiled model files and placed them both into the unzipped folder and the steam folder:

Steam\SteamApps\common\Team Fortress 2\tf\models\workshop\player\items\sniper\eye_of_the_wise_marksman

- Placed the .vmt and .vtf files into their corresponding steam folder as well

- Zipped the file back and placed it in the original folder

Any help is much appreciated, thanks for looking :)
Sign In or Register to comment.