Jump to content
von_Maximilian

Help with sub-buildings appearing in the Rico UI

9 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

I fell like there is a simple solution to this problem but it is eluding me. In a previous post I was asking for help adding RICO settings to sub-buildings and I now have that sorted out. However, I have this problem where all my sub-buildings included in the RICO XML file are appearing in the UI panel as boxes (see image below). In the XML I deleted the ui-category="xxxx" for all the sub-buildings but that didn't do anything. I am out of ideas. In an old guide by AJ3D he mentions:

Quote

If your creating a complex mixed use asset, you only want your main building to be drawn to either the main game panels or the RICO panel. Make sure the BulidingInfos that your using as sub-buildings have "Procedural" placement style, so they are not drawn in the interface.

I am not sure how to give procedural placement style to buildings though, or if this is even the right solution lol. Any help appreciated.

 

 

 

5af5621becd02_Cities_Skylines5_11_20183_40_34AM-min.thumb.png.a754ee5e5b39e9c489b00778cc7b6ea2.png

Share this post


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

Are you using sub buildings enabler? Because using that they would show up in the menu.

If you are using the vanilla implementation for sub buildings, I have no idea how you ended up with them in the menu.

You can change it the same way as explained here: https://youtu.be/jbFvYGO-AFE?t=89

 


Ronyx rhymes with electronics...  

Steam  //  Twitch  //  YouTube  //  Twitter  //  CSLModding.INFO

Share this post


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

    Nope, not using sub buildings enabler - just the vanilla. I'll try again and see if it leads to the same outcome.

    So if I follow what you did in the video, changing the placement of the sub buildings to on terrain, it should fix the problem?

    • No 1

    Share this post


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

    So I know what causes it Ronyx.

    When I assign RICO to just the main building, everything works "fine" - meaning the main building gets the RICO settings from the XML file and the sub buildings just act as whatever they were when I created them (in this case parks). And only the main building appears in the RICO UI.

    As soon as I add RICO settings to the sub buildings however, they too follow the settings from the XML file but they also pop up in the UI then - which is not what I want.

    Share this post


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

    You need to change placement style, not placement mode.

    There are 3 placement styles:

    Manual

    Automatic

    Procedural

     

    follow the example in the video but instead of changing placement MODE to OnTerrain, change placement STYLE to Procedural

    Share this post


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

    TBP,

    So I opened up mod tools in the asset editor and changed the placement style to procedural from manual and saved the asset. But as soon as I reload my save game, after restarting CS, I open the building in scene exploring and find that it is right back at manual placement.

    Could it be the RICO settings causing this? And if so, do you know a solution?

    Just for reference I included a picture of the XML file so you see what it is I'm doing. It is the sub building ("Wheat Full/Cut Quarter 8x32.Wheat Full 8x16_Data") that I don't want to pop up in the UI but keeps doing so.

    PloppableRICODefinition.xml - Notepad 5_17_2018 7_57_24 AM.png

    Share this post


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

    I may be wrong but I think the sub buildings should not have their own RICO definitions, only the main building. RICO mod changes placement style to Manual for all RICO buildings.

    Share this post


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

    You may be right. I was, in this particular case, trying to create a mixed use farm - with the fields being extractors, barns being processors, and a house being residential (duh lol). And it works, except that they appear in the UI as separate buildings.

    I guess the only way to get it to work is to just plop them separately.

    My whole idea was to create some large working farm extractors so that 1) you could have actual working farms instead of just decoration and 2) you can save on props since they'd not count toward the limit if placed in the building in the asset editor.

    Share this post


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

    Does RICO care about UI priority? Because then you could "hide" the subbuildings at the end of the category by giving them the priority 99999999 (I think it's 9 digits that's allowed there). It wouldn't fix your problem, but at least it would make it clear what to plop.

    Mixed use buildings used to work with RICO, but back then that was using the Sub buildings mod since we didn't have real sub building support at that point. I guess maybe that part of RICO was dropped or never adapted to the sub buildings system that comes with the game.


    My workshop items

    Catch my latest project and future plans on my Patreon page

    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


    ×

    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