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.