MemeRebellionScrap
Weapons for the rebellion
模組介紹 作者原文
MemeRebellionScrap
Unified Lethal Company scrap pack. One plugin folder, many items.
How it works
Drop assets into the plugin folder next to MemeRebellionScrap.dll:
- *.obj — 3D model. Becomes a scrap item with shotgun-firing behavior on left-click (e.g. TonyGat).
- *.png — image. Becomes a flat "card" scrap item sized to the image's aspect ratio. No shotgun — just pickup + sell.
Each file is scanned at game launch. Add or remove files, then restart the game — no rebuild required.
Sidecar files
Every item is named after its asset's stem. If your model is graycat.obj, its sidecars all start with graycat.:
| File | Applies to | Purpose |
|---|---|---|
| stem.txt | both | Display name (first non-empty line) |
| stem.value.txt | both | MIN-MAX credit range, e.g. 80-260 |
| stem.hold.txt | both | positionoffset, rotationoffset, restingrotation, verticaloffset, twohanded, weight |
| stem.spawn.txt | both | weight=.., copies=.. for natural spawn frequency |
| stem.scale.txt | OBJ only | Auto-fit size multiplier (1.0 = baseline, 0.5 = half size) |
| stem.shotgun.txt | OBJ only | pellets, damage, range, spread, cooldown |
| stem.fire.wav | OBJ only | Firing audio (16-bit PCM WAV) |
| stem.wav | both | Pickup audio (doubles as fire fallback for OBJ) |
| stem.drop.wav | PNG only | Drop audio override |
| stem.mtl | OBJ only | Standard OBJ material sibling (Blender writes this) |
Full cheat-sheet in the parent repo: Scrap txt file cheat sheet.txt.
Dev hotkeys (host only)
- \ (Backslash) — spawn next PNG card at your feet
- ] (RightBracket) — spawn next OBJ item at your feet
Changelog
1.0.3
- Fixed multiplayer: items did not appear or play sound for clients who joined the host's lobby. Cause was Netcode for GameObjects' ForceSamePrefabs rejecting our prefab registration with "All prefabs must be registered before starting NetworkManager when ForceSamePrefabs is enabled" — our build path completed at StartOfRound.Awake, which fires after StartClient on the join path. Fix: pre-register placeholder NetworkPrefabs at GameNetworkManager.Start (well before any session begins) using deterministic hashes, then route the actual prefab through an INetworkPrefabInstanceHandler that swaps in the real mesh/components once the build completes at StartOfRound.Awake.
1.0.2
- Fixed: 1.0.1's StartOfRound.Awake retry still couldn't see the base item, because Unity lazy-loads AllItemsList references and Resources.FindObjectsOfTypeAll() only returns realised objects. Lookup now goes directly through __instance.allItemsList.itemsList.
1.0.1
- Attempted fix for the singleplayer spawn issue (incomplete — superseded by 1.0.2).
1.0.0
- Initial release. TonyGat (OBJ shotgun cat) + 6 PNG meme cards.
Credits
Built on top of the same approach used by PremiumScraps.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: