Jump to content
Sign In to follow this  
Ryno917

Colour Variations - Selection and Asset Editor question

18 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

I was wondering if there was an 'exact' way to select the colours in the asset editor for colour variations (inputting an RGB or hex code perhaps?)? I'd like to make a couple variations of an asset, but use the same colour variations. In my asset editor currently there's just the palette - I don't see any method of inputting certain values, or finding out exactly what colour I have selected.

Also, is there a way to force the asset editor to display the colour variations currently? When I import a new asset the colour variations do not display, but when I load one it shows one of the colours. I'd like to see all of the colour variations in the asset editor by toggling through each one to make sure the colour I've selected appears the way I want it to on the asset before saving. Is this possible?

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

modtools scene explorer > tool Controller > m_editprefabinfo > m_colorX

  • Like 2

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Is any growable asset, custom or vanilla, suitable to create color variations for? As in, could I open any given growable in the Asset Editor and apply color variations to it, regardless of whether it already has them or not?

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
2 hours ago, Judazzz said:

Is any growable asset, custom or vanilla, suitable to create color variations for? As in, could I open any given growable in the Asset Editor and apply color variations to it, regardless of whether it already has them or not?

Yes. But some assets do not come with a color variation map. That means the color is applied to the whole asset, not just certain parts.

 

  • Like 1

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    11 hours ago, boformer said:

    modtools scene explorer > tool Controller > m_editprefabinfo > m_colorX

    So that will list the RGB values of the colour variations? And allow for direct editing, I assume?

    Is there any way to display the asset in the selected colour variation in the asset editor?

     

    Thanks!

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     
    2 hours ago, boformer said:

    Yes. But some assets do not come with a color variation map. That means the color is applied to the whole asset, not just certain parts.

     

    Ok, thanks.
    May be interesting to experiment with, to achieve a bit more visual variety with minimal effort (like adding color variations to a few row house assets).

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     
    14 minutes ago, Ryno917 said:

    So that will list the RGB values of the colour variations? And allow for direct editing, I assume?

    Is there any way to display the asset in the selected colour variation in the asset editor?

    Yes, you can edit them directly in Mod Tools. Just don't use the enter key after editing a value, that sometimes messes up the input (just click outside of text field instead).

    The variation displayed in the asset editor is always color0. When you found the right values, just put them into the other color fields.

    • Like 1

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    2 hours ago, boformer said:

    Yes, you can edit them directly in Mod Tools. Just don't use the enter key after editing a value, that sometimes messes up the input (just click outside of text field instead).

    The variation displayed in the asset editor is always color0. When you found the right values, just put them into the other color fields.

    OK, perfect. Thanks! I'll have a play with that hopefully today or tomorrow.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    After trying to figure out how to easily color a dozen assets as close to identically as possible, I was happy to come across this solution...but, as is my lot in life, something isn't working. I can find the color fields in ModTools fine but the changes never seem to commit. I can change the values and see the color block in ModTools change, but the color doesn't change in the AssetEditor (I assume it should update live) and if I try to use the props in game they haven't been updated. I've had some trouble finding any detailed ModTools tutorials, so I don't know what I might be doing wrong. I've tried closing and reopening over and over to see if it made a difference, but nothing has worked yet. 

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    I have the same issue @JRSly. I can see the color0 (which should be the only one that shows up anyway), but when I save it doesn't keep them. The color options in the default interface doesn't change either when I change the ones in ModTools. :(  We must be missing something that makes it work.


    My workshop items

    Catch my latest project and future plans on my Patreon page

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Just looked at the code. It is a little bit more difficult, but possible with a mod tools script.

    • Like 1

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     
    15 hours ago, boformer said:

    Just looked at the code. It is a little bit more difficult, but possible with a mod tools script.

    And you wouldn't have to have such a script or have the time to make one, would you? :golly: That sort of thing is way beyond my skills sadly.


    My workshop items

    Catch my latest project and future plans on my Patreon page

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    No luck sadly. I get no error message or anything, and the colors don't change in ModTools or the default editor. Ty for spending your time on this though. :D 


    My workshop items

    Catch my latest project and future plans on my Patreon page

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Thanks for the effort, boformer!

    It would be awesome if someone could make a mod to allow us to pick colours by hex or RGB#, and toggle between them in the asset editor so we can see in real time what we're doing. Especially for someone like me, who is colour blind, it would make the whole thing much easier.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     
    3 hours ago, Avanya said:

    No luck sadly. I get no error message or anything, and the colors don't change in ModTools or the default editor. Ty for spending your time on this though. :D 

    It is not supposed that the colors in mod tools or asset editor change. But when you save the asset, you should get the colors specified in the script.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Doesn't seem to be working for me either. I'll mess around with it later.

    Since it can't be as simply as just typing in numbers in Mod Tools, my ghetto, clunky way to try to get exact colors is navigate to the color section in Mod Tools and leave it up. Change the colors in the asset editor to where you think you want them. Save, load the asset again and the colors will be updated and you can see the new RGB values in Mod Tools. Rinse and repeat until you get the right values or you're frustrated enough to call it fine. It's not elegant and can still be tedious, but in the end at least you are (almost, unless you're really determined and keep at it) getting the exact values that you can apply to other assets to keep them consistent. And at least you can save and load in the same session, you don't have to back out of the Asset Editor or close the game or anything...so it's fairly quick to do. 

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    On 1/22/2016 at 1:47 PM, JRSly said:

    Doesn't seem to be working for me either. I'll mess around with it later.

    Since it can't be as simply as just typing in numbers in Mod Tools, my ghetto, clunky way to try to get exact colors is navigate to the color section in Mod Tools and leave it up. Change the colors in the asset editor to where you think you want them. Save, load the asset again and the colors will be updated and you can see the new RGB values in Mod Tools. Rinse and repeat until you get the right values or you're frustrated enough to call it fine. It's not elegant and can still be tedious, but in the end at least you are (almost, unless you're really determined and keep at it) getting the exact values that you can apply to other assets to keep them consistent. And at least you can save and load in the same session, you don't have to back out of the Asset Editor or close the game or anything...so it's fairly quick to do. 

    That's really depressing. I really hope CO or a modder can add an RGB value input to the colour selection in the asset editor.

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In to follow this  

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections