View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004782 | Spring engine | Unit Scripting | public | 2015-05-15 17:01 | 2015-06-04 10:41 | ||||
Reporter | Godde | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 98.0.1+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004782: Units continually advance towards moving targets even when target is in range | ||||||||
Description | When 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 Reproduce | In 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 Information | The 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. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
jK (developer) 2015-06-04 10:41 |
should be fixed with https://github.com/spring/spring/commit/47bf190a1801a0490811bfd9c58ba0c4b2ac13b6 |