$collisiontext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
===offset===
===offset===
===health===
===health===
* {{confirm|overrides [[propdata]] health ?}}
* {{todo|compared to [[propdata]] health ?}}
===fadetime===
===fadetime===
===fademindist===
===fademindist===
Line 25: Line 25:
===burst===
===burst===
===placementbone===
===placementbone===
* {{todo|compared to [[$autocenter]] ?}}
===placementattachment===
===placementattachment===
* {{todo|compared to [[$autocenter]] ?}}

Revision as of 09:14, 6 May 2008

Stub

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

Tip.pngTip:Use $autocenter to ensure gibs spawn in the correct position relative to the breaking model.

QC syntax 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

  • Todo: guess: specifies the name of a ragdoll model to break into, eg when zombies get cut in half ?

offset

health

fadetime

fademindist

fademaxdist

debris

burst

placementbone

placementattachment