Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perfectly centered truck can't build factory on top of itself #4137

Open
aco4 opened this issue Nov 19, 2024 · 4 comments · May be fixed by #4141
Open

Perfectly centered truck can't build factory on top of itself #4137

aco4 opened this issue Nov 19, 2024 · 4 comments · May be fixed by #4141
Labels

Comments

@aco4
Copy link
Contributor

aco4 commented Nov 19, 2024

Before building a structure, units will get pushed out of the way. This doesn't happen if the unit is perfectly centered on the tile.

Video

In the first video (attached below), I start a game with 1 truck and try to build a factory on top of it. The truck doesn't get pushed, and the factory can't be built. I then try to build the factory 1 tile to the right. The truck gets pushed, and the factory is built:

2024-11-18.20-02-47.mp4

In the second video (attached below), I start a game with 4 trucks and try to build a factory on top of one of the trucks. It does get pushed, and I can build the factory:

2024-11-18.20-05-07.mp4

To Reproduce

Start a skirmish game with the map below. (Rename .zip to .wz)

10c-Lekiro.zip

  1. Kill 3 of the 4 starting trucks.
  2. Build a factory on top of the remaining truck
  3. The factory doesn't build.

Restart the skirmish game.

  1. Don't kill any of the 4 starting trucks.
  2. Build a factory on top of a truck
  3. The trucks get pushed and the factory is built.

Expected behavior

The truck(s) should always get pushed. If perfectly centered, choose any arbitrary direction to push the truck.

System

  • OS: Windows 11
  • Game version: 4.5.5

Additional Context

Not tested with smaller structures (e.g. research facility, bunker)

@aco4 aco4 added the Bug label Nov 19, 2024
@Monsterovich
Copy link
Contributor

I have no idea how to place a unit in the center of a building preview without using scripts.

@aco4
Copy link
Contributor Author

aco4 commented Nov 20, 2024

When you start a game, the trucks are typically centered perfectly.

@Monsterovich
Copy link
Contributor

For some reason the droid doesn't even make it onto the list of nearby droids.

@Chewbakka-Wakka
Copy link

Chewbakka-Wakka commented Nov 24, 2024

This has been known for some time, which is why AI bots have some specific code behavior to avoid it.
Good issue report. Prob best to update the AIs following.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants