Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vanilla Bug] Explosion_Damage deals damage at ground level regardless of explosion Z coordinate #1150

Open
3 tasks done
Rampastring opened this issue Nov 9, 2024 · 0 comments
Labels
vanilla-bug Something isn't working in the original game

Comments

@Rampastring
Copy link
Member

First Check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, debug and exception logs, etc).

Description

Now that Vinifera has rockets, this issue is particularly important, as this bug often makes rocket interception pointless.

Warheads that are detonated mid-air (like rockets that are shot down, or even just SAM missiles hitting flying aircraft) also cause damage to objects on the ground, regardless of the height level that the explosion happens at.

Required Code (optional)

No response

Steps To Reproduce

Have a high-flying rocket target a building that is protected by anti-air coverage.

Expected Behaviour

The rocket is shot down as it descends on the building, dealing no damage.

Actual Behaviour

If the rocket has reached a cell of the targeted building so that it is above the building while shot down, the building receives damage regardless of the rocket's flight level.

Additional Context

This can also be reproduced by simply telling aircraft to force-move on top of an enemy building in Tiberian Sun. As enemy anti-air defenses fire at your aircraft (that are on top of the enemy building), the building also receives damage.

@Rampastring Rampastring added the vanilla-bug Something isn't working in the original game label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vanilla-bug Something isn't working in the original game
Projects
None yet
Development

No branches or pull requests

1 participant