Creating custom gibs: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 34: Line 34:
*[[Physics and Ragdolls]]
*[[Physics and Ragdolls]]
*[[Physics Entities on Server & Client]]
*[[Physics Entities on Server & Client]]
*[[Modeling props with Blender]]

Revision as of 22:03, 5 November 2007

Stub

This article or section is a stub. You can help by expanding it.

Modeling

  • Use the original model as a reference, and place gibs over it.
  • Export each gib separately

Compiling

Gibs

  • Add $autocenter

Breakable model

  • Add $collisiontext section
$collisiontext
{ 
	break { "model" "mycustomgib1" "health" "1" "fadetime" "0" } 
	break { "model" "mycustomgib1" "health" "1" "fadetime" "0" } 
}
  • break options
    • model
    • ragdoll
    • offset
    • health
    • fadetime
    • fademindist
    • fademaxdist
    • debris
    • burst
    • placementbone
    • placementattachment

See also