You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2022. It is now read-only.
resolution_fixedtype_bug | by Adam Olsen <rhamph+warzone@...>
The target prediction code assumes all projectiles use a constant speed. Normally this is true, but artillery varies its speed to maintain a ballistic trajectory at longer ranges.
This patch uses sqrt(dist)/30 as a flight time predictor. This is totally a guess and a bodge, but seems fairly effective.
The prediction is still fairly naïve in a number of ways:
slight turning motions throw it out
slight hills throw it out, due to speed changes
despite hills affecting speed, it doesn't actually aim any higher, so it can quite easily miss a unit climbing a steep hill
Issue migrated from trac:374 at 2022-04-15 18:08:07 -0700