Skip to content

DynamicBoneDistributionEditor

Choose a tag to compare

@Njaecha Njaecha released this 27 Dec 03:21
· 8 commits to main since this release

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)

Fixed/Updated

  • Fixed the skirt bones being disabled by default in KK
  • Fixed some problems with the Multi Bone Fix (handles cases in which multiple dynamic bone components point to the same bones)

ATTENTION

Because of the way Illusion Dev made the games (both KK and KKS) this version can cause some unintuitive behavior:
The vanilla skirts and some of the tops have problematic Dynamic Bone setups:

  • Most of the shorter skirt have the last two bones cf_j_sk_*_04 and 05 disabled. Because of this, adding a longer skirt, for example with clothes2accessories, will cause that skirt to also have the last two bones disabled, which makes the skirt look very stiff. As soon as DBDE has picked up on a shorter than normal bone this will not change until the Edit Entry is removed completely.
  • Some of the longer tops (those that go over the skirt) come with their own dynamic bone components which are actually never used by the game. These will however still get picked up by DBDE and added to the according edit-entry. Because of this a edit-entry for a skirt bone might not vanish even when you have removed all visible skirts.

Because of the above, there are situations where you have to remove all objects that contributed to a dynamic bone edit-entry in DBDE to reset it's length. This could be the skirt, the top and any c2a accessories that have skirt dynamic bones. Please look at the DBDE UI to make sure the edit-entry vanishes (or its name vanishes, and the entry itself vanishes after you refresh the bone list) to make sure you have properly removed the Bones settings.

I'm still working on a way to implement a system that can reset the "length" of the dynamic bone chain without having to delete the entire edit entry. Currently this is however not possible.

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.
  • 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.4 here: AnimationCurveEditor v1.0.4 ("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

Example Image