Creating custom gibs
Jump to navigation
Jump to search
By default, a model whose propdata allows it to break when its health reaches zero, will spawn a bunch of generic gibs according to its base_type material. Whilst this saves a bit of work, it not nearly as satisfying as using a set of custom gibs that actually look like parts of your breakable model.
Modeling
- Use the original model as a reference, and place gibs over it.
- Export each gib separately
Compiling
Each gib
- Add
$autocenter
Breakable model
- Add
$collisiontext
section to the.QC
file
$collisiontext { break { "model" "mycustomgib1" "health" "1" "fadetime" "0" } break { "model" "mycustomgib2" "health" "1" "fadetime" "0" } }
- break options
- model
- ragdoll
- offset
- health
- fadetime
- fademindist
- fademaxdist
- debris
- burst
- placementbone
- placementattachment