2025-07-21 09:11 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004782Spring engineUnit Scriptingpublic2015-06-04 10:41
ReporterGodde 
Assigned TojK 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version98.0.1+git 
Target VersionFixed in Version 
Summary0004782: Units continually advance towards moving targets even when target is in range
DescriptionWhen a unit has an attack order on a target and that target is driving away the unit will start to chase the enemy no matter the distance between the units.

This is especially bad for units in Spring 1944 as they lose accuracy when moving.

When units chase an enemy they will drive in parallel to the target. This causes problems for units with a limited fire-arc such as turretless tanks in Spring 1944 and gunships in Zero-K as they will not face directly at the target and will therefore not be able to fire at the target all the time.
Steps To ReproduceIn Spring: 1944 dev-test-3723-a4b3876

Add 2 Null AIs

/cheat
/godmode
/spectator
/give germarder 0
/give germarder 1

Turn both units to hold position, roam or maneuver. It doesn't matter.

Order the units to attack each other. Select one unit. Drive close to the other unit and then continue past it. The attacker will start to chase as soon as the mover is moving away from the attacker. If the attacker is facing the wrong way, the attacker might even be chasing the target driving in reverse.
Additional InformationThe old behavior in quite a few versions ago was that the unit would only start chasing the target if it was about outside 70% of the weapon range and the chaser would not drive in parallel while chasing.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0014538

jK (developer)

should be fixed with https://github.com/spring/spring/commit/47bf190a1801a0490811bfd9c58ba0c4b2ac13b6
+Notes

-Issue History
Date Modified Username Field Change
2015-05-15 17:01 Godde New Issue
2015-06-04 10:41 jK Note Added: 0014538
2015-06-04 10:41 jK Status new => resolved
2015-06-04 10:41 jK Resolution open => fixed
2015-06-04 10:41 jK Assigned To => jK
+Issue History