efter
Newbie
- Joined
- Feb 8, 2006
- Messages
- 41
- Reaction score
- 0
I have some prop_physics models I wish to compile with LOD models, but every time I try I get this error.
ERROR: Unknown replace model w_oster000.
I have tried everything I can think of, and searched the forums, nothing has worked.
If I simply remove the $lod related lines from the .qc the model compiles just fine.
Here is my .qc as it is right now.
$modelname "efter\w_oster000.mdl"
$scale 0.45
$cdmaterials "models"
$body "Body" "E:\Program Files\Valve\Steam\SteamApps\efter0\half-life 2 deathmatch\hl2mp\materials\efter\models\w_oster000_ref.smd"
$sequence "Idle" "E:\Program Files\Valve\Steam\SteamApps\efter0\half-life 2 deathmatch\hl2mp\materials\efter\models\w_oster000_ref.smd" fps 15 ACT_IDLE 1
$collisionmodel "E:\Program Files\Valve\Steam\SteamApps\efter0\half-life 2 deathmatch\hl2mp\materials\efter\models\w_oster000_col.smd" {
$concave
$mass 100.000
}
$surfaceprop "metal"
$keyvalues {
"prop_data" {
"base" "Metal.Medium"
}
}
$lod 0
{
replacemodel "w_oster000" "w_oster000"
}
$lod 20
{
replacemodel "w_oster000" "lod1_w_oster000"
}
I have also tried placing the $lod lines earlier in the .qc, ahead of the $body line, but I get the same results, an error.
In this case "w_oster000" is my high poly model smd, and "lod1_w_oster000" is my low poly smd. Both smd's will compile into their own individual models just fine with their own .qc's so I surmise there is no problem with my smd's.
Can anyone help me?
ERROR: Unknown replace model w_oster000.
I have tried everything I can think of, and searched the forums, nothing has worked.
If I simply remove the $lod related lines from the .qc the model compiles just fine.
Here is my .qc as it is right now.
$modelname "efter\w_oster000.mdl"
$scale 0.45
$cdmaterials "models"
$body "Body" "E:\Program Files\Valve\Steam\SteamApps\efter0\half-life 2 deathmatch\hl2mp\materials\efter\models\w_oster000_ref.smd"
$sequence "Idle" "E:\Program Files\Valve\Steam\SteamApps\efter0\half-life 2 deathmatch\hl2mp\materials\efter\models\w_oster000_ref.smd" fps 15 ACT_IDLE 1
$collisionmodel "E:\Program Files\Valve\Steam\SteamApps\efter0\half-life 2 deathmatch\hl2mp\materials\efter\models\w_oster000_col.smd" {
$concave
$mass 100.000
}
$surfaceprop "metal"
$keyvalues {
"prop_data" {
"base" "Metal.Medium"
}
}
$lod 0
{
replacemodel "w_oster000" "w_oster000"
}
$lod 20
{
replacemodel "w_oster000" "lod1_w_oster000"
}
I have also tried placing the $lod lines earlier in the .qc, ahead of the $body line, but I get the same results, an error.
In this case "w_oster000" is my high poly model smd, and "lod1_w_oster000" is my low poly smd. Both smd's will compile into their own individual models just fine with their own .qc's so I surmise there is no problem with my smd's.
Can anyone help me?