DBDE is an all new Editor for Dynamic Bones offering some completely new feature like editing the distribution of Base Values (hence the name) or access to the EndOffset Vector.
It also acts as a drop in replacement for DynamicBoneEditor by deathweasel. (Found in the KK(S)_Plugins folder)
Attention1
- As requested by Starstorm I have changed the distribution name format of the .dll files: It now comes with a underscore "_". If you install this version make sure you remove the old version with dot "." in you BepInEx/plugins folder.
Attention2
- For this update to really work as intended you need the latest version of IllusionFixes which fixes a few bugs in the game code related to dynamic bones: https://github.com/IllusionMods/IllusionFixes/releases
- In Sunshine there is a bug related to IMGUI that makes it impossible to scroll through the text of textfields in layout based UIs. So you need the "BepInEx.IMGUITextCursorFix" from here
- A new version of ACE was released that fixes some of the dragging issues which previous version has, so make sure to also grab that (.old for KK and .new for Sunshine): https://github.com/Njaecha/UnityAnimationCurveEditor/releases/tag/v1.0.5
Fixed/Updated
- implemented NotRolls and Exclusions list, this a very advanced feature and should only be used if you know what you are doing.
- implemented Button to "ReSetup" the dynamic bone. This is needed for changes to EndOffset to actually take effect. It's also needed by NotRolls and Exclusions and will automatically be called whenever a transform is added or removed there. Unfortunately there seems to be some bug or inconsistency in the game code that can cause a DynamicBone to break if this called repeatedly, at which point you have to reload the thing you are working on. So be careful with it.
- improved gizmos
Features
- Edit Dynamic Bones on Character's Accessories, Clothing and Body as well as on Studio Items
- Edit Base Values (Damping, Elasticity, Inertia, Radius and Stiffness) and their distributions, the weight, the Freeze Axis and the Vectors for Gravity, Force and EndOffset. Furthermore Dynamic Bones can be enabled or disabled entirely.
- Edit the previously in-editable setup of dynamic bones with their NotRolls and Exclusions list. This is a highly advanced feature.
- Access the plugin in both Maker and Studio using a Sidebar Toggle in the former and a new Workspace Button in the latter.
- Quickly copy edits across similar entries or entire dynamic bones.
- Visualize where the dynamic bone is and the forces applied to it, so that you know what you're editing.
- Resizable and automatically updating UI. This also ensures that you can use DBDE and KKPE at the same time.
- Optionally load previous edits as defaults when loading a card or scene using a config toggle.
Installation
- This plugin uses AnimationCurveEditor (ACE) for the distribution editing so make sure to grab Version 1.0.5 here: AnimationCurveEditor v1.0.5 ("Old" for Koikatsu | "New" for Sunshine)
- Drop both the .dll for ACE and this plugin into
<game folder>/BepInEx/plugins
- Optionally remove
KK(S)_DynamicBoneEditor.dll
from<game folder>/BepInEx/plugins/KK(S)_Plugins
.
Notes and future plans
- Only offers partial compatibility with coordinate load option (loading without accessories works)
- Maybe export of dynamic bone settings as json or xml, or setting presets (?)
- Multi-select for copying