2025-07-18 02:37 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006387Spring engineGeneralpublic2020-07-04 17:31
Reporterraaar 
Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionno change required 
Product Version104.0 +git 
Target VersionFixed in Version104.0 +git 
Summary0006387: 104.0+ | fighter aircraft attack runs sometime go way past the target and even refuse to turn if ordered to move
DescriptionFighter aircraft are hard to control even if given high maneuverability attributes. One of the main reasons for this is that when they're doing an attack run they'll often keep going past the target and refuse to turn even if manually ordered to move somewhere else.

this is a very old problem. It makes controlling "strafeairmovetype" aircraft a pain and often developers won't even maneuverable add high weight ones to their games.
Steps To Reproducespawn a series of spaced "target" units along a direction, then spawn "aven_falcon" fighter and order it to attack the closest "target" along that same direction.

It has a belly turret that keeps firing its lasers at the targets as they come into range and may refuse to turn when ordered and just prolong his attack run way past the original target.
Additional InformationThere's a place on the code here where the unlocking of maneuvers seems tied to the passing of time since the frame where the fighter last fired its weapon

https://github.com/spring/spring/blob/develop/rts/Sim/MoveTypes/StrafeAirMoveType.cpp#L824
TagsNo tags attached.
Checked infolog.txt for ErrorsIrrelevant
Attached Files

-Relationships
+Relationships

-Notes

~0020445

Kloot (developer)

the very line of source code that you quoted references a variable called "maneuverBlockTime", and guess how you can change its value? could it be that you just have to use Lua?

also: read the changelog (https://github.com/spring/spring/blob/develop/doc/changelog.txt#L278) before creating a duplicate issue (0005652) next time.
+Notes

-Issue History
Date Modified Username Field Change
2020-05-05 23:51 raaar New Issue
2020-07-04 17:31 Kloot Status new => closed
2020-07-04 17:31 Kloot Resolution open => no change required
2020-07-04 17:31 Kloot Fixed in Version => 104.0 +git
2020-07-04 17:31 Kloot Note Added: 0020445
+Issue History