Creating custom gibs: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Compiling) |
||
Line 18: | Line 18: | ||
{ | { | ||
break { "model" "mycustomgib1" "health" "1" "fadetime" "0" } | break { "model" "mycustomgib1" "health" "1" "fadetime" "0" } | ||
break { "model" " | break { "model" "mycustomgib2" "health" "1" "fadetime" "0" } | ||
} | } | ||
Revision as of 09:09, 6 May 2008
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