View Issue Details

IDProjectCategoryLast Update
0023641AI War 2Bug - GameplaySep 24, 2020 6:05 pm
ReporterOzoneGrif Assigned Tokeith.lamothe  
Severitymajor 
Status resolvedResolutionfixed 
Product Version2.130 Redux: Dutch Cities and Softer Eyeballs 
Fixed in Version2.509 Melee, Stacks, And Fireteams 
Summary0023641: Meele Ships return to original position after a move order
DescriptionKeith did a fix here: https://bugtracker.arcengames.com/view.php?id=21903#c58027

How to reproduce:
- Create a new game with the Consumer Fleet
- Wait for the fleet to construct a few ships
- Press [1] to select the fleet and its ships
- Click anywhere in the map
== The fleet and ships moves to the point clicked, then all the melee ships return to the original spot

You can try with just one ship, it will have the same issue.x
This issue disappears after using [Attack Mode], but I have the feeling that's because it breaks the desired behavior.
If you destroy the ship then rebuild it, the new ship will have the issue again.

Current behavior:
- Melee ships return to their original positions after given a direct order, they attack enemies on sight without limitation of distance.
- They do not return to their original positions after some conditions (like switching to attack mode once and returning to normal mode), they also stop attacking enemies on sight (the behavior is broken).
- In attack mode, they attack enemies on sight and do not return to their original positions (this is intended).

Desired behavior when in normal mode:
- Melee ships should always attack enemies on sight, but never farther than their [original position] + [attack distance]
- Melee ships should return to their original position only if they decide to attack enemies on their own, and if the enemy is destroyed or moves too far from the original position.
- They should never fight direct orders given by the player.

Desired behavior when in attack mode:
- Melee ships should attack enemies on sight without limitation of distance and won't return to their original position
- They should never fight direct orders given by the player (attack move sometimes makes things tricky with other units as well).
TagsNo tags attached.

Activities

keith.lamothe

Sep 24, 2020 6:05 pm

administrator   ~0058663

(adding this after the fact, just saw this posting of the issue)

For 2.509:

* Fixed some issues with the new-ish melee unit behavior of flying out to attack nearby enemies when otherwise idle:
** Fixed a bug where a melee unit would go back to its prior location after a direct order from the player (like a normal move order).
** Fixed a bug where a melee unit's memory of where to go back to after no targets were in range would persist across wormhole jumps (causing it to try to go to that location on the new planet, which doesn't make sense).
** Fixed a bug where melee units wouldn't use their implicit attack-move behavior if their internal behavior flag had been changed away from default and then back. So new melee units would use the behavior, but ones that had been around for a while often would not.

Thanks :)

Issue History

Date Modified Username Field Change
Sep 4, 2020 12:35 am OzoneGrif New Issue
Sep 4, 2020 12:37 am OzoneGrif Description Updated
Sep 4, 2020 12:38 am OzoneGrif Description Updated
Sep 4, 2020 12:39 am OzoneGrif Description Updated
Sep 4, 2020 12:42 am OzoneGrif Description Updated
Sep 24, 2020 6:05 pm keith.lamothe Assigned To => keith.lamothe
Sep 24, 2020 6:05 pm keith.lamothe Status new => resolved
Sep 24, 2020 6:05 pm keith.lamothe Resolution open => fixed
Sep 24, 2020 6:05 pm keith.lamothe Fixed in Version => 2.509 Melee, Stacks, And Fireteams
Sep 24, 2020 6:05 pm keith.lamothe Note Added: 0058663