MCZombieLegacyCompat
Makes MCZombieMod 1.2.1 + PaintedUtils work on current R.E.P.O./REPOLib 4: zombie movement, loot, Rotten Flesh sickness, grab fix, Minecraft spawn guarantee. Includes a preloader patcher.MCZombie Legacy Compat
Makes MCZombieMod 1.2.1 (and its PaintedUtils 1.1.0 dependency) work on current R.E.P.O. (0.4.x) with REPOLib 4.x.
What it fixes
- Zombie movement: MCZombieMod calls
EnemyNavMeshAgent.Warp(Vector3), removed from the game. The zombie stayed frozen and threw an exception every frame (tens of thousands per level). Fixed. - Rotten Flesh: eating it no longer breaks (
PhysGrabber.ReleaseObjectchanged), one bite per piece, heals as intended. - Rotten Flesh sickness (was never finished in the original mod): after eating, the player is sick for 45 s and pukes a few times with the game's own puke effect, visible to every player. Can be disabled.
- Loot drops: PaintedUtils' item dropper used REPOLib 2 spawn APIs; zombies now drop Rotten Flesh again.
- Grabbing a zombie: no more exception every frame; the zombie targets the player holding it.
- Enemy registration and legacy enemy lookup (horde spawning) on REPOLib 4.
- Minecraft maps zombie guarantee (optional, on by default): one zombie on Minecraft Cave / Stronghold / Village, spawned on a valid level point, with no repeated scene scans.
How it works (please read)
The package contains a small BepInEx preloader patcher (BepInEx/patchers). At game start, before plugins load, it rewrites the outdated calls inside MCZombieMod.dll and PaintedUtils.dll in place so they target the current game/REPOLib APIs.
- The original files are kept next to them as
*.dll.ctbak. - Only references that no longer exist are touched. If MCZombieMod or PaintedUtils get an official update, the patcher leaves them alone.
- A file is never patched twice (
already patchedin the log).
Config (000.CaptainTeam.MCZombieFix.cfg)
MCZombie Compatibility / Guarantee Zombie On Minecraft Maps(defaulttrue)Rotten Flesh / Sickness Effect(defaulttrue)
Multiplayer
Every player must have this package (same as MCZombieMod itself).
Requirements
BepInExPack, REPOLib 4.2.0, PaintedUtils 1.1.0, MCZombieMod 1.2.1 (declared in the manifest).
AI disclosure
AI tools were used during development and to create the package artwork.
