Difference between revisions of "Talk:Creating custom gibs"

From Valve Developer Community
Jump to: navigation, search
Line 12: Line 12:
 
----
 
----
  
Two questions:
+
1) I am looking to give my gibs more spread, currently they spawn in one heap where the original object is. Would burst give them a larger range, and how would I call it? (burst "5" ?) --[[User:Rayne|Rayne]] 13:38, 21 May 2008 (PDT)
1) I am looking to give my gibs more spread, currently they spawn in one heap where the original object is. Would burst give them a larger range, and how would I call it? (burst "5" ?) | 2) Only one instance of each gib is spawning, how could I spawn multiples of types A&B while still keeping C&D unique?
+
: Sounds like a good plan; well worth a try. For syntax see [[$collisiontext]]. If it works please add a note of your observations to that page ;-)--[[User:Beeswax|Beeswax]] 08:01, 23 May 2008 (PDT)
 +
 
 +
2) Only one instance of each gib is spawning, how could I spawn multiples of types A&B while still keeping C&D unique?
 
--[[User:Rayne|Rayne]] 13:38, 21 May 2008 (PDT)
 
--[[User:Rayne|Rayne]] 13:38, 21 May 2008 (PDT)
 +
: I guess if you just repeated your <code>break {"model" "gibs/gibA" ...}</code> line in the [[$collisiontext]] you'll get two gibA's spawning in the same place... you might get away with that. Otherwise you might try the $collisiontext "offset" parameter on one of them ? (probably XYZ coords from either model $origin or the gib.mdl's position). Again, if it works please share ;-) --[[User:Beeswax|Beeswax]] 08:01, 23 May 2008 (PDT)

Revision as of 15:01, 23 May 2008

I'm not having much luck getting my gibs to work. The models are valid and can be spawned directly, but won't appear when the prop is destroyed. The QC:

$collisiontext
{
	break { model "props_escape/plate_gibs-small" placementattachment placementOrigin health 1 fadetime 0 }
	break { model "props_escape/plate_gibs-big" placementattachment placementOrigin health 1 fadetime 0 }
}

It's nothing to do with the lack of quote marks. :-) --TomEdwards 10:06, 19 Nov 2007 (PST)

I have no idea what I did, but it's now working. --TomEdwards 13:18, 19 Nov 2007 (PST)
You're talking to yourself mate. ;-) (Keep us posted) --wisemx 15:57, 19 Nov 2007 (PST)

1) I am looking to give my gibs more spread, currently they spawn in one heap where the original object is. Would burst give them a larger range, and how would I call it? (burst "5" ?) --Rayne 13:38, 21 May 2008 (PDT)

Sounds like a good plan; well worth a try. For syntax see $collisiontext. If it works please add a note of your observations to that page ;-)--Beeswax 08:01, 23 May 2008 (PDT)

2) Only one instance of each gib is spawning, how could I spawn multiples of types A&B while still keeping C&D unique? --Rayne 13:38, 21 May 2008 (PDT)

I guess if you just repeated your break {"model" "gibs/gibA" ...} line in the $collisiontext you'll get two gibA's spawning in the same place... you might get away with that. Otherwise you might try the $collisiontext "offset" parameter on one of them ? (probably XYZ coords from either model $origin or the gib.mdl's position). Again, if it works please share ;-) --Beeswax 08:01, 23 May 2008 (PDT)