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
<ITEMTEST_REPLACE_SKIN_OPTIONALBLOCK>
$cdmaterials "models\workshop\player\items\sniper\eye_of_the_wise_marksman\"
$cdmaterials ""
$texturegroup skinfamilies
{
{ "models/workshop/player/items/sniper/eye_of_the_wise_marksman/eye_of_the_wise_marksman.vmt" }
{ "blindfold_of_the_gifted_one.vmt" }
}
- 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