TrexPredator

v0.1.3·Updated 2026-06-18

Adds a high-HP roaming Trex enemy to Muck. One spawns each day, chases nearby players, chews and spits them out with blood effects, and drops 300 gold on death.

About this mod Author’s original text

Trex Predator for Muck

Adds a roaming T. rex enemy to Muck using the local Trex model source from the Park Wilds workspace.

Behavior

  • Spawns one Trex when the world is first ready, then attempts to spawn one new Trex per in-game day.
  • Trexes roam randomly around the map until a player gets close.
  • Trexes have 5000 HP by default.
  • When close, the Trex grabs, chews, damages, sprays blood particles, then spits the player away.
  • Killing a Trex grants 300 gold. If direct gold reflection does not match the installed Muck build, a temporary gold pickup is spawned as a fallback.

All tuning lives in BepInEx/config/local.muck.trexpredator.cfg after the first run.

Build

On a machine with Muck installed:.\scripts\build.ps1 -MuckDir "C:\Program Files (x86)\Steam\steamapps\common\Muck"

The script expects BepInEx under Muck\BepInEx. Use -BepInExDir if it is somewhere else.

Asset Packaging

The full Trex source folder is about 650 MB, so this mod packages only the runtime OBJ and core albedo textures by default:.\scripts\package-assets.ps1

That creates:

package/BepInEx/plugins/assets/trex_obj/

The runtime also supports a proper Unity asset bundle. If you later build one, place it at:

BepInEx/plugins/assets/Trex.assetbundle

The asset bundle path is preferred over the OBJ fallback.

Install

After a successful build, import DCMOD-TrexPredator-0.1.3.zip through Mod Manager or r2modman:

  • Open the Muck profile.
  • Open settings.
  • Choose the local mod import option.
  • Select DCMOD-TrexPredator-0.1.3.zip.

The zip keeps metadata at the package root: manifest.json, README.md, CHANGELOG.md, and icon.png.

The runtime payload is under BepInEx/plugins so r2modman's Muck install rules preserve the nested assets folder beside MuckTrexMod.dll.

Manual Install

After a successful build, copy the contents of package/BepInEx/plugins into a folder under the active profile's BepInEx/plugins, preserving:

BepInEx/plugins/DCMOD-TrexPredator/MuckTrexMod.dll

BepInEx/plugins/DCMOD-TrexPredator/assets...

Notes

The plugin uses reflection for player damage, day detection, and gold reward because the local workspace does not include Muck's assemblies. The code also includes fallback click damage on the Trex collider so it can still be killed if Muck's weapon-hit path does not send damage messages to custom objects.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack_Muck

File & checksum

Filename
TrexPredator-0.1.3.zip
File size
24.5 MiB