Brynzananas-Body_Model_Additions_API icon

Body Model Additions API

Adds a system for developers to load custom objects onto characters in game and in lobby. Model additions can require selected skins, skills, skins and skills or custom condition.

CHANGELOG

2.1.0

  • Turn "skillDef" and "skinDef" single field conditions into lists

2.0.1

  • Better implementation of model parts with null gameObject

  • Serialize some fields (Didn't work)

2.0.0

  • Mod rewrite to use Scriptable Objects with backport support

  • Improved model parts addition part. I don't know how but it seems working fine

  • Removed Character Model hook. Lemurians now can't get model parts despite them having skins for some reason

1.4.4

  • Fix with new update with a temprorary solution to just invoke needed method after some time hoping new skin system will do it's job before my method. Need to rewrite all of this stuff

1.4.3

  • Added body name null checkers

  • Removed log debuggers

1.4.2

  • Properly removes deleted renderer infos from Character Model

1.4.1

  • Child Locator generator now generates missing transform pairs for objects that already have Child Locator coponent

  • Improved moment of parts addition

  • Added an event that invokes before applying model parts

1.4.0

  • Generates Child Locator with valid transform pair entries for all survivors display prefabs that do not have them

  • Added "skinName" field to MdelPart, allowing to make a skin requirement using a simple string of skinDef name instead of its scriptable object asset

1.3.0

  • Made a ModelPartInfo class for a friendlier ModelPart initialisation

1.2.0

  • Added the model parts addition method to Character Model Start method if Character Model doesn't have Model Skin Controller component

1.1.1

  • Added a "null check" for an instantiated object to prevent delegate from freaking

1.1.0

  • Added custom condition delegate and an option to use find string instead of child locator bone.

  • Added ActivePartsComponent output to CodeAfterInitialisation delegate.

  • Added a method that's just the ModelPart class initializer but a method

  • Added more null checks