Adds a roaming T. rex enemy to Muck using the local Trex model source from the Park Wilds workspace.
All tuning lives in BepInEx/config/local.muck.trexpredator.cfg after the first run.
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.
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.
After a successful build, import DCMOD-TrexPredator-0.1.3.zip through Thunderstore Mod Manager or r2modman:
DCMOD-TrexPredator-0.1.3.zip.The zip keeps Thunderstore 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.
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/...
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.