warzone2100
warzone2100 copied to clipboard
Units occasionally move to point-blank range
Describe the bug When units are told to attack, they will occasionally move to extremely close range instead of simply attacking from their current position.
To Reproduce Steps to reproduce the behavior:
- Select one (or many) unit(s).
- Order them to attack any target.
- Notice how some of them will likely approach to extremely close ranges to attack.
Expected behavior Units ordered to attack should attack their targets at the ranges specified by their weapons and by the orders menu.
Screenshots or Videos
Some Machingun Viper Wheels ordered to attack a scavenger tower, notice how two of them have essentially rammed the tower.
Your System:
- OS: Windows 7
- Game version: 3.4.1
Confirmed. Very annoying on low oil.
Or when the enemy is using flamers.
I've been able to reproduce this reliably by ordering units to attack (that are either set to short range, or are set to optimum range with weapons that are more accurate at short range) outside of their short range distance. So for example:
This Assault Gunner Cyborg (set to short range) is ordered to attack the truck to the left. Since the cyborg is currently beyond it's "short range" distance, it will fire at the truck while constantly moving towards it, not stopping until it's basically hugging it.
This time, the same cyborg is ordered to attack while already within it's "short range" distance, it will properly not move closer and simple shoot from where it is.