warzone2100
warzone2100 copied to clipboard
Units can be pushed across diagonal cliff tiles
Describe the bug Units can be pushed across diagonal impassable tiles, and be stuck.
To Reproduce Steps to reproduce the behavior:
- Download this map: https://drive.google.com/file/d/11Dg_L0XKUNV6c3s3BK7T5t7e971SfzNn/view?usp=sharing
- Start a skirmish game with this map
- Make a group of units
- Move them close to the small gap in the bottom right of the map.
- See some of the units get pushed over
Expected behavior Units should not be able to be pushed across, or they should be able to move across freely.
Screenshots or Videos https://i.imgur.com/ZCEhcVo.png In this screenshot, the mini-rocket pod and heavy machine gun tank were pushed across the small gap and are now stuck. https://i.imgur.com/GfEap5C.png FlaMe map editor view
Your System:
- OS: Linux
- Game version: 3.4.1
Additional context none
Don't have records from it, but I have been able to get single hover units stuck partially up a cliff on parts of a map without the aid of other units.
Some games fix such issues by making stuck units have more generous movement rules or a system that pushes them back out to valid space. Better to fix movement issues at its source but a fallback can make it more difficult for players to exploit movement 'anomalies' (and harder to test that there even was an issue present).
Placing units on partially passable squares is correct. Pathfinding doesn't work. You will be surprised, but the bot can send units through such passages without problems.