$collisiontext: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div style="float:right;padding:0 1em;background:#FFF;">__TOC__</div> | |||
{{stub}}[[Category: QC Commands]] | {{stub}}[[Category: QC Commands]] | ||
* [[$collisiontext]] is used in a breakable model's QC file to define its gibs | * [[$collisiontext]] is used in a breakable model's QC file to define its ''custom'' gibs (''generic'' gibs are defined by [[Prop Data#Gibs|$keyvalues - prop_data - breakable_model]]). | ||
== QC syntax example == | |||
[[$collisiontext]] | [[$collisiontext]] | ||
{ | { | ||
Line 13: | Line 14: | ||
* specifies the name of the .mdl to use as a gib. | * specifies the name of the .mdl to use as a gib. | ||
===ragdoll=== | ===ragdoll=== | ||
* {{todo|'''guess''': specifies the name of a ragdoll model to break into, eg when zombies get cut in half ?}} | |||
===offset=== | ===offset=== | ||
===health=== | ===health=== |
Revision as of 16:31, 1 April 2008
- $collisiontext is used in a breakable model's QC file to define its custom gibs (generic gibs are defined by $keyvalues - prop_data - breakable_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 ?