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

[BUG] MBF21: Player takes RadiusDamage from projectile in same splash group #2576

Open
1 task done
mdecalza opened this issue May 18, 2024 · 2 comments
Open
1 task done
Labels

Comments

@mdecalza
Copy link

mdecalza commented May 18, 2024

GZDoom version

GitHub version 4.12.2

Which game are you running with GZDoom?

Doom 2

What Operating System are you using?

None

Please describe your specific OS version

Windows 10 Home

Relevant hardware info

No response

Have you checked that no other similar issue already exists?

  • I have searched and not found similar issues.

A clear and concise description of what the bug is.

In GZDoom g4.12.2, the player takes damage when firing the shotgun replacement in this wad: intercep3_res.wad

The custom projectiles and the player each have the same splash group in the Dehacked file, so they shouldn't hurt the player:
splash group = 0

Oddly, the splash damage doesn't take effect on projectile spawn, but if the player catches up to the projectile or stands near as it hits a wall, they will take unintended splash damage. Enemies on the other hand take very little splash damage from the fireballs. In other MBF21 ports (Woof! and DSDA), the monsters take all the splash damage while the player is immune as intended.

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Load GZDoom with intercep3_res.wad.
  2. Boot up any map and type IDFA.
  3. Switch to the shotgun. It now fires fireball projectiles.
  4. Fire the shotgun at a wall or run towards the projectile (using turbo helps).
  5. The player will take splash damage as the projectile calls the MBF21 RadiusDamage function.

Following the same steps in Woof! & DSDA-Doom, the player takes zero splash damage, as expected.

Your configuration

<script src="https://gist.github.com/mdecalza/31609e6c305ac4a76aee9722021a2464.js"></script>

Provide a Log

No response

@mdecalza mdecalza added the bug label May 18, 2024
@coelckers
Copy link
Member

Your file link goes to a private file, Please make the link public.

@mdecalza
Copy link
Author

Fixed. Pasted for convenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants