Skip to content

A garrisoned structure is clearable by any area of effect weapon if the structure was entered before it was in the active map border #1287

Open
@WWB2-account

Description

@WWB2-account

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

Relates to: #1286
Garrisoned structures normally can only be cleared by dedicated weapons. If this bug is present, all weapons that deal area of effect damage (e.g. Scud Launchers, Nuke Cannons, MiGs, all radiation and toxin pools) can suddenly damage occupant of garrisons directly.

This bug is present in both vGEN and ZH. I'm uncertain if it is observed in any official retail maps, but it is certainly seen in custom and fan-made missions.

Reproduction Steps

  1. Make a map with multiple borders and garrisonable structures
  2. Script infantry to garrison a structure in a non-active map border.
  3. Now expand the map via scripts to include the garrison
  4. Attack the garrison with any AoE weapon
  5. The occupants will die

I have included maps which demonstrate the absense and presence of the bug. I recommend running the maps with scriptdebugger to see what is going on.

bordersExpandTestZH.zip

bordersExpandTestZH_noBug.zip

Additional Context

While this relates closely to issue #1286 , there is a fundamental difference: This issue only affects the specifc garrisons that are entered by infantry off-map. 1286 affects all garrisoned structures, regardless of previous active borders.

I have not tested this with Overlord Bunkers, Tunnel Networks or other types of garrisons besides civilian structures. It's worth a good look regardless

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facing⚠️ TriageIssues requiring initial review and prioritization

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions