Home Technical Talk

Help me with TF2 model compiling, i have the dumb

The Asylum
polycounter lvl 10
Offline / Send Message
The Asylum polycounter lvl 10
So it's like this: I got an SMD of a belt model, and two animations for it, idle.smd and spin.smd

I also got six skins (named skin0, skin1, etc) and a spec mat(named TF2Belt2Spec), all in PNG format

With GUIStudio2.2, I compiled the model with this qc:

$staticprop // This means it will be usable as a static prop
$modelname "props_meleefort\belt" // this is where the model will be saved and under what name
$model "body" "belt.smd" // this is the .smd you exported earlier
$cdmaterials "models\props_meleefort\" // this is the texture directiory, relative to materials/
$surfaceprop "plastic" // what material it's made from (for footsteps, bullet decals)
$sequence idle "idle.smd" loop fps 10.00 // default animation (every model needs one)
$sequence spin "spin.smd" loop fps 10.00

The model (aptly named belt.mdl) is in tf\models\props_meleefort.

The skins I ran through VTFEdit, as a Volume texture, and put them in tf\materials\models\props_meleefort

The belt model shows up fine. The spin animation doesn't though, and neither do the textures

IDK what to do. halp pls
Sign In or Register to comment.