• Make model work with prop_physics?
    2 replies, posted
Hi guys, I exported a model and it appears in hammer fine, all dandy, works in-game as a prop_static. But when I change the entity to a prop_physics it just disappears. I had this problem before, but that was with valve's models. How do I make it so that it works with prop_physics? My QC file: [CODE]// Output .MDL $modelname "jon/mod_lamp.mdl" // Directory of materials that the model uses $cdmaterials "models/jon" // Model properties // model is a static prop //$staticprop // Material properties $surfaceprop "Metal" // Scale all units by a factor of 40 $scale 5 // Base or Reference .SMD $body studio "./mod_lamp" // sequences: all sequences are in $cd $sequence idle "mod_lamp_idle.smd" loop fps 15 // Physics data $collisionmodel "mod_lamp_phys.smd" { $Mass 5 $concave} [/CODE] I tried removing "$staticprop" but that just gave me a compile error.
i know nothing about modeling, but i'm just gonna go out on a limb here and say add $physicsprop
Fuck yeah I fixed it. Adding [code] $keyvalues { prop_data { base metal.Medium } } [/code] to the QC file made it usable with prop_physics.
Sorry, you need to Log In to post a reply to this thread.