- Visual Studio 2022 or other IDE
- Knowledge of C# Programming Language and ECS (Entity Component System)
Download and Install BepInEx 5 by extracting the contents of the Archive to your Cities Skylines II installation directory (C:/Program Files (x86)/Steam/steamapps/common/Cities Skylines II). Make sure this directory now additionally includes the following files:
BepInEx(folder)doorstop_config.iniwinhttp.dll
Make sure to edit the BepInEx/config/BepInEx.cfg file and set Enable to true for the Logging.Console section, like so:
[Logging.Console]
## Enables showing a console for log output.
# Setting type: Boolean
# Default value: false
Enabled = true-
Clone/Download the NoUniqueBuildings-Mod by 89pleasure to your computer
-
Using your IDE or any other Search and Replace-Tool, replace all occurences of
NoUniqueBuildingswith your mod name. Make sure to also rename the.slnfile, the.csprojfile and the project folder to your new chosen name -
Open the
.slnfile with your IDE. You should now see the project structure of the mod. Wait for NuGet to restore the packages. -
Copy
GlobalProperties.props.distand rename the copy toGlobalProperties.props. Change theGamePathto your Cities Skylines II game folder and choose the correct BepInEx version. This will copy the dll to your BepInEx plugins folder automatically (on build). -
Start Cities Skylines II (not using Thunderstore/Modman) and check if the mod is loaded. You should see a console window with your mod name and version.
-
You can now start coding your mod. The
YourModNameSystem.csfile is the main entry point for your mod.
- Wiki Page done by CaptainOfCoit
- Cities Skylines II Wiki
- Unofficial Cities Skylines II Modding Discord