pur3r4ge
Newbie
- Joined
- Aug 30, 2004
- Messages
- 187
- Reaction score
- 0
Hey all. I'm trying to compile a custom static prop, with an LOD model. Currently, whenever I run studiomdl, I get the following output:
My .qc file is as follows:
I have the following models in my /models/ol_deadcity/ folder:
fire_barrel.smd
fire_barrel_idle.smd
fire_barrel_phys.smd
fire_barrel_lod1.smd
Does anyone have any idea why I might be getting that error? If I comment out the $lod command from the .qc, it compiles fine, so it only gets the error when it reaches that point. I've compared against the sample .qc files and can't see a difference.
Any help would be very appreciated.
Code:
C:\Program Files\Valve\Steam\SteamApps\<email removed>\sourcesdk\bin>studiomdl
.exe C:\OffLimits\fire_barrel.qc
c:\offlimits\, c:\program files\valve\steam\SteamApps\SourceMods\offlimits\, pat
h fire_barrel
Working on "fire_barrel.qc"
SMD MODEL models/ol_deadcity/fire_barrel.smd
SMD MODEL models/ol_deadcity/fire_barrel_idle.smd
SMD MODEL models/ol_deadcity/fire_barrel_phys.smd
ERROR: Unknown replace model 'fire_barrel'
ERROR: Aborted Processing on 'ol_deadcity/fire_barrel.smd'
My .qc file is as follows:
Code:
$modelname ol_deadcity/fire_barrel.smd
$cdmaterials models/ol_debris
$staticprop
$scale 1
$body studio "models/ol_deadcity/fire_barrel"
$sequence idle "models/ol_deadcity/fire_barrel_idle.smd" fps 1
$collisionmodel "models/ol_deadcity/fire_barrel_phys.smd" {
$Mass 1000
$concave
}
$lod 100
{
replacemodel "fire_barrel" "fire_barrel_lod1"
}
I have the following models in my /models/ol_deadcity/ folder:
fire_barrel.smd
fire_barrel_idle.smd
fire_barrel_phys.smd
fire_barrel_lod1.smd
Does anyone have any idea why I might be getting that error? If I comment out the $lod command from the .qc, it compiles fine, so it only gets the error when it reaches that point. I've compared against the sample .qc files and can't see a difference.
Any help would be very appreciated.