Closed McDiod closed 4 years ago
I just performance tested this. There is no noticeable difference during the recording. Setup was 70 AI suppressing a target.
{
_x disableAI "COVER";
_x disableAI "AUTOCOMBAT";
_x doSuppressiveFire suppressTarget;
} forEach allUnits;
Results without improvements: https://youtu.be/ujTq0mKciVQ
Results with improvements: https://youtu.be/LHObpmmlSE8
As you can see, shots that are off target are now less likely to be saved to the replay.
Currently only the unit's first shot fired during a save interval is being tracked. This changes that so that all shots are being tracked until the first tracking of the interval is complete - meaning the first shot to land will be the one being saved.
Pros
Cons
worse performance, because multiple shots will be tracked simultaneously