Cities Skylines 2: Mod Template

Cities Skylines 2: Mod Template


This repository template allows you to get started with Cities: Skylines 2 modding easily.

Requirements:
BepInEx-Unity.Mono-win-x64-6.0.0-be.674+82077ec

Usage

– Create a new repository based on this one
– Clone your new repository to your computer
– Uncomment and update the Cities2_Location variable in MyCoolMod.csproj
– Run make build

After running the last command, the mod should be automatically copied to your game directory, so launching the game should include running the mod you just started.

Regarding BepInEx version 5 (Stable) VS 6 (Alpha/Unstable/Nightly)

Currently, this mod template defaults to building against BepInEx version 6 (unstable pre-release). If you’d like to instead use Stable BepInEx version 5, you can run the build like this:

$ make build BEPINEX_VERSION=5

In order to run code only for one BepInEx version, you can do something like this:

#if BEPINEX_V6
– – using BepInEx.Unity.Mono;
#endif

That would only run using BepInEx.Unity.Mono when you’re building the project for BepInEx 6. Add in a else if you want to do something different when it’s version 5.

CI / GitHub Actions – Setup

In order to get the CI/GitHub Actions workflow to work, you have to do a couple of things.

– Create a new private repository with all the game DLLs that you require for building your mod
– Create a new GitHub Personal Access Token (“PAT”) that has only READ access to the created private repository
– Create a new secret variable in GitHub Actions called GH_PAT that has your PAT with read access to the private repository

Now the CI job should work as expected.

Credits:
Captain-Of-Coit


What is Cities: Skylines 2 mods use for

Find the latest Cites: Skylines 2 mods and improve your game to the next level. Here you will find mods with features you will not find on the base game. What’s even better, these mods are completely free and easy to download. The Cities Skylines 2: How to Start Your City Mod setup process is extremely easy to follow. Just get them on your computer, follow a couple of simple steps, and you’re done!

Join the worldwide Cities: Skylines 2 modding community, full of excellent developers and devoted gamers, looking to improve this game – building and using mods to make the playing experience even more exciting. These mods are easy to use, and the results are remarkable. Cities Skylines 2 Mod lets you easily build your very own version of the game, with limitless possibility, turning your visions into reality. Don’t miss your opportunity to improve the game. Start building now: simply click the Cities: Skylines 2 Mod download button, and see everything for yourself.







Best Utilities mods

Leave a Reply

Do you need help or to say thanks for mod author? Just leave a comment bellow!