This a minimimal example of a mod for Parkitect. By itself, it does nothing. But, with your imagination - anything is possible.
I created this project because noone has explicitly written out the steps for creating a Parkitect mod. Huge shoutout to Michael Pollind for releasing their mods open source on Github, as well as the Parkitect discord community.
To make a Parkitect mod, you need four things:
- A copy of Parkitect
- The .NET 4.5 SDK
- A C# Compiler
- A C# Disassembler
I used the DRM free version of Parkitect from Humble Bundle, Jetbrains dotPeek for my disassembler, and Visual Studio Community 2017 as my compiler - and the easiest way to install the .NET SDK.
In Visual Studio, create a new Project.
Choose C# Class Library (.NET Framework)
as the project type.
Fill in the Project name and Solution name to whatever you'd like your mod to be called.
Add refrences (Project > Add Refrences...
) to some .dll
s in the Parkitect_Data/managed/
directory. You'll need at least Parkitect.dll
and UnityEngine.dll
. Optionally add UnityEngine.CoreModule.dll
in order to log messages to Parkitect's debug console (press LEFT_ALT + LEFT_CTRL + D to toggle debug console)
In the Solution Explorer find each refrence you added and set Copy Local
to false
Now, all that is required is to create a class that impliments IMod.
Currently working on this.
For now, you'll have to figure that out on your own.