Cities: Skylines

Cities: Skylines

28 ratings
(Asset thumbnail) Sprite Changer
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
64.691 KB
29 May, 2015 @ 8:46am
1 Change Note ( view )

Subscribe to download
(Asset thumbnail) Sprite Changer

In 1 collection by Snow_Cat
Snow_Cat's questionable Asset Editor mods
7 items
Description
Copy Thumbnail (and tooltip) sprites from one asset to another; allows additon of these to older assets.

UPDATE
Toggle Asset Properties Panel mod now live. When editing intersections (and other mods that normally do not display the Properties panel) click the new "Properties" button in the Info Bar to show/hide it. This also works to get it out of the way when working w/ other asset types.

(Asset) Sprite Changer

This mod adds an entry into the Asset Property Editor that lets you copy the thumbnail and tooltip from one asset to another.

The main intended use of this mod is to add thumbnails to old assets and ease the curation of buildings until Colossus Order get the generate thumbnail feature implemented.

As this copies the UITextureAtlas instead of individual sprites if the currently loaded asset is missing any thumbnail on pasting it will also be missing from the target asset.

Use

  • Load asset w/ thumbnail & tooltip to be copied in Asset Editor.
  • Click copy, note paste button now is preview of tooltip banner/thumbnail.
  • Load asset to receive copied tooltip & thumbnail in Asset Editor.
  • Mouse over paste, note that it should show a preview of the thumbnail it will paste.
  • Click paste, the loaded asset's thumbnail&tooltip is now overwritten (along with all other textures in the copied atlas "secret sauce-- hint-hint.")
  • Verify that the desired tooltip and thumbnail appear on the save screen before saving.
No, I do not have a fix for the workshop preview-thumbnail going away. That is outside the scope of this mod.

Source code & Issues

WARNING: This is a stop-gap measure, don't expect everything to work. There are numerous places in the source code that are blatantly 'wrong'/inefishient. Some things ~~might~~ will remain broken.

For example, the Asset Properties window does not automatically open for some asset types (ie: intersections). Were I to add an 'open properties panel' button to the main tool bar, then I would need to add a 'close' button. And since other mods (incl this one to a limited extent) hook onto the opening and closing of that panel, bad things may happen...
    ModTools can open the panel...
      [s](Shoot, I am talking my self into making a toggle panel mod. I'll add that to the to do list, since that would be generally useful. I'll add that next to "automatically position camera to match default thumbnail perspective" on the long list of things not going to happen any time soon.)[/s]

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.
30 Comments
Leo Mystic Magic 19 Jun, 2015 @ 2:00pm 
Thanks, that would be amazing :D Would make life much easier.
Snow_Cat  [author] 19 Jun, 2015 @ 1:07pm 
... Some time tonight I'll put together a 'mod' for that.
Leo Mystic Magic 19 Jun, 2015 @ 12:21pm 
Ok, I forgot to mention.... is there away way to add in the UI Priority field? Just a form where I can enter a number is all I need. Tired of going into mod tools constantly and going through a tree of menus just to change one little thing. Thanks
Snow_Cat  [author] 19 Jun, 2015 @ 12:12pm 
Meow, my pleasure;

Originally I intended to package them as a single mod; but while I got the bugs out of each 'feature' having them as seperate mods started to make more sense. Still Might do at some point.


Colour mixing by hex value is feasible, but I won't get around to that any time soon as that will require altering the UITemplate to do the way I would like (augmenting the original picker, instead of having a duplicate next to it).
Leo Mystic Magic 19 Jun, 2015 @ 9:53am 
Thank you for your hard work on these properties panel mods. I am getting a lot of use out of them. I have a request for you. Is there any way you could also add to option of putting in HEX Code color values for color variations? As of right now all you have is a slider to deal with and so if you want 2 color variations out of the 4 you have to make 2 of the color variations the same and relying on a slider to get the same exact value is not ideal.

My other suggestion request is that you combine all these mods you've made and package them together into one. They all work well together and IMO should really just be one mod working with each other. Thanks again
Snow_Cat  [author] 13 Jun, 2015 @ 9:13pm 
For modders and content creators.
MrMaison 13 Jun, 2015 @ 6:57pm 
Is this for use on the user end or for modders to update? I'm looking to update some things on the workshop for in game icons for the subscribers.
Snow_Cat  [author] 4 Jun, 2015 @ 12:57pm 
@dazflint , No harm. I'm wondering if another mod might be renaming or duplicating something - I've not really made my code all that robust against another mod taking part the game and running away with it.
dazflint 4 Jun, 2015 @ 6:28am 
@Snow_Cat - hmm, I have *so* many mods! I've now tried turning everything off, except your Sprite Changer and the Toggle Asset Properties Panel. And it works! I should have tried that in the first place. When I next start up, I'll list the mods I have for you... :)
Athmo 1 Jun, 2015 @ 1:28pm 
Works great. Used it to fix all missing thumbnails from assets. Full description how is here:
http://sp.zhabite.com/workshop/discussions/-1/615085406669301511/?appid=255710