Cities: Skylines

Cities: Skylines

Not enough ratings
Advanced Asset Editor Panel for Item Category
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
20.480 KB
Feb 8, 2023 @ 3:15pm
1 Change Note ( view )

Subscribe to download
Advanced Asset Editor Panel for Item Category

In 1 collection by Still_Claire
Questionably Updated Mods
5 items
Description
Advanced Asset Editor Panel for Item Category, aka Asset Category Changer Revisited
version 0.1.0.1
Update of "Asset UICategory Changer" by D LueChoy (lynxSnowCat) 2015

This mod adds a panel to the Asset Editor to access the Category asset field.
All due credit to original author who did all the heavy lifting.
Use at your own risk. Always back up your work. Disabling or unsubscribing this mod will not un-break your assets.

Please be advised all I did was edit the original code (available at https://github.com/dluechoy/BuildingAIChanger) according to VS2022. It seems to work now but I can claim no real authorship of this mod nor knowledge of its code. As far as I can tell, it may as well be magic. :)

Since the original mod (found here https://steamcommunity.com/sharedfiles/filedetails/?id=458396767) worked for seven-plus years without needing an update, hopefully this one will stay functional for at least a few months.

Be advised this mod could possibly break your assets. Just like the original, it will not stop you from assigning a Category that is inappropriate. So far it doesn't seem to totally break the asset, it just makes it impossible to find (unless using a mod like FindIt!); usually you should be able to load it again to fix the Category type. Still, BACK UP YOUR WORK. Don't experiment with your only copy of your masterpiece.

Please review all original descriptions, directions and warnings at https://steamcommunity.com/sharedfiles/filedetails/?id=458396767.

Disabling or unsubscribing this mod will not un-break your assets.

What this mod does:
1. Adds a panel to the Asset Editor to access the Category asset field. The Category field is an existing asset field that is by default hidden in Asset Editor.
2. Adds a field dropdown selection list of available Category types. This list is generated by code and therefore should always be accurate after content updates, but there is no check to keep you from assigning a Category type that breaks your asset. USE AT YOUR OWN RISK. BACK UP YOUR WORK. Disabling or unsubscribing this mod will not un-break your assets.
3. Displays the Category assigned to the item when loaded in the editor.

Things about what this mod doesn't do:
1. This mod does not create fields or change game behavior; it only affects the Asset Editor (and any assets you break with it).
2. This mod does not require other mods to work. It can be safely disabled at any time and assets modified with it will not revert. (This means if you broke an asset, it stays broken.)
3. This mod does not need to be present to use assets modified with this mod; assets created using this mod will retain their values. Other players do not need to have this mod to use assets created using it.
4. This mod does not cause conflicts with other mods (except the original - be sure to unsubscribe if you haven't already).

Do you need this mod?

Probably not, most players won't.

Changing an asset's Category only changes where you find it on the game toolbar. If you use FindIt! (or something similar), you probably won't need this mod.

On the toolbar, the Item Class is represented by the buttons (roads, power, parks, etc); the UI Category is represented by those tabs some buttons have (when no tabs, those items are all in the Class's "default" Category).

You can create new tabs by assigning a Category to the asset that doesn't usually exist for that Class: for example, a parking lot Park asset (Park AI, Beautification Class) can be assigned the Small Roads Category and a new tab with the small road icon should appear in the toolbar when you open Parks. (If you repurpose an asset from the Workshop, respect the creator's rights.)

How to use:
1. Subscribe.
2. BACK UP YOUR WORK.
3. Activate in Content Manager as with any mod.
4. Load Asset Editor, edit or create a new asset.
5. When the Editor loads, the new panel will be in place and displaying the asset's Category type.
6. Click the arrow of the dropdown box and select the Category type you want to assign.
7. Continue to modify your asset (or not) and save.

Check out the updated How To Repurpose Assets Guide for detailed instructions.
2 Comments
Still_Claire  [author] Mar 5, 2023 @ 1:34pm 
As stated above: "all I did was edit the original code (available at [link]) according to VS2022. It seems to work now but I can claim no real authorship of this mod nor knowledge of its code."
Chamëleon TBN Mar 5, 2023 @ 8:38am 
What have _you _changed? Mods without published up to date source code will receive a warning in Compatibility Report.