You are viewing a potentially older version of this package. View all versions.
Cgameworld-Map_Texture_Replacer-1.0.1 icon

Map Texture Replacer

Easily replace grass, dirt and cliff map textures in your game

Date uploaded a year ago
Version 1.0.1
Download link Cgameworld-Map_Texture_Replacer-1.0.1.zip
Downloads 5912
Dependency string Cgameworld-Map_Texture_Replacer-1.0.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Cities2Modding-HookUI-0.3.9 icon
Cities2Modding-HookUI

Allows mod authors to inject their own UI into the existing CS2 game UI

Preferred version: 0.3.9

README

Map Texture Replacer

Mod Window Opened

This mod allows you to easily replace grass, dirt and cliff map textures in your game.

This mod takes advantage of the fact that map textures are stored as standard unity textures, making them straightforward to read and set.

Hopefully when the full official editor releases, it will include map theming tools, but in the meantime this mod makes basic theming possible.

Requirements

  • BepInEx 5
  • HookUI

Installation

  1. Download the mod from either thunderstore.io or from the mod's releases page on GitHub
  2. If installing from GitHub, place MapTextureReplacer folder inside BepInEx/plugins and optionally download the example texture pack DesertMapTheme.zip

Instructions

  1. To open, click on the HookUI button near the top left of the screen and select the mod from the dropdown
  2. Click "Load Texture Pack" to load a texture pack or click on "Select Image" to replace an individual texture.

Texture Packs

This mod has support to load in texture packs via zip files. This mod includes one example texture pack, a desert map theme.

The vanilla game uses 4096x4096 sized map textures by default for grass, 2048x2048 for dirt and cliff though smaller scaled textures will successfully replace. For example, the example desert map theme pack uses 1024x1024 sized textures.

To make your own pack, just compress some or all of the following filenames into a zip file

Grass_BaseColor.png
Grass_Normal.png
Dirt_BaseColor.png
Dirt_Normal.png
Cliff_BaseColor.png
Cliff_Normal.png

Changelog

1.0.1

  • Fix for set textures resetting after save/autosave

1.0.0

  • Initial Release

Disclaimer

This mod is experimental, so things might not work as expected. No settings are saved yet, so any changes are gone when you quit the game

Acknowledgements

Thanks to the Cities Skylines 2 modding community for making modding more accessible

Conclusion

Source Code
Discord

If you like this mod be sure to leave an upvote! Thanks

CHANGELOG

Changelog

2.0.2

  • Fix for pack name text overflowing inside UI dropdown
  • Fix for duplicate icon spawning bug

2.0.1

  • Fix for textures resetting when loading another save in the same session

2.0

  • Automatically loads packs from the bepinex plugin folder directly
  • Dropdowns to easily change packs or individual textures
  • Persistent settings between game loads
  • Tiling adjustments
  • Dedicated map editor support/button

1.0.2/1.0.3

  • Update HookUI dependency

1.0.1

  • Fix for set textures resetting after save/autosave

1.0.0

  • Initial Release