You are viewing a potentially older version of this package. View all versions.
ButteryStancakes-JetpackFixes-1.0.0 icon

JetpackFixes

Fixes a bug causing the player to explode without crashing. Also fixes the bug where you can sometimes freeze in place with the jetpack still running.

Date uploaded 4 months ago
Version 1.0.0
Download link ButteryStancakes-JetpackFixes-1.0.0.zip
Downloads 2515
Dependency string ButteryStancakes-JetpackFixes-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Jetpack Fixes

Fun fact: The "overheat mechanic" often attributed to the jetpack's design is actually caused by a bug. The jetpack has no heat meter or speed limit whatsoever.

More detailed explanation
  • The reason the jetpack appears to explode on "overheat" is due to buggy crash damage behavior - the jetpack is programmed to explode ONLY if the player wearing it dies after turning it on, and before landing safely on the ground. (Hence, dying to fall damage still explodes the jetpack if you fall out of the sky with the jetpack off)
  • Zeekerss programmed a special case where the player is instantly killed by Gravity if you are moving towards an obstacle that is less than 4 units away, while the jetpack is propelling you at more than 50 units per second. However, in v49, this condition would erroneously check for invisible triggers (which the player can't normally collide with), leading to mid-air explosions.
  • v50 partially fixed this problem by disabling trigger detection, but what causes the issue now is even sillier - the player's own colliders can still satisfy the collision condition, leading to employees "crashing into themselves" and still exploding in mid-air, under certain circumstances. This is most easily replicated by using the thruster to travel straight upwards - you'll notice there's no limit to how high or fast you can travel, but once you let go of the thruster and start free-falling, you will explode randomly in open sky after only a brief moment.

It's possible Zeekerss intentionally left this bug in the game, as a pseudo-balancing feature for the raw power of the jetpack. However, since it's a side effect of incorrect behavior (that was even partially fixed in v50), this mod will get rid of it for you - allowing you to travel as fast as you like, as long as you don't crash (which will still kill you instantly)

Additionally, this mod fixes a new bug introduced in v50 where the jetpack can "get stuck" and stop moving you if your feet graze an object mid-flight (for example, touching the tip of a tree causes you to suddenly stop moving, even though the jetpack continues running - jumping would then cause you to explode, usually)

CHANGELOG

v1.5.0

  • Hopefully fixed the bug where the jetpack "drops inputs" when clicking (shakes the screen, but doesn't activate thruster)
  • Fixed the jetpack's broken proximity warning (the beeping) logic
  • Crashes at lethal speed now take into account modded HP values

v1.4.5

  • Fixed the jetpack exploding in mid-air if you are wearing a belt bag

v1.4.4

  • Reverted player collision change from v1.4.1

v1.4.3

  • Fixed a NullReferenceException when the jetpack explodes mid-flight

v1.4.2

  • Simplified some patches

v1.4.1

  • Minor refactor allowing players to crash into other players at high speeds
  • Reduced how much vertical momentum is transferred when dropping the jetpack
  • Some config fixes

v1.4.0

  • Added config setting to control when the jetpack explodes in mid-air from high speeds
    • Can be turned off completely
    • Can be enabled only at certain heights (new default, like "BecomeFirework" from v1.2)
    • Can be enabled always (like vanilla)
  • Fixed several interactions between tulip snakes and jetpacks
    • Now tulip snakes flapping their wings won't spontaneously disable the jetpack
    • Tulip snakes will continue to move you if you turn the jetpack off while they are still flapping
  • Added config setting that allows launching yourself by dropping the jetpack mid-flight.

v1.3.0

  • v56 compatibility

v1.2.1

  • Fixed jetpacks becoming unusable in v50

v1.2.0

  • Added "BecomeFirework" setting ;)
  • Fixed the Doppler effect distorting the audio of your local jetpack

v1.1.0

  • Fixed the "inverted battery" bug (battery now only drains when the jetpack is turned on)

v1.0.0

  • Initial release