FAForever / fa

Lua code for FAF
226 stars 232 forks source link

Fix gunships trailing behind quick units and not being able to engage them #6144

Closed Basilisk3 closed 4 months ago

Basilisk3 commented 5 months ago

Description of the proposed changes

Change the CirclingRadiusChangeMaxRatio and CirclingRadiusChangeMinRatio parameters of all relevant gunships to improve their behavior against large and fast units, naval units in particular.

All Tech 2 and Tech 3 gunships, as well as the Jester: CirclingRadiusChangeMaxRatio 0.9 --> 0.7 CirclingRadiusChangeMinRatio 0.6 --> 0.5

The SR: CirclingRadiusChangeMaxRatio 0.9 --> 0.8 CirclingRadiusChangeMinRatio 0.6 --> 0.5

How to reproduce the problem:

  1. Enable NoDamage in the console.
  2. Spawn an Exodus Class Destroyer and 10 Vulthoos.
  3. Order the Vulthoos to attack the Destroyer.
  4. Move the Destroyer away.
  5. Usually 3 to 6 gunships will follow the Destroyer without engaging it.

Additional context

Test results

Checklist

Garanas commented 5 months ago

Would be great to have this fixed 👍