AvatarCreatures
Load custom avatars for players in your lobby.
| Last updated | 2 years ago |
| Total downloads | 5165 |
| Total rating | 6 |
| Categories | Mods BepInEx Client-side Cosmetics |
| Dependency string | PeanutBuddha-AvatarCreatures-0.0.6 |
| Dependants | 3 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
AvatarCreatures
A Lethal Company mod that lets you load custom avatars for players in your lobby.
You only see other people's avatars not your own. If you know how to hide the default hands please open an issue in my GitHub repo.
Each player must have the AssetBundle for each player to see them properly:
- Use the Unity plugin to generate an AssetBundle for your own avatar in your
steamapps/common/Lethal Company/Avatarsfolder - Share this AssetBundle with your friends (eg.
12345678912345678.assetbundle) and make sure everyone's AssetBundle is in the same "Avatars" folder - Run the mod and you should see them
Forked from DarnHyena's LethalCreatures mod
3rd person mods
This mod is not compatible with 3rd person mods.
You can look at a broken version of yourself with 3rd person mods and enabling setting AlwaysRenderLocalPlayerModel and restarting the game.
Development
Unity plugin
-
Open Unity project
-
Copy everything in
UnityPlugintoAssetsfolder inside Unity project
Mod
-
Open solution in Visual Studio 2022
-
Change
.csprojreferences:LC_API =>
C:/Users/<username>/AppData/Roaming/Thunderstore Mod Manager/DataFolder/LethalCompany/profiles/Default/BepInEx/plugins/2018-LC_API/LC_API.dllAssembly-CSharp/everything else =>
steamapps/common/Lethal Company/Lethal Company_Data/Managed/<name>.dll -
Restore NuGet packages
-
Build project
-
Copy
LethalCreatures/bin/Debug/netstandard2.1/CreatureModels.dlltoC:/Users/<username>/AppData/Roaming/Thunderstore Mod Manager/DataFolder/LethalCompany/profiles/Default/BepInEx/plugins/PeanutBuddha-AvatarCreature/CreatureModels.dll -
(optionally) From Unity use official plugin "AssetBundle Browser" to create a new bundle named "core" with these files (the mod uses another mod to load them from their own assetbundle):
UnityAssets/CritterControl.controllerUnityAssets/CtritterIdle.anim
-
Launch game
Publish
NOTE: Include unity plugin with the mod to make it easier for people.
Unity plugin
-
In Unity project export
PeanutTools/AvatarCreatureGeneratorinclusive asPeanutTools_AvatarCreatureGenerator_X.X.X.unitypackage -
Copy into mod folder
C:/Users/<username>/AppData/Roaming/Thunderstore Mod Manager/DataFolder/LethalCompany/profiles/Default/BepInEx/plugins/PeanutBuddha-AvatarCreature
Mod
-
Ensure the manifest file is up to date
-
Run
./packageup.ps1to copy everything into the plugin directory -
Compress the plugin directory into
PeanutBuddha-AvatarCreature-X.X.X.zip -
Release