$collisiontext
From Valve Developer Community
| Table of contents |
This article is a stub. You can help by adding to it (http://developer.valvesoftware.com/w/index.php?title=%24collisiontext&action=edit).
The $collisiontext QC command is used to define a breakable model's custom gibset (generic gibs are defined by $keyvalues - prop_data - breakable_model).
Tip: Use $autocenter to ensure gibs spawn in the correct position relative to the breaking model.-
To do: is propdata also required when using $collisiontext ?
[edit]
QC syntax example
$collisiontext
{
break { "model" "mycustomgib1" "health" "1" "fadetime" "0" }
break { "model" "mycustomgib2" "health" "1" "fadetime" "0" }
}
[edit]
break options
[edit]
model
- specifies the name of the .mdl to use as a gib.
[edit]
ragdoll
-
To do: guess: specifies the name of a ragdoll model to break into, eg when zombies get cut in half ?
[edit]
offset
[edit]
health
-
To do: compared to propdata health ?
[edit]
fadetime
[edit]
fademindist
[edit]
fademaxdist
[edit]
debris
[edit]
burst
[edit]
placementbone
-
To do: compared to $autocenter's "placementOrigin" ?
[edit]
placementattachment
-
To do: compared to $autocenter's "placementOrigin" ?
Categories: Stubs | QC Commands | TODO
