You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
ValveTime.co.uk | Valve News, Forums, Steam
Hi! I've been trying to get some help on the VERC forums, without any luck. Hopefully i get some more help here :E
My problem is, i cant get gibs from a breakable model to spawn as static or dynamic models useing $collisiontext. Im making a window, and i simply want the model to be replaced with the broken model when taking damage. I got no problems getting it to spawn as a physic model, but eh thats not what i want it to.
Heres the .qc for the breakable model:
$modelname "nusr\obj_building_details\window1_glass.mdl"
$cdmaterials "models\nusr\obj_building_details"
$collisiontext {
break { "model" "nusr\obj_building_details\window1_glass_broken" "health" "10" "fadetime" "6000" "motiondisabled" "1" } //got "motiondisabled" from the window in Lost Coast
}
And the .qc for the broken model. Its like the .qc for the broken window model in Lost Coast(well decompiled):
$modelname "nusr\obj_building_details\window1_glass_broken.mdl"
$cdmaterials "models\nusr\obj_building_details"