Need help with skin families!

benhenry96

L1: Registered
Sep 21, 2010
29
19
Hey guys, I need some help really bad.
I just made a hat, and the skin families are not working.
whenever I view it in model viewer alone, I change the skin and it reverts to the original texture.
I don't know if it is a syntax error or what... help me please!
here is my .qc

$cd "C:\Program Files (x86)\Steam\steamapps\benhenry96\team fortress 2\tf\models\player\items\pyro\decompiled\Clown_hat "
$modelname "player\items\pyro\attendant.mdl"
$model "Body" "attendant.dmx.smd"
$cdmaterials "models\player\items\pyro\"
$texturegroup skinfamilies
{
{ "clown_hat.vmt" }
{ "clown_hatblue.vmt" }
}

$hboxset "default"
$hbox 0 "bip_head" -4.193 -11.071 -3.872 4.347 0.000 5.724
// Model uses material "models/player/items/pyro/attendant.vmt"
$surfaceprop "cloth"
$illumposition 3.725 0.077 74.025
$sequence idle "idle" loop fps 30.00
$collisionmodel "phymodel.smd"
{
$mass 21.7
$inertia 1.00
$damping 0.00
$rotdamping 0.00
}
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
Random ideas to try from the blind leading the blind:
  • Removing the ".vmt" extension, ex. "clown_hat"
  • Removing the trailing slash for the $cdmaterials value
  • Changing DOS-style \ slashes into UNIX-style / slashes in places (like $cdmaterials)
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Put the $texturegroup section right after $body.
 

Rexy

The Kwisatz Haderach
aa
Dec 22, 2008
1,798
2,533
Open your .smd in notepad and paste the first 20 lines here.