Skip to content

Hearing - Remove deafness from vehicle secondary explosions#11419

Open
Dystopian wants to merge 1 commit into
acemod:masterfrom
Dystopian:hearing_remove_secondary_explosion
Open

Hearing - Remove deafness from vehicle secondary explosions#11419
Dystopian wants to merge 1 commit into
acemod:masterfrom
Dystopian:hearing_remove_secondary_explosion

Conversation

@Dystopian

Copy link
Copy Markdown
Contributor

When merged this pull request will:

  • remove deafness from vehicle secondary explosions;
  • exclude fuel (both tank fuel and cargo fuel) from the explosion power calculation;
  • fix cargo ammo in the explosion power calculation when ACE Rearm is enabled.

AFAIK, fuel does not explode when a vehicle is destroyed. It burns, but it does not produce a loud explosion.
A secondary explosion from a vehicle without ammunition is not loud enough to cause deafness. There may be occasional pops from burning tires or pneumatics, but there is no actual explosion.
Since ammunition explosions are already handled by cookoff, secondary explosion deafness should be disabled.

When ACE Rearm is enabled, getAmmoCargo returns 0 for every rearm vehicle. This causes _ammoCargoPower to be 0 as well. This is now handled by treating the value as 1 instead.

@PabstMirror PabstMirror added this to the 3.21.1 milestone Jul 9, 2026
@PabstMirror PabstMirror added the kind/change Release Notes: **CHANGED:** label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/change Release Notes: **CHANGED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants