Problems compiling LOD models.
For the past month, I've gotten into actual modeling and further into QC and smd compiling. For a while now, I've been having some issues compiling lod models for both my custom models, and recompiled models being recompiled.(only to change the materials and model location!)
However when I do this, in the model viewer when I change to the lod model, the model vanishes! Pretty sure my lod models are correct in position and QC.
I'm using Blender to model my models, and I first thought that I was not doing something when setting up a model. (like parenting the lod to the actual model, etc) But now seeing that decompiled assets do the same, I'm starting to wonder what is wrong.
Thanks.
Skotty wrote:
Please post your QC code/LOD part.
Right, I did not post it originally, because it worked with such things like propper.
Here is the Portal 1 door that I decompiled and only recompiled to change the paths.
$cd "G:\Source\Portal2\modelsrc\bp_props"
$modelname "bp_props/Door_01_lftDoor_reference.mdl"
$model "Body" "Door_01_lftDoor_reference.smd"
$lod 40
{
replacemodel "Door_01_lftDoor_reference" "lod1_Door_01_lftDoor_reference"
}
$cdmaterials "models\bp_props"
$hboxset "default"
// Model uses material "bp_door_off.vmt"
$surfaceprop "metal"
$illumposition -0.017 -28.427 50.575
$sequence idle "idle" fps 30.00
$texturegroup skinfamilies {
{ "bp_door_off" }
{ "bp_door_on" }
}
Does not matter what it's for, it should work with a decompiled model, no? Sorry I did not put this sooner. ><
Thanks again for making me look at the material paths again as I kept thinking it was something with the model/qc. ![]()