Jump to content
AmiPolizeiFunk

Can workshop buildings be used as sub-buildings?

7 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Just wondering, does anybody know if this is possible?

 

I'm trying to figure out a way to release my Treptowers office complex both in parts and as a one-plop.

Share this post


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

Vanilla sub-building implementation bundles the sub-buildings inside the main asset.

This is why I still used sub-buildings enabler mod for Doel even though the vanilla implementation was available.


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:  
     

    If SBE does something significant that the vanilla game can't do, why have you marked it "DEPRECATED"? This difference is significant enough IMO that we should still be popularizing SBE, and that would be hard to do with such a marking.

     

    Does SBE give all sub-buildings the same night light color by any chance? This is a real limiting issue for me.

    • Like 1

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     
    8 hours ago, AmiPolizeiFunk said:

    Does SBE give all sub-buildings the same night light color by any chance? This is a real limiting issue for me.

    No.

    I think the colors are assigned randomly, using the building id as the random seed. I tried to look into the code and couldn't find it, I was actually looking at the livestock spawner which clearly had code that randomly decided which animal to spawn based on the buildingid.

    Was thinking it would be possible to make a mod that would change this a bit - for all buildings that are used as sub-buildings, it would use the id of the parent building for the light color random seed instead. But I really have no idea how to do that, just an idea.

    • Like 1

    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:  
     

    That would be wonderful. I think the way it is now (with different parts lighting up different colors) looks terrible. Kinda defeats the whole purpose of having sub-buildings!

    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