Details

Last Updated
9 months ago
First Uploaded
9 months ago
Downloads
36K
Likes
2
Size
44KB
Dependency string
DarthLilo-SkinnedRendererPatch-1.1.3
Dependants

SkinnedRendererPatch

Patches the game variant system to support SkinnedMeshRenderers and allows states such as random materials or meshes to be saved across sessions!

This mods effects are barely noticible on its own, at most you'll notice flasks having their different shapes retained, this mod is best used as a library for your own scrap mods.

How?

When creating an item in unity, there are two fields called "Mesh Variants" and "Material Variants" each doing exactly what their name says.

However they don't work with SkinnedMeshRenderers by default and only with MeshRenderers, with this mod installed you can now use these fields with SkinnedMeshRenderers.

Mesh/Material Variants

There are a few important things to note.

  • Due to the nature of SkinnedMeshRenderers possibly existing multiple times underneath one model, you must join all of your meshes into one renderer IF using the mesh variants. (Material variants aren't affected by this)

  • You will not see the effects of either if you spawn them in using Imperium or Lethal Company's built in development menu, the code is only ran when landing on a moon!

  • This mod is required on ALL clients, values will not sync otherwise and if a mod is attempting to replace a mesh on a SkinnedMeshRenderer without this mod it will cause all scrap to be worth nothing on that client.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.