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

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