Hobbiticus
11-01-2004, 05:25 PM
MPCarryable has a field called "spread" which *should* be the amount that the carryable spreads from its neighbors when thrown. However, the drop function uses a hardcoded value:
if (bSpread)
{
newVelocity.X = 500*Frand() - 250;
newVelocity.Y = 500*Frand() - 250;
newVelocity.Z = 200;
}
the 500's should be replaced with spread and the 250's should be replaced with spread/2.
Happy coding!
if (bSpread)
{
newVelocity.X = 500*Frand() - 250;
newVelocity.Y = 500*Frand() - 250;
newVelocity.Z = 200;
}
the 500's should be replaced with spread and the 250's should be replaced with spread/2.
Happy coding!