Omniscye-Haunted icon

Haunted

Spawns a Ghost that stalks players from official enemy spawn points. It can only kill YOU — hunted or not — so do not touch it! Works in Private Singleplayer and Online Multiplayer.

Last updated 3 weeks ago
Total downloads 4494
Total rating 1 
Categories Mods Monsters Client-side
Dependency string Omniscye-Haunted-1.2.0
Dependants 2 other packages depend on this package

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
Zehs-REPOLib-2.1.0 icon
Zehs-REPOLib

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

Preferred version: 2.1.0

README

Haunted

Haunted is a spooky AI Ghost clone mod for R.E.P.O. that stalks players using in-game level spawn points.
A ghostly “Omniscye Clone” will wander the map, hunt you down (If you are selected), and vanish just as mysteriously — keeping you on edge. It can kill YOU if touched!

What It Does

  • Spawns a single roaming clone at one of the map’s official enemy spawn points
  • Clone uses full NavMesh pathfinding to move naturally around the map
  • Automatically despawns and respawns at different points for unpredictability
  • Instant kill on contact for maximum tension
  • Works in both singleplayer and multiplayer (clone is local only, no sync)
  • Spawn logic avoids voids and unreachable spots
  • No player menu clones or dead body clones — only living targets are copied

Haunted Effects

  • Random spawn points ensure the clone never appears in the same place twice in a row
  • Creepy pursuit with leash/chase/give-up radius behavior
  • Stealth approach — no sounds or UI indicators before attack
  • Instant death if the clone reaches you
  • Immortal presence — clone cannot be damaged or stopped
  • If the ghost decides to haunt a different player:
    • It cannot kill that other player
    • It will follow them briefly before despawning
    • It can still kill YOU at any time — hunted or not
    • It can spin around like it is dancing sometimes.
    • Doors will NOT stop it. It will break doors down
    • DO NOT TOUCH IT!

How It Works

  • Uses HarmonyLib to patch into the player list and select a valid clone source
  • Filters out invalid avatars (dead, hidden, or menu models)
  • Spawns at pre-validated Level Points already placed for real enemies
  • Snaps to NavMesh before activation (no off-mesh warnings)
  • Assigns AI brain with roaming, chase, and leash logic
  • Strips unneeded components like colliders, rigidbodies, and PhotonViews
  • Disables network sync so clone exists purely for the local player

Technical Features

  • Spawn point system: Uses official map “Level Point” locations
  • NavMesh-safe spawn: Validates mesh position before AI activation
  • Collision system: Touch instantly kills the player
  • One-clone limit: Always despawns old clone before spawning a new one
  • Performance-friendly: Only active while player is alive and in-level
  • Invisible-clone prevention: Forces renderer enable on spawn
  • Rigidbody: 200 pounds of raw Ghost

Compatibility

  • Fully works in singleplayer
  • Works in multiplayer (clone is local only)
  • Compatible with other AI mods
  • Does not modify core game assets or save data

Credits

Created by Omniscye Thanks to OrigamiCoder for helping test/ideas