Jump to content
BobbyHPB

Need Help: Changing "OccupantGroups" programmatically

7 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Hi Simtropolean guys...

Just to the point of my question...

Is there any way to change OccupantGroups property under exemplar programmatically? I have this idea is to make another braketrough on my lot that you can be exiting to use it...

All suggestion are appreciated. Thanks a lot of lots...

BobHPB

  • Like 1

BobHPB

Happy City Maker

Share this post


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

Using Reader 0.9.3 and editing that property is the standard way to change OccupantGroups. Are you asking for a way to do a bunch of lots at once? Like in a batch mode method?

  • Like 2

Chance favors the prepared mind. ― Louis Pasteur  
Remember, a few hours of trial and error can save you several minutes of looking at the README. -- I Am Devloper (on Twitter)

Clickable ---> The Best of Cori's Posts  (scroll down a wee bit there)    Something fun: MySimtropolis - Invitation to become a SimCity 4 MySim

Are you new here? Check out the Introduction and Guide to Simtropolis.

Share this post


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

    No Cori, what I mean is during game time, for offline I have done but I want the lot to change itself during gametime...but thanks anyway for the advice...

    • Like 1

    BobHPB

    Happy City Maker

    Share this post


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

    Ah. Afaik, there is no way to change a lot's OccupantGroup while the game is running.

    • Like 1

    Chance favors the prepared mind. ― Louis Pasteur  
    Remember, a few hours of trial and error can save you several minutes of looking at the README. -- I Am Devloper (on Twitter)

    Clickable ---> The Best of Cori's Posts  (scroll down a wee bit there)    Something fun: MySimtropolis - Invitation to become a SimCity 4 MySim

    Are you new here? Check out the Introduction and Guide to Simtropolis.

    Share this post


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

    Hihihi...I have tried using LuA by making the reward.HIDDEN and reward.AVAILABLE...but it was just making the lot/building disappear from the menu.

    So to make it more clear, I want to make my grow able lot cannot make another grow with the same building when I zone it same size. For plopping, I have successful make the plop unavailable after the building is growing, it became hidden so you cannot make plopping with that building since you already have one sort of building in the city, not only exclusion group but it will remain HIDDEN until you bulldoze it.

    That's it Cori...any idea? Thanks again...

    • Like 2

    BobHPB

    Happy City Maker

    Share this post


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

    For the growables, the idea is that you could grow one or more of them and then toggle their OccupantGroup while in the game so no more of it grows?

    I believe the best you could do is put them in their own OG such as Euro and have everything else not be in Euro. Then with the Building Style Control you'd select Euro when you want those specific ones to grow and not Euro when you don't.

    • Like 2

    Chance favors the prepared mind. ― Louis Pasteur  
    Remember, a few hours of trial and error can save you several minutes of looking at the README. -- I Am Devloper (on Twitter)

    Clickable ---> The Best of Cori's Posts  (scroll down a wee bit there)    Something fun: MySimtropolis - Invitation to become a SimCity 4 MySim

    Are you new here? Check out the Introduction and Guide to Simtropolis.

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    15 minutes ago, CorinaMarie said:

    For the growables, the idea is that you could grow one or more of them and then toggle their OccupantGroup while in the game so no more of it grows?

    I believe the best you could do is put them in their own OG such as Euro and have everything else not be in Euro. Then with the Building Style Control you'd select Euro when you want those specific ones to grow and not Euro when you don't.

    Yes correct...but this prevent the first grow...I mean after the first grow then no more same building grow with the same size of tiles grow after zoning.


    BobHPB

    Happy City Maker

    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