$collisiontext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{stub}}[[Category: QC Commands]]
{{stub}}[[Category: QC Commands]]
* [[$collisiontext]] is used in a breakable model's QC file to define its gibs or ragdoll etc.
* [[$collisiontext]] is used in a breakable model's QC file to define its gibs or ragdoll etc.
* See also [[Prop Data]].
* Example :
* Example :
  [[$collisiontext]]
  [[$collisiontext]]

Revision as of 07:37, 28 March 2008

Stub

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

  • $collisiontext is used in a breakable model's QC file to define its gibs or ragdoll etc.
  • See also Prop Data.
  • Example :
$collisiontext
{ 
	break { "model" "mycustomgib1" "health" "1" "fadetime" "0" } 
	break { "model" "mycustomgib1" "health" "1" "fadetime" "0" } 
}

break options

model

  • specifies the name of the .mdl to use as a gib.

ragdoll

offset

health

fadetime

fademindist

fademaxdist

debris

burst

placementbone

placementattachment