• Need help with skin families!
    5 replies, posted
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 } ] Thanks.
Does clown_hatblue.vmt point to clown_hatblue.vtf?
Sometimes HLMV doesn't want to load TF2 skingroups, you should try it ingame.
ok, I tried it in-game and it doesn't work. Henry, I looked and looked a million time, and no, it doesn't.
[QUOTE=benjaminh96;26282122]ok, I tried it in-game and it doesn't work. Henry, I looked and looked a million time, and no, it doesn't.[/QUOTE] Can you post the .vmt's of the both textures? Also, you don't need to have the ".vmt" in the end when defining skinfamilies.
ok, here is the VMT for the red (first skin, default.) "VertexlitGeneric" { "$baseTexture" "models\player\items\pyro/clown_hat.vtf" "$bumpmap" "models\player\items\pyro/clown_hat_normal.vtf" "$phong" "1" "$phongexponent" "15" "$phongboost" ".1" "$lightwarptexture" "models\lightwarps\weapon_lightwarp" "$phongfresnelranges" "[2 1 5]" // "$halflambert" "1" "$basemapalphaphongmask" "1" // Rim lighting parameters "$rimlight" "1" "$rimlightexponent" "4" "$rimlightboost" "2" // Cloaking "$cloakPassEnabled" "1" "Proxies" { "weapon_invis" { } "AnimatedTexture" { "animatedtexturevar" "$detail" "animatedtextureframenumvar" "$detailframe" "animatedtextureframerate" 30 } "BurnLevel" { "resultVar" "$detailblendfactor" } "YellowLevel" { "resultVar" "$yellow" } "Equals" { "srcVar1" "$yellow" "resultVar" "$color2" } } } And for the blue: "VertexlitGeneric" { "$baseTexture" "models\player\items\pyro/clown_hat_blue.vtf" "$bumpmap" "models\player\items\pyro/clown_hat_normal.vtf" "$phong" "1" "$phongexponent" "15" "$phongboost" ".1" "$lightwarptexture" "models\lightwarps\weapon_lightwarp" "$phongfresnelranges" "[2 1 5]" // "$halflambert" "1" "$basemapalphaphongmask" "1" // Rim lighting parameters "$rimlight" "1" "$rimlightexponent" "4" "$rimlightboost" "2" // Cloaking "$cloakPassEnabled" "1" "Proxies" { "weapon_invis" { } "AnimatedTexture" { "animatedtexturevar" "$detail" "animatedtextureframenumvar" "$detailframe" "animatedtextureframerate" 30 } "BurnLevel" { "resultVar" "$detailblendfactor" } "YellowLevel" { "resultVar" "$yellow" } "Equals" { "srcVar1" "$yellow" "resultVar" "$color2" } } } Thanks guys. [editline]25th November 2010[/editline] this is such a pain.
Sorry, you need to Log In to post a reply to this thread.