Custom Cross Mod Compat MelanieMelicious
Add Unity-side mod cross-compat to adjust transforms or perform events, if specific mods are present (based on mod folder name). Includes part for ship mod components and their configs. You can find me in the Lethal Company Modding Discord.Custom Cross-Mod Compat - MelanieMelicious v1.0.0
Lets you add Unity-side mod cross-compatibility through components to gameobjects to adjust transforms or perform certain events, if specific mods are present (based on plugin/mod folder name for mods with no .dll). Also includes separate part for ship mod components compatible with some of their configs. You can find me in the Lethal Company Modding Discord.
Credits
- Thanks to Beanie (Beaniebe) for the idea and inspiration to make this mod.
- Thanks to ALSO Beanie for the icon.
Mod Check
Script component that lets you make changes to an object if a mod (based on mod name) is enabled on a pack. Must be on an active (non-hidden) gameobject.
| Variable | Overview |
|---|---|
| Mod Change | A list where you can type the name of a mod folder to search for, and the changes to the game object when that specific mod is enabled. |
| Mod Folder Name | Where you input the mod folder name from inside the [BepInEx > plugins] folder to track if a mod is present. |
| Changes | A list of transform changes you can set, if set mod is found and enabled. |
| Target Object | The object for this element, that will be transformed, if searched mod is enabled. |
| Local Position | Where the target object will be positioned to, relative to local parent, if searched mod is enabled. |
| Local Rotation | Where the target object will be rotated to, relative to local parent, if searched mod is enabled. |
| Local Scale | How the target object will be scaled to, relative to local parent, if searched mod is enabled. |
| Is Active | If the target object is active or inactive, if the searched mod is enabled. |
| Events | Unity events to invoke if the searched mod is enabled. |
Ship Check
Script component that lets you make changes to an object if specific ship mods are enabled on a pack, with custom compatibility with SOME of their configs. Must be on an active (non-hidden) gameobject.
| Variable | Overview |
|---|---|
| Story Change | A list of transform changes you can set, if 2-Story Ship is enabled by itself. |
| Story Wide Change | A list of transform changes you can set, if 2-Story Ship is enabled with Wider Ship. |
| Per Story Add | A list of transform changes you can set, if 2-Story Ship is enabled regardless of wider or base variant. Transforms are multiplied based on how many ADDITIONAL stories are configured for the ship. |
| Wide Change | A list of transform changes you can set, if Wider Ship is enabled by itself. |
| Wide Left Change | A list of transform changes you can set, if Wider Ship is enabled by itself, and configured for either left or both extended sides enabled. |
| Wide Right Change | A list of transform changes you can set, if Wider Ship is enabled by itself, and configured for either right or both extended sides enabled. |
| Big Change | A list of transform changes you can set, if Bigger Ship is enabled by itself. |
