Can you expand on this? Does this mean that more Gs and higher speed mean less chance of being hit?
I'm not sure I can because the above is fairly self evident but Ill try.
The system starts with a fixed dimension cuboid, and randomly creates flack bursts inside.
Your plane is positioned at the center of this cuboid.
As you fly faster that cuboid gets bigger.
As you fly father away the cuboid gets bigger.
As you turn harder the cuboid gets bigger.
There idea that a p51 gets target more is simply insane.
Here is the code that chooses a flacks target.
Note the bbs removed the i index after after the word CollideList
for(i=0;i<Cnt;++i)
{
if(CollideList->ObjectClass == obOC_BAD_GUY_OBJECT ||
CollideList->ObjectClass == obOC_USER_OBJECT ||
CollideList->ObjectClass == obOC_USER_DRONE ||
CollideList->ObjectClass == obOC_WEAPON)
{
if(bgclntGetObjectModelType(CollideList) == 32)//Hack for sheep
continue;
#ifndef syscfgAUTO_TESTING
if(AutoGun->ParentObject->Country != CollideList->Country)
#endif
{
maSUB_POINTS(Vec,AutoPnt,CollideList->Pnt);
if(fabs(Vec.y) < _MIN_FLAK_ALT)
{
continue;
}
DistSqr = maVEC_LENGTH_SQR(Vec);
if(DistSqr < MinDistSqr)
{
MinDistSqr = DistSqr;
NewTargetObject = CollideList;
}
}
}
}
HiTech