Skip to content

bugfix: Rocket Buggy missiles now deal damage consistently - #193

Open
Stubbjax wants to merge 1 commit into
TheSuperHackers:mainfrom
Stubbjax:fix-inconsistent-rocket-buggy-damage
Open

Stubbjax wants to merge 1 commit into
TheSuperHackers:mainfrom
Stubbjax:fix-inconsistent-rocket-buggy-damage

Conversation

@Stubbjax

@Stubbjax Stubbjax commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

This change fixes an issue where the Rocket Buggy missile's primary damage was not being consistently applied to various targets.

Overlapping object radii trigger a collision, but the Rocket Buggy missile's PrimaryDamageRadius of 0 is smaller than its GeometryMajorRadius of 2. Because the damage calculation can fall outside of the target’s collision bounds, targets may register only 5 damage instead of the expected 20.

This issue mainly affects circular geometry and has relatively little to no impact against most units and buildings. A PrimaryDamageRadius of 2 to match the GeometryMajorRadius is prioritised over the typical 5 of other rocket weapons to minimise impact elsewhere.

The below image represents a Rocket Buggy missile that has overlapped and thus collided with a Tunnel Network, however the primary damage is only applied at the exact centre of the missile, which is outside the Tunnel's collision bounds.

image

Before

Two Rocket Buggies take vastly different times to destroy a Tunnel Network

BEFORE.mp4

After

Damage is now always consistent

AFTER.mp4

@Stubbjax Stubbjax self-assigned this Sep 25, 2026
@Stubbjax Stubbjax added Bug Something isn't working Buff Makes a thing more powerful Gen Relates to Generals GLA Affects GLA faction Major Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour labels Sep 25, 2026
@xezon

xezon commented Sep 25, 2026

Copy link
Copy Markdown

Does this also fix the issue where the out-of-reach Reinforcement Pad is not hit? There is a bug report for it in Patch 1.

@Stubbjax

Copy link
Copy Markdown
Contributor Author

Does this also fix the issue where the out-of-reach Reinforcement Pad is not hit? There is a bug report for it in Patch 1.

That is more closely related to TheSuperHackers/GeneralsGamePatch#1700. I have a fix at Stubbjax/fix-fuel-depleted-rocket-destruction but need to get back to testing it.

@xezon

xezon commented Sep 25, 2026 •

Copy link
Copy Markdown

Are there other missiles where the PrimaryDamageRadius is smaller than the missile geometry?

Maybe in Code we could also add a DEBUG_LOG for this setup mistake.

@xezon xezon left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@Stubbjax
Stubbjax force-pushed the fix-inconsistent-rocket-buggy-damage branch from 7f5590e to 7576c6f Compare September 25, 2026 10:16
@Stubbjax

Copy link
Copy Markdown
Contributor Author

Are there other missiles where the PrimaryDamageRadius is smaller than the missile geometry?

I added your log suggestion to the code which detected the following cases:

  • BuggyRocketWeapon
  • CINE_BuggyRocketWeapon
  • BuggyRocketWeaponUpgraded
  • GC_Slth_GLAJarmenKellRifle
  • BuggyRocketREDWeapon

I've added BuggyRocketREDWeapon to this change and will open a code PR for the logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Buff Makes a thing more powerful Bug Something isn't working Gen Relates to Generals GLA Affects GLA faction Major Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants