prop_dymanic - how do I setup my .qc file?

Joined
Feb 21, 2005
Messages
304
Reaction score
0
Hi, first post. I Made my own animated dynamic model but it does not work ingame. I would like to know what I need to include in the .qc file to make it work as a prop_dynamic. Also, in the hlmv It is not showing the collision model I included, and I know I setup te .qc $collisionmodel line correctly. Am I supposed to export (from 3dsmax) the collision model without it being bound to the skeleton, and am I supposed to leave each element of the collision model in its own editable_mesh? Thank you for all your help.

-Swiss
 
take off $staticprop if its there. ur physics model should be bound to skeleteon, but each convex hull should be its own editable mesh. u need a texture on the collision model and uvmaps also.
 
That Didnt Work Either!

sorry, that didn't work either. I already had a texture on my physics model, not the same as teh reference model, but when I corrected it as per your instructions my damn collision model is still screwed up. here is my QC file

$modelname pumpkin/pumpkin.mdl
$cdmaterials models/pumpkin
$scale 1
$body studio "pumpkin.smd"

$sequence idle "pumpkin_idle" loop fps 30 ACT_IDLE 1

$sequence idle2 "pumpkin_idle2" loop fps 30

$surfaceprop "glass"

$keyvalues { "prop_data" { "base" "glass.small" } }


$collisionmodel "pumpkin_phys.smd" {
// Mass in kilograms
$mass 200.0
$concave

}
 
tell me what exactly is going wrong with it ingame. is it not showing up at all? or what.
more details needed
 
Back
Top