Creating custom gibs: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 7: Line 7:
==Compiling==
==Compiling==
===Gibs===
===Gibs===
* Add $autocenter
* Add <code>$autocenter</code>


===Breakable model===
===Breakable model===

Revision as of 19:16, 7 March 2006

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