SecondaryMotion
A secondary motion system for BONELAB.
截圖 共 4 張
模組介紹 作者原文
Secondary Motion
A secondary motion system for BONELAB.
(swisches my big fluffy $$$$-ing tail)
Unity Editor - Wiki
SDK mods using these scripts can be compiled perfectly fine!
If someone installs the SDK mod and doesn't have this code mod installed, your SDK mod will still work, just anything using Secondary Motion will not.
It will not break other parts of your SDK mod just because the code mod isn't loaded.
While it could technically be universal, FieldInjector is very specific to the Unity version that BONELAB uses, so it'd likely not work well in other games.
Dependencies
Required
- FieldInjector
- MelonLoader
Optional
The mod will still work fine if these are not installed.
- BoneLib
- DynamicBones
Preferences
Adds 3 preferences:
- Minimum Simulation FPS
- Visibility Culling (Experimental)
- Only Simulate Local Player
MinSimFPS - Float - Default: 20
This prevents jittering on frame drops, at the cost of the simulation not being as responsive. The simulation is still responsive if you're getting good framerate! It'll just start slowing down a bit to prevent jitter if your framerate gets bad.
The format is in target FPS for capping the simulated time per frame.
This can optionally be disabled by setting the value to 0.
VisibilityCulling - Bool - Default: False - EXPERIMENTAL
Stops the simulation based on the visibility of the rig's meshes.
This is still experimental, it could cause issues.
This is in community testing phase, please report issues to me on Discord (keeplousafe) if you use it!
OnlySimulateLocalPlayer - Bool - Default: False
Only simulates bones on the local player rig, ignoring other rigs (like in Fusion)
This will only work if BoneLib is installed, but the rest of the mod works fine if BoneLib isn't installed
Isn't There Another Mod For This?
Yes! But I just personally don't like how it works.
No hate to the developers of that mod, it's not badly made, just some quirks cause it to not work how I'd want a mod like this to work. I don't think mine is inherently better, I just prefer simplicity!
This mod will still work fine alongside theirs, though! However, SecondaryMotion will take priority if it's on the same exact
object as DynamicBones.
Really hoping that doesn't turn out in an Object.Destroy() war. I'm not destroying DynamicBone components everywhere!! Just only ones that are on the same exact object as SecondaryMotion to prevent double simulations.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: