This is a project template for making plugin-powered ContentPackages for LuaCsForBarotrauma. For more details, visit the Wiki.
Quick Start Steps:
- Download the Libraries and place them in /Refs as shown below.
- The libraries for this project must be downloaded separately. They can be found in the LuaCsForBarotrauma Steam Workshop folder under the subfolder "Publicized". Just copy the ones listed below into "/Refs".
- The file-folder structure should match the following:
./Linux/Barotrauma.dll
./Linux/DedicatedServer.dll
./Windows/Barotrauma.dll
./Windows/DedicatedServer.dll
./OSX/Barotrauma.dll
./OSX/DedicatedServer.dll
./0Harmony.dll
./Farseer.NetStandard.dll
./Lidgren.NetStandard.dll
./Mono.Cecil.dll
./MonoGame.Framework.Linux.NetStandard.dll
./MonoGame.Framework.MacOS.NetStandard.dll
./MonoGame.Framework.Windows.NetStandard.dll
./MonoMod.Common.dll
./MoonSharp.Interpreter.dll
./XNATypes.dll
You need to edit the Build.props file:
..\LUATRAMA_DEBUG_LOCALMODS_MYMODDIR</ModDeployDir>
Replace "..\LUATRAMA_DEBUG_LOCALMODS_MYMODDIR" with the directory of your mod in "Barotrauma/LocalMods/"
MyModName
Replace "MyModName" with a valid assembly name, this should be similar to your mod name but does not need to match. This name should:
- Not include spaces.
- Not include special characters, periods are allowed.
- Use english characters.
-
Set the executable directory for the Launch Configurations (Client, Server).
-
Set your details (modname, files, etc) in Assets/filelist.xml
- Note: All files should be placed under "/Content" and will be copied automatically to "LocalMods//Content/...". your "filelist.xml" should list your mods' content files in the format of "%ModDir%/Content/..."