CaptainTeam-MCZombieLegacyCompat icon

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.

Last updated a week ago
Total downloads 1526
Total rating 0 
Categories Tools Monsters AI Generated
Dependency string CaptainTeam-MCZombieLegacyCompat-1.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305
Zehs-REPOLib-4.2.0 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.2.0
PaintedThornStudios-PaintedUtils-1.1.0 icon
PaintedThornStudios-PaintedUtils

Utilities for mods by PaintedThornStudios

Preferred version: 1.1.0
PaintedThornStudios-MCZombieMod-1.2.1 icon
PaintedThornStudios-MCZombieMod

Adds a MC Zombie to the game.

Preferred version: 1.2.1

README

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.ReleaseObject changed), 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 patched in the log).

Config (000.CaptainTeam.MCZombieFix.cfg)

  • MCZombie Compatibility / Guarantee Zombie On Minecraft Maps (default true)
  • Rotten Flesh / Sickness Effect (default true)

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.