This is a project template for making plugin-powered ContentPackages for LuaCsForBarotrauma. For more details, visit the Wiki.
Quick Start Steps:
- Download the Libraries file luacsforbarotrauma_refs.zip from latest release, unzip it, and place the contents 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".
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", ie. "Steam..\Barotrauma\LocalMods\MyModName"
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.
-
Open the project and change the TO BE CONTINUED >>>
-
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/..."