-
Download "Melon Loader" by LavaGang: https://github.com/LavaGang/MelonLoader/releases/latest/
-
Start the MelonLoader.Installer.exe
2.1. Click "Select" and navigate to your Townscaper folder and select the Townscaper.exe (usually: C:\Program Files(x86)\Steam\steamapps\common\Townscaper\Townscaper.exe)
2.2. Untick the "Latest" checkbox and choose version 0.5.7
2.3. Click install
2.4. During the installation a "Mods" folder gets created it your game folder. MelonLoader does not(!) change any game files. You can uninstall anytime through the installer or by deleting the "version.dll" file.
-
Download the mod (latest release) from: https://github.com/DigitalzombieTLD/TownscaperModUI/releases/latest/
-
Extract the all files from the "TownscaperModUI_Release_1.3.0.zip" into your games Mods folder
-
Start the game!
Utility mod for other mods. Does nothing on it's own. Modders can add their mod controls to a unified UI for controls and saving/loading of settings.
- Place the "ModUI.dll" and "ModUI.unity3d" files in your mods folder
- Reference the "ModUI.dll" in your mod solution
- Usage examples can be found in the Townscaper template mod -> https://github.com/DigitalzombieTLD/TownscaperTemplate
- Simple creation of different UI elements: Button, Slider, Text Inputfield, Toggle, Keybindings with customizable colors
- Simple saving and retreiving of values to a ini save file: Int, Float, Bool, String, Color32
- ini file gets created automatically, default values can be provided
- Settings are hold in RAM. Saving to file happens on closing of the ModUI sidepanel or manually via method call
Keep yourself up to date on the progress on: https://www.youtube.com/c/DigitalzombieDev
Thanks to: LavaGang for MelonLoader MokoJM
ThirdParty code: Il2Cpp Asset Bundle Manager - LavaGang https://github.com/LavaGang/UnityEngine.Il2CppAssetBundleManager Licensed under the Apache License, Version 2.0
INI File Parser - Ricardo Amores Hernández https://github.com/rickyah/ini-parser Licensed under MIT License
Tween - Digital Ruby https://assetstore.unity.com/packages/tools/animation/tween-55983 Licensed under MIT License
Townscaper ModUI is licensed under Apache License, Version 2.0
1.3.0 - unity.3d file integrated into dll, update for latest game version
1.1.0 - new SelectionButton by MokoJM
1.0.0 - graphic elements overhaul
- new elements
0.8.4 - control dictionaries not static anymore
0.8.2 - small KeyCode field bugfix
- graphics and textsizes look better now
0.8.0 - First release