I've got a custom model (prop_physics) into the engine, textures work fine but I have a problem with the break ability of the prop, it's metallic and has it's base set to metal but even with health settings etc it simply won't break. I have also set health in my propdata.txt (it's a mod i'm making).
I've tried using the prop_physics_override and setting a health and other settings but that still doesn't work.
This is my QC file for the model:
- Code: Select all
//QC File generated by the Wall Worm Model Tools Version 1.41
//Get the latest version and notes at:
//http://wallworm.com/projects/utilities/docs
$modelname "teleport_disc/teleport_disc.mdl"
$staticprop
$body teleport_disc "teleport_disc.smd"
$texturegroup skinfamilies
{
{ "teleport_disc_material" }
{ "teleport_disc_destination_material" }
}
$collisionmodel "teleport_disc_hull.smd" {
$automass
}
$surfaceprop "metalvent"
$cdmaterials "teleport_disc"
$sequence idle "teleport_disc" loop fps 30
$keyvalues {
"prop_data"
{
"base" "Metal.Base"
"health" "20"
"AIWalkable" "true"
"physicsmode" "0"
"dmg.club" "0.25"
"dmg.bullets" "1"
"dmg.explosive" "2.0"
"breakable_model" "MetalChunks"
}
}
This is my prop data for metal:
- Code: Select all
//=================================================================================
// METAL
//=================================================================================
// Base damage modifiers for metal objects
// DON'T USE THIS FOR A PROP. USE THE NON.BASE ONES.
"Metal.Base"
{
"dmg.bullets" "1.0"
"dmg.club" "1.0"
"dmg.explosive" "1.0"
"breakable_model" "MetalChunks"
"health" "30" // By default, metal objects aren't breakable
}
// Small metal blocks, less than 1 foot cubed
// i.e. tin cans, paint tins, metal buckets.
"Metal.Small"
{
"base" "Metal.Base"
}
// Medium metal objects.
// i.e. wheelbarrows, metal boxes, bicycles, barrels, ladders, filing cabinets.
"Metal.Medium"
{
"base" "Metal.Base"
}
// Large metal objects.
// i.e. ibeams, dumpsters, car bodies, refridgerators
"Metal.Large"
{
"base" "Metal.Base"
}
I'd really appreciate some help here as it's frustrating the hell out of me
Thanks


