In your project, add references to Assembly-CSharp.dll and UnityEngine.dll:.Optional: Untick "Create a directory for solution"/"Create a project within the solution directory",.Enter a project name (solution name automatically updated).NET -> Library or Class Library (NOT portable) Create a new class library project in your IDE of choice.Visual Studio does not have these issues and should be your go-to for compiling large projects such as Combat Extended. For your average project this does not matter, however some existing projects are already built entirely upon C# 6.0+ syntax which can not be compiled anymore in Sharpdevelop. url (can leave blank for link to your Steam Workshop profile)Ĭaution: Sharpdevelop (or #develop) does NOT CURRENTLY allow for C# 6.0+ syntax without plugins and does NOT ALLOW for C# 7.0+ syntax at all.in_game_description (not required, can change later in About-Release.xml).target_version => current RW version (can leave blank for most up-to-date).namespace_name (don't change if unsure).Create To => Your/Rimworld/Mod/Directory.Once loaded, go to File -> New -> From Cookiecutter.Linux/Mac people can still use it, but they will have a few errors to clean up. Note: despite being automatic and potentially taking away some of the tedium away, the environment it sets up is very particular and this tool is currently not recommended for newcomers.Īs of Jan 2019, the cookiecutter is set up for Windows development. This option uses the Rimworld Mod Development Cookiecutter tool. While this method is faster, it is still good to know how to do it manually. Add the rimworld assemblies using your preferred method.Open the About folder and edit the About.xml file.type dotnet new RimMod (This will create a new mod with the name you specified).create a new folder for your mod (It is best to use the name you want for your mod).This option uses Rimworld Dotnet Template it allows faster creation of mod files including Xml folders Option 3 (Using Rimworld Dotnet Template): You can now continue as if you added the assembliesĭoing this makes your project portable, because RimRef can be downloaded by anyone and used from anywhere, unlike Rimworld's assemblies which can't be distributed. In the Settings dialog, under Package Management, change the Default package management format to PackageReference.From the Tools menu, select NuGet Package Manager -> Package Manager Settings. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |