Cities: Skylines

Cities: Skylines

115 ratings
Asset ItemClass Changer
Rate  
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
0.317 MB
Jun 4, 2015 @ 9:24am
Jul 7, 2015 @ 6:11pm
3 Change Notes ( view )

Subscribe to download
Asset ItemClass Changer

In 1 collection by Snow_Cat
Snow_Cat's questionable Asset Editor mods
7 items
Description
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:
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.
http://steamcommunity.com/sharedfiles/filedetails/?id=451710073
If not automatically downloaded through the workshop, the source code of this mod is might eventually be available through
https://github.com/dluechoy/

This is derived from "Building AI Changer" Copyright (c) 2015 Stefan Kaufhold– source availble from
https://github.com/cerebellum42/BuildingAIChanger

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.

ಠ_ಠ
< >
64 Comments
Elivenya Apr 9 @ 8:46pm 
Could you plese updat the mod. It's aat the moment not possible to add buildings to the new industrial ares or campus/ park areas class.
BrowncoatTrekky Feb 4 @ 5:30pm 
@Gabriel this mod has not been updated since 2015. That is 10dlcs back from the most recent update.
Gabriel Feb 4 @ 2:39pm 
Great mod!
I got a request: is it possible to change the class of other road types such as elevated, bridge, slope and tunnel? Currently the mod only changes the basic road type class.

Also, it would be PERFECT if you could create your own classes, although I don't know if it's possible
Lennep Dec 30, 2018 @ 12:20pm 
what a great mod, this is gonna save me so much work in the Asset Editor...!
Droidhacker Oct 19, 2018 @ 10:36am 
I am having issues changing an asset into a taxi, in particular the ultra prt pod, do you think it is the asset at fault (I am going to try deleting and re subscribing to the asset, or does this mod have a known issue with taxi vehicles? It worked fine on other vehicles and I am very appreciative of this mod so far! I am just asking to narrow down the source of the problem
orion Oct 5, 2018 @ 6:46am 
underrated
mjm92150 Jun 7, 2018 @ 1:55am 
Hello,
Is this working with the latest verions of CS MT (all DLC included ParkLife) ?
Satsuma Feb 12, 2018 @ 5:44am 
still working fine. deaktivated all mods except this and MoveIt!
Jake Daviau Nov 17, 2017 @ 8:54pm 
Will someone update this mod for newest game version/ DLC? When i edit my old buildings the asset editor menu has no icons and i read somewhere that it is because of mods that do this like this
GlutenFreeHugs Dec 6, 2016 @ 7:00am 
I have tried changing assets from residential class to unique building. They somehow still have the construction animation and some buildings disappear. Other s can stay but I still have to zone underneath it. I need to know to make it work right