TrexPredator
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.
模組介紹 作者原文
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.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: