Sigh modeling in HL2 gives so much troubles that I quit mapping/modeling for it since it's such a burden.
Anyway it can have numerous reasons: Bad Collision box, bad smooth grouping of the collision box, wrong coding in the QC File. Please post your QC aswel.
Here's an example of a working QC file for the model.
- Code: Select all
$modelname railings/railing01.mdl
$cdmaterials models/railings
$body studio "railing01_ref.smd"
$staticprop
$surfaceprop "metal"
$sequence idle "railing01_still.smd" loop fps 15
$collisionmodel "railing01_phys.smd" {
$concave
Here's a pic of the model:
http://i32.tinypic.com/2ut5g7k.pngRemember that when working with a model that when you make a collision box your smoothing should be put to number 2 of the collision model instead of 1 as it sometimes causes problems.
Also I made a door that doesn't drop shadow. Just make a block_light brush, tie it to the door via the naming. So that the Blocklight moves with the door and does it shit. Also turn some options off in the door moving entity.
I haven't done much mapping anymore so most of this went out of my head but try to experiment and recompiling every time that's what I did.