You are viewing a potentially older version of this package. View all versions.
CaptainTeam-MCZombieLegacyCompat-1.1.0 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.

Date uploaded 2 weeks ago
Version 1.1.0
Download link CaptainTeam-MCZombieLegacyCompat-1.1.0.zip
Downloads 642
Dependency string CaptainTeam-MCZombieLegacyCompat-1.1.0

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.

CHANGELOG

Changelog

1.1.0

  • New preloader patcher that rewrites MCZombieMod / PaintedUtils calls to removed APIs (EnemyNavMeshAgent.Warp(Vector3), PhysGrabber.ReleaseObject(float), PlayerAvatar.localCameraTransform, REPOLib 2 SpawnNetworkPrefab(string) / SpawnValuable(ValuableObject) / RegisterNetworkPrefab). Fixes the frozen zombie and its per-frame exceptions. The 1.0.5 bridge existed but was never wired.
  • Zombie loot (Rotten Flesh) drops again.
  • Rotten Flesh: one bite per piece; new sickness with the game's puke effect, synced to all players (Sickness Effect option).
  • Grabbing a zombie no longer throws every frame; it chases the player holding it.
  • Minecraft zombie guarantee spawns on the nearest level point (the zombie could appear inside walls) and gives up after 5 attempts instead of scanning the scene every 2 seconds.

1.0.5

  • MCZombie startup and registration on REPOLib 4, Rotten Flesh network registration.