-
Notifications
You must be signed in to change notification settings - Fork 465
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
Enhancement: MM-Style Static Explosion Radius #2322
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, one small comment from me.
this->explosionCollider.elements[0].dim.worldSphere.radius += this->actor.shape.rot.z + 8; | ||
if (CVar_GetS32("gStaticExplosionRadius", 1)) { | ||
this->explosionCollider.elements[0].dim.worldSphere.radius = 40; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second number in CVar_GetS32 means it would default to being on which I don't really agree with, I'd change it to 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, that was a typo on my part
05bd4a3
to
ba13e6b
Compare
@splemb can you please revert the libultraship update. Generally unless you changed something in libultraship and are needing to pull in a new commit, you should not commit the submodule change. If you are seeing libultraship is "changed" on your local changes, then you might need to run |
This reverts commit d0e2435.
In OoT, bomb explosions increase in size before despawning. In MM and OoT3D, this behaviour was changed so that bomb explosions have a fixed size, about halfway between the minimum and maximum sizes of OoT. This has the side effect of making bomb and bombchu hovering much easier to perform.
This PR adds a checkbox in Enhancements/Items to toggle between the original and modified explosion behaviour.
Comparision Of Explosion Collider Size With and Without Enhancement:
https://cdn.discordapp.com/attachments/818494239847088170/1059224147093360740/staticExplosions.mp4
Build Artifacts