This repository provides a template for creating a Limbus Company DLL for custom support passives.
Note: This is intended for people with atleast SOME c# experience. If you have none, seek help on the discord or learn c#
- Have an IDE of your choice (Visual Studio, Rider, etc.)
- Git clone of the BasePlugin 2 repository
Do the following steps to your cloned BasePlugin 2 Repository:
- Make sure you have installed Lethe.
- To setup a dev environment, copy the file
Directory.Build.example.propsinsrc/and rename the copy toDirectory.Build.props. - Modify the file as per the instructions inside.
- Modify
Lethe.csproj, change all mentions ofMyPluginto the name of your mod. - Modify
Lethemain.cs, changeMyPlugininnamespace MyPlugin;to what you've entered in step 4. ChangeName,Version, andAuthoras you wish. - Whenever you build, the development build of the BepInEx plugin should automatically be copied to your game folder.
After you've done all of that, copy the LetheMain.cs (being careful to change the fields to the new name of your plugin, author, etc. NOT the file name) and the MySupportPassive.cs into your cloned repository.
Note: If your dependencies weren't added properly, right click dependencies under solution explorer, press add project reference, then browse, then, navigate to the Bepinex folder where your Modded Limbus Company.exe is. Inside of the Bepinex folder, add all the DLL's under core and interop as project references.
To find methods and types, etc, open Assembly C-Sharp.dll under interop. Alternatively, check out the ModularSkillScripts repository.