- Feb 18, 2009
- 1,239
- 2,570
Hey, I recently started figuring out the process of exporting models to source, and tf2. Now while the model imports fine, the texture never seems to come through.
Now, I'm guessing it's something in the QC file, or the shader/bitmap setup itself, as the texture is applied in 3ds.
I was told that the $cdmaterials command was supposed to point to the folder rather than the texture, but it would be nice if someone could confirm this. (The texture does not have the same name as the folder, however a VMF, and VTX files are created, so I'm not sure if that's a confirmation that the texture is found and compiled or not.
Rexy, it would be grand if your offer from a few days ago to give importing this stuff to source, and find where I went wrong a go is still open
Now, I'm guessing it's something in the QC file, or the shader/bitmap setup itself, as the texture is applied in 3ds.
Code:
$modelname "props_sel\TankBlue\TankBlue.mdl"
$cdmaterials "models\props_sel\TankBlue"
$scale 1.0
$surfaceprop "Metal"
$body "Body" "TankBlue"
$staticprop
$sequence "idle" "TankBlue_idle" fps 30
$collisionmodel "TankBlue_phys.smd"
{
$mass 100
$concave
}
I was told that the $cdmaterials command was supposed to point to the folder rather than the texture, but it would be nice if someone could confirm this. (The texture does not have the same name as the folder, however a VMF, and VTX files are created, so I'm not sure if that's a confirmation that the texture is found and compiled or not.
Rexy, it would be grand if your offer from a few days ago to give importing this stuff to source, and find where I went wrong a go is still open
Last edited: