Cities: Skylines

Cities: Skylines

162 évaluations
Asset ItemClass Changer
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Mod
Taille du fichier
Publié le
Mis à jour le
332.427 KB
4 juin 2015 à 9h24
7 juil. 2015 à 18h11
3 notes de changement ( voir )

S'abonner pour télécharger
Asset ItemClass Changer

Dans 1 collection faite par Snow_Cat
Snow_Cat's questionable Asset Editor mods
7 objets
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://gtm.steamproxy.vip/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.

ಠ_ಠ
65 commentaires
Still_Claire 8 févr. 2023 à 18h38 
A possible replacement/update available here:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2930517551
Elivenya 9 avr. 2020 à 20h46 
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 4 févr. 2020 à 17h30 
@Gabriel this mod has not been updated since 2015. That is 10dlcs back from the most recent update.
Gabriel 4 févr. 2020 à 14h39 
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 30 déc. 2018 à 12h20 
what a great mod, this is gonna save me so much work in the Asset Editor...!
Droidhacker 19 oct. 2018 à 10h36 
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 5 oct. 2018 à 6h46 
underrated
mjm92150 7 juin 2018 à 1h55 
Hello,
Is this working with the latest verions of CS MT (all DLC included ParkLife) ?
Satsuma 12 févr. 2018 à 5h44 
still working fine. deaktivated all mods except this and MoveIt!
Riddler 17 nov. 2017 à 20h54 
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