You are viewing a potentially older version of this package. View all versions.
mwmw-MwSkinAdditions-1.3.0 icon

MwSkinAdditions

A library for skin mods that enables the addition of complex behaviours for more intricate skins.

Date uploaded a day ago
Version 1.3.0
Download link mwmw-MwSkinAdditions-1.3.0.zip
Downloads 1999
Dependency string mwmw-MwSkinAdditions-1.3.0

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
RiskofThunder-R2API_Networking-1.0.2 icon
RiskofThunder-R2API_Networking

Networking API around the Unity UNet Low Level API (LLAPI)

Preferred version: 1.0.2
bbepis-BepInExPack-5.4.2108 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2108
RiskofThunder-R2API_Skins-1.4.14 icon
RiskofThunder-R2API_Skins

R2API Submodule for adding custom Skins and Skin-related utilities to the game

Preferred version: 1.4.14

README

MwSkinAdditions

This mod is a library for other skin mods to depend on. It provides a streamlined way to execute custom behaviour for plenty of in-game events, in addition to numerous extra functionalities for skins:

  • Armature Transformations
  • Voicelines
  • BlendShape Animations
  • Corrective BlendShapes

If you want to use this library for your own skin mod, check out the Wiki tab either on Thunderstore or GitHub for explanations and examples.

Credits

Big thanks to bouncyshield for helping out with some of the more complex math!

Contact

Discord: miyowi

Ko-fi: Miyowi

CHANGELOG

1.3.0

  • Added basic Corrective BlendShapes functionality

1.2.0

  • Added the ability to provide icon portrait overrides on a per-skin basis
    • Compatible with the Icons mod by DTEE (i.e. nothing should break. Icon portraits provided through this mod take precedence)

  • The DifferentSkinAppliedGlobal event now correctly fires when switching to another registered skin

1.1.9

  • Fixed an error caused by skins with lobby-specific SkinDefs

1.1.8

  • Fixed the possibility of lobby event-ordering issues

1.1.7

  • Added an OnUpdate delegate to BoneTransformations

  • Added the ability to provide position, scale, and relative bone overrides to TransformationInstances

1.1.6

  • Added innate support for lobby SkinDef overrides

  • The initial ExpressionController blinking interval is now randomized (no more guaranteed blinking when selecting in CSS)

1.1.5

  • Added context-specific application of bone transformations via bitflags (i.e. can now specify only CSS for a transformation)

  • Bone transformations now correctly unapply scale and position when switching between skins in the CSS

  • Resolved an issue where expression and voice controllers would alternate between on and off for specific skins

1.1.4

  • Resolved an incompat with MSU

  • Updated to work properly in the CSS following changes to R2API.Skins

1.1.3

  • Fixed an issue where certain bone transformation offsets could compound

  • Fixed bone transformation offsets never applying in the CSS

1.1.2

  • Updated dependencies

1.1.1

  • Fixed Shrine of Chance events from never firing

1.1.0

  • Added LeaveSpawnTeleporterState event

1.0.10

  • Fixed expressions not being applied in a run
  • Fixed skin applied lobby event not being called correctly

1.0.9

  • Removed network compatibility requirement

1.0.8

  • Fixed skin applied lobby event not being called
    • I actually didn't fix it this update

1.0.7

  • Made codebase more protected against NREs
    • Haha so I actually broke a million things when I did this. Thanks me
  • Fixed network messages not being registered

1.0.6

  • Fixed NREs from situations where the body is deleted prematurely (e.g. void explosion deaths)
  • Damage events are no longer fired if HP is less than or equal to 0, to prevent them being prioritised over death events

1.0.5

  • Added option to not apply specific transformations in the CSS

1.0.4

  • A single instance of an EventSub is no longer limited to a single SkinDef and can now take an array of SkinDefs

1.0.3

  • Fixed transformed limbs from drifting away when frozen
  • Transformed limbs now retain their custom size on death

1.0.2

  • Added checks to not apply transformations if in a vehicle state
  • Added option to not apply any transformations in the CSS

1.0.1

  • Fixed an issue when switching between skins on the same survivor using the transform controller

1.0.0

  • Initial release