Asset ItemClass Changer

Cities: Skylines Mods |

Asset ItemClass Changer


Reassign an asset’s ItemClass (and main category / toolbar used to access).

DANGER – Assets can be broken

Broken assets will fail to load and cannot be fixed with the asset editor
It is strongly recommended that ItemClass changes be made to a new save file.
Duplicate files can be deleted; backups made after the fact are extraordinarily unlikely to fix anything.

for example While testing, a powerplant was reclassified as an industrial building, but left on manual placement.

Instead of loading, this asset now causes the error message[images.akamai.steamusercontent.com]:

Custom Assets: Meow Wind Turbine.Elevated Wind Turbine_Data: Private building cannot have manual placement style

While code has been added to prevent this from happening again, it is not perfect.

This is your warning to always keep a backup while using this mod-tool.

Asset ItemClass Changer

This mod adds a dropdown box to the Asset Property Editor that allows the reassignment of a given asset’s ItemClass.

The intended use of this mod is to ease the reassignment of assets into main categories using (mostly) safe known ItemClass types.

While this mod does change the Placement appropriately for the given service indicated by the ItemClass, It does not delete paths, roads and other net types inappropriate for privately owned (zoned) buildings. For these it will either refuse to make the change from a player building (government) or will emit a warning.

Additional ItemClass types introduced by mods dynamically could potentially be incompatible.

Future changes in validation rules could also render assets created with this mod broken .

Use
  • Load asset to be reassigned in Asset Editor.
  • Click on the drop box labeled Item Class
  • Select new asset class.
  • Verify this is the intended value before saving to a new file.
  • Verify that new file loads as desired before deleting original file.
Source code & Issues

Currently ItemClasses are sorted by Service, Sub Service, Level, and Name.

It was considered sorting by existing prefab type {Building, Citizen, Net, Prop, Transport, Tree, Vehicle, (other)}, and offering an “Are you sure?” warning when setting across types, but this would require scanning all assets and populating a new list, and could produce a sense of false security (as in the above example) because the validation rules are not known to be set in stone.

This sorting might be added later as future plans will require collecting UICategory (subgroup tab) data in a similar manner and this will make such mishaps less likely.

I forgot if concat was safe to use, so the list building is less than optimal, and the code has not been beautified or sanitized once working.

Toggle Asset Properties Panel is suggested to access the Properties panel where the Asset Editor automatically hides it.

If not automatically downloaded through the workshop, the source code of this mod is might eventually be available through

This is derived from “Building AI Changer” Copyright (c) 2015 Stefan Kaufhold– source availble from

I might respond to comments and discussion on the steam workshop, but will not forward discussion to the original author who has expressly requested contact via github.

javascript:ValidateForm()

Access Denied

Sorry, some kind of error has occurred: There was an error communicating with the network. Please try again later.

Help Desk Error

Steam servers are under maintenance. Normal operations will resume shortly. Thank you for your patience.

ಠ_ಠ
Credits
Snow_Cat
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

This content was uploaded by website visitors. If you notice any mistake, please let us know.


If you haven’t heard about the Cities: Skylines Mods, it’s definitely the time to be introduced. These additional files provide a gamer with extra features which are not originally included to the game. Cities: Skylines Mods free files are costless and can accessed by everyone who is interested. The Cities: Skylines Mods download can be completed easily without putting much effort. All you need to do is save the file to your PC and follow the instructions. There should be any problem with that, so no worries. Huge mass of players is using Cities: Skylines Mods around the world, so you shouldn’t stay behind – just click on Cities: Skylines Mods download button and go for the amazing upgrade! The Cities: Skyline game will change massively and it’s all for the best. Who could refuse adding useful functionality to the game? Definitely not you! So complete Cities: Skylines Mods download and take a look at the new version of the game made exactly by you. Sounds fascinating, isn’t it? But it’s better seeing yourself and fulfilling your craziest ideas. We bet there is bunch of them! Express your creativity and make it as useful as never before. It’s definitely a chance to take!



Useful Information:
- Cities: Skylines 2 Mods
- About Cities: Skyline Game
- How to Install Cities: Skylines Mods

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *