Skip to content

The centre of the building decide the damage done by a nuke instead of the closest edge #2301

@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

When you launch a nuke you often see mixing results when launching a nuke at small buildings like dropzones compared to big buildings like airfields. Where it looks like both buildings should die by the nuke only the small buildings actually gets destroyed.

The damage applied to buildings depends on how far the centre of the building is from the nuke explosions and not the edge of the building. Which often results in buildings like warfactories and airfields surviving while clearing taking most of the blast.

As far as I know this bug is only happening when it comes to the nuke.

So for testing purposes I gave the speakertower and the commandcenter both 5000HP and the same armour.
And see the different results in damage.

When hitting the centre both take the same amount of damage.
https://github.com/user-attachments/assets/ec685a7e-d8ac-4425-a6d0-33e9bb6166af

When having equal distance to the closest edge of the building the speaker tower take around 50% damage while the commandcenter only take 25% damage
https://github.com/user-attachments/assets/620a5006-3536-4c24-8a67-969e07e584e2

When you fire the nuke with the same distance from the centre, you will do the same amount of damage.
https://github.com/user-attachments/assets/1bbea9a2-b3a6-4078-a627-0f521001ca33

Reproduction Steps

  1. Place down 2 Buildings with the same HP and armour but 1 is a small building and 1 is a big building
  2. Fire the nuke at the centre of the building and the damage is the same for both.
  3. Fire a nuke where the nuke has the same distance to the edge of the building and the nuke explosion. Damage output is different
  4. Fire a nuke with the same distance between the centre of the building to the nuke explosion. Both buildings take the same damage again, when 1 should clearly take more damage.

Additional Context

No response

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