Re: help with spread of shrapnal in a cannon like weapon
What you should do is to make the shrapnel inherit the projectiles velocity, have them gib in a spread of 3.14, and then give them a somewhat low maximum velocity, like 10-20 or so, depending on the speed of your projectile, like so:
Code:
AddGib = Gib
GibParticle = MOPixel
CopyOf = Grenade Fragment Gray
LifeTime = 100
Count = 10
Spread = 3.14
MaxVelocity = 15
MinVelocity = 0
InheritsVel = 1
Give it a shot. To make the spread wider/narrower, increase/decrease MaxVelocity. This is because of the fact that an object, that detonates in the air, doesn't have its gibs inherit the objects angle, but rather is fixed at 0, meaning horizontally to the right. This is solely due to the game engine, so there's not much we can do about that one problem. There are numerous workarounds, however.