Phreel-BaseGameFixes icon

BaseGameFixes

Fixes various base game errors and NREs you'd encounter late-game.

By Phreel
Last updated 8 hours ago
Total downloads 257
Total rating 0 
Categories Mods Tweaks
Dependency string Phreel-BaseGameFixes-1.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2122 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2122
RiskofThunder-HookGenPatcher-1.2.9 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.9

README

BaseGameFixes

Fixes a collection of base game errors and NullReferenceExceptions via Harmony patches.

Fixes

  • Defective Unit - death state no longer throws when its model is already gone (e.g. Void Fields wave ending).
  • Void Barnacle - spawn no longer tries to spawn a null muzzle flash effect.
  • Dream Demon - projectile no longer throws on destroyed growth renderers.
  • RigidbodySoundOnImpact - no longer throws when a collision happens before Start.
  • SetStateOnHurt - freeze/stun no longer throws when applied before Start (duration modifiers are still respected).
  • DoTargetInfoSearch - When a drone command is aimed at a chest, the loop finds the chest correctly.
  • SpecialObjectAttributes.Start - Some prefabs have a missing object in that list. A patch that runs before Start removes dead entries from it.
  • beamVfxInstance.transform - Skips the update when the beam effect or the muzzle is gone.
  • MinionOwnership - Skips minions that are already destroyed. A destroyed minion has no CharacterMaster to report as lost anyway.