Skip to content

Buildings sometimes generate impassable cells blocking building placements and messes up unit behaviour #2158

@DrGoldFish1

Description

@DrGoldFish1

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

Placing down buildings should only really generate 2 types of cells, but sometimes if the conditions are right it generates a new type of tiles called pinched cells, these cells don`t behave like the other 2 just blocking pathfinding.
This cell does not allow the player to build a construction on this exact cell, even when there is clear space for it.

Image Image

These green cells also don`t allow a player to move units on this exact cells since it would show the unable to move there cursor.
If a worker or dozer is standing on these cells and you want to place down a building it will say that it is unable to do so. Forcing the player to move the worker off these cells in order for the players to place down the scaffold.

Image

Reproduction Steps

  1. Run a debug build
  2. Place buildings close to each other to generate these cells more effectively.
  3. Try to place a building on these cells, will not allow you
  4. Try to move a unit on these cells, will show the unable to move there cursor
  5. Get a worker next to a building a try to place another building next to it to try and get those cells to generate under the worker.
  6. Try to place a scaffold when a worker is on 1 of these cells. Will not allow you.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facingMinorSeverity: Minor < Major < Critical < Blocker

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions