$collisiontext: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Tip:Use $autocenter to ensure gibs spawn in the correct position relative to the breaking model.
		
	
mNo edit summary  | 
				m (→fadetime)  | 
				||
| Line 24: | Line 24: | ||
* {{todo|compared to [[propdata]] health ?}}  | * {{todo|compared to [[propdata]] health ?}}  | ||
===fadetime===  | ===fadetime===  | ||
{{todo|guess: the time that passes before the gib fades}}  | |||
===fademindist===  | ===fademindist===  | ||
===fademaxdist===  | ===fademaxdist===  | ||
Revision as of 13:40, 13 October 2008
The $collisiontext QC command is used to define a breakable model's custom gibset (generic gibs are defined by $keyvalues - prop_data - breakable_model).
- Todo: is propdata also required when using $collisiontext ?
 
QC syntax example
$collisiontext { break { "model" "mycustomgib1" "health" "1" "fadetime" "0" } break { "model" "mycustomgib2" "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
- Todo: compared to propdata health ?
 
fadetime
Todo: guess: the time that passes before the gib fades
fademindist
fademaxdist
debris
burst
placementbone
- Todo: compared to $autocenter's "placementOrigin" ?
 
placementattachment
- Todo: compared to $autocenter's "placementOrigin" ?