Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.86 KB

ManualAssetPackCreation.md

File metadata and controls

19 lines (16 loc) · 1.86 KB

Manually Creating your Asset Pack

  1. Clone the repository OR Create a repository based on this ("Use this template", green button)
  2. Open the repository in your windows explorer (file browser) and execute the AssetPackCreatorUtilities.exe. There you can rename your project. Choose a project name that contains no spaces or special characters and ends in AssetPack
  3. Open the repository sln-file with any IDE (Visual Studio, Rider, but NOT Visual Studio Code, that doesn't work)
  4. If you are using an alternative Cities Skylines II installation path, enter it in the CustomAssetPack.csproj-file under <CustomManagedPath>
  5. Create a file called pdx_account.txt on your Desktop. Put your PDX Mods username in the first line, your password in the second line. This is required for the mod to be published under your name and will not be shared with anyone.
  6. Put the assets you want to add into the "Resources/assets" folder in the solution explorer (subfolders allowed)
  7. Edit the localization file "en-US.json" to include your assets. Otherwise, they will have missing localization
  8. Add thumbnails to your assets. Make sure the icon path is set like this coui://customassets/PackName/CarProp.png
  9. Click on the Build Symbol (Hammer in Rider) at the top to build your project. This will load the assets into your local mods folder

Publishing your Asset Pack

To publish your mod you have to do the following steps:

  1. Open Properties/PublishConfiguration.xml in Notepad
  2. Edit <DisplayName>, <ShortDescription>, <LongDescription> and <Tag>
  3. Replace the thumbnail.png file by the thumbnail for your Asset Pack
  4. In Visual Studio, navigate to "Publish" and select "Publish New Mod". In Rider you can just select "Publish New Mod" next to the green arrow and press the arrow to execute the Publish Configuration.