Data Realms Fan Forums http://45.55.195.193/ |
|
Gib problem http://45.55.195.193/viewtopic.php?f=1&t=16360 |
Page 1 of 1 |
Author: | Arnkh [ Wed Aug 26, 2009 4:53 pm ] |
Post subject: | Gib problem |
I am trying to convert flak cannon so it's shell will gib into dropship door (attempts to make it shoot the darn door itself end messily because of it's mass as I figured out), so I CAN HAS REVENGE on all the dropships. :E Incredibly, I even made it so far that CC loads (which almost never happened before when I tried to "mod" something ), and the shell actually gibs into the dropship door. But this is where the troubles begin: it doesn't fly where I intend it to fly, i.e. where the shell was flying. Instead, it always flies to the right (which again ended messily first time I tried to shoot horizontally to the left >_<). So my question is: what the... ugh... what am I doing wrong, and how do I fix this weird behaviour? |
Author: | Shook [ Wed Aug 26, 2009 5:03 pm ] |
Post subject: | Re: Gib problem |
Well, there's a few things you need to do. We'll look at this example gib code: Code: AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 1 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 To ensure that the spark flies at the same direction as the object that spawned it, it needs to look like this: Code: AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 1 Spread = 0 <-- MaxVelocity = 0.001 <-- MinVelocity = 0 <-- And that's about it, really. Max velocity is 0.001 because i have bad experiences with it being 0. Also, be sure to not include the arrows. If you have something that says "InheritsVel = 0", then remove that line, as it makes the gib not inherit the objects velocity. |
Author: | Arnkh [ Wed Aug 26, 2009 5:06 pm ] |
Post subject: | Re: Gib problem |
Hooray, it works now! Thank you! |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |