Script adding personal "cities" setting to the game

Discussions about scenario games and user-defined scripts.
Post Reply
ad_verbum
Posts: 8
Joined: Thu Apr 24, 2025 7:56 pm

Script adding personal "cities" setting to the game

Post by ad_verbum »

I want to play with my own "cities" settings. I created script with parameters for the cities, following sample script from game /script/Sample scripts/ folder.

It works I got what I wanted but when trying to start new custom game and I load my script I'm losing "Environment", "Competitors, "DLC", "Products" and "Goal" settings. Don't see them and can't set them.

Do I need to add all these settings to my own script, even if I only wanted to change settings for "cities"?
User avatar
Stylesjl
Mod Expert
Mod Expert
Posts: 888
Joined: Sun Oct 29, 2023 4:01 am
Location: Sydney, Australia
Has thanked: 63 times
Been thanked: 82 times

Re: Script adding personal "cities" setting to the game

Post by Stylesjl »

ad_verbum wrote: Thu Apr 24, 2025 9:26 pm I want to play with my own "cities" settings. I created script with parameters for the cities, following sample script from game /script/Sample scripts/ folder.

It works I got what I wanted but when trying to start new custom game and I load my script I'm losing "Environment", "Competitors, "DLC", "Products" and "Goal" settings. Don't see them and can't set them.

Do I need to add all these settings to my own script, even if I only wanted to change settings for "cities"?
Yes, you will need to set these in your scripts. Otherwise those settings will just use the game's default settings.
ad_verbum
Posts: 8
Joined: Thu Apr 24, 2025 7:56 pm

Re: Script adding personal "cities" setting to the game

Post by ad_verbum »

Stylesjl wrote: Fri Apr 25, 2025 5:56 am Yes, you will need to set these in your scripts. Otherwise those settings will just use the game's default settings.
Thank you for confirmation. Found informations at web page (New Content > User definied scripts) and now I'm going to set up all and combine in one script file. Hope it will work.

If I may have another question: is that value of 2000000 hard limit? I played with CES and it was frustrating when after reaching 1000000 of population city stopped growing. My goal for next game is let city grow longer time, as long as it is possible. I will start also with lower initial population.

[CITY ECONOMIC SIMULATION DLC]
Initial City Population=<250000>
Max City Population=<2000000>
User avatar
Stylesjl
Mod Expert
Mod Expert
Posts: 888
Joined: Sun Oct 29, 2023 4:01 am
Location: Sydney, Australia
Has thanked: 63 times
Been thanked: 82 times

Re: Script adding personal "cities" setting to the game

Post by Stylesjl »

ad_verbum wrote: Fri Apr 25, 2025 4:19 pm
Stylesjl wrote: Fri Apr 25, 2025 5:56 am Yes, you will need to set these in your scripts. Otherwise those settings will just use the game's default settings.
Thank you for confirmation. Found informations at web page (New Content > User definied scripts) and now I'm going to set up all and combine in one script file. Hope it will work.

If I may have another question: is that value of 2000000 hard limit? I played with CES and it was frustrating when after reaching 1000000 of population city stopped growing. My goal for next game is let city grow longer time, as long as it is possible. I will start also with lower initial population.

[CITY ECONOMIC SIMULATION DLC]
Initial City Population=<250000>
Max City Population=<2000000>
I don't know if Max City Population is a hard limit - I did a test and it did not stop the city from growing beyond the number I specified. I'm not sure if that is a bug or if I am misunderstanding what it does.
ad_verbum
Posts: 8
Joined: Thu Apr 24, 2025 7:56 pm

Re: Script adding personal "cities" setting to the game

Post by ad_verbum »

Stylesjl wrote: Sun Apr 27, 2025 3:18 am I don't know if Max City Population is a hard limit - I did a test and it did not stop the city from growing beyond the number I specified. I'm not sure if that is a bug or if I am misunderstanding what it does.
I just started new game with Max City Population=<2000000> so it will be a test. Population is growing wery quickly so it shouldn't take too long time to get answer.
Post Reply