$collisiontext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No 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.
* Example :
  [[$collisiontext]]
  [[$collisiontext]]
  {  
  {  
  break { "model" "mycustomgib1" "health" "1" "fadetime" "0" }  
  break { [[$collisiontext#model|"model"]] "mycustomgib1" [[$collisiontext#health|"health"]] "1" [[$collisiontext#fadetime|"fadetime"]] "0" }  
  break { "model" "mycustomgib1" "health" "1" "fadetime" "0" }  
  break { "model" "mycustomgib1" "health" "1" "fadetime" "0" }  
  }
  }

Revision as of 07:33, 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.
  • 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