n-ice.org OpenTTD Forum
Administration => Tech talk => Topic started by: Nasccio on September 07, 2025, 10:30:55 am
-
Hi.
I'd like to set up a City Builder like n-ice servers #1 #2 and 6# to play offline, to change the difficulty and to change the lenght of the game.
Are you using Simpleton's City Builder script ? Which script do you use to build automatically new industries for the city' according to it growth and new needs ? Do you use other scripts in your server ?
Thanks for your answer :)
-
Hi,
it´s been a long time since I'm working on it. Server #2 cb-script contains: "Minimal GS" by Zuu, "Neighbours are important" by Zuu,"Realistic Town Dependencies" by Fanatik.
Server #1 and #6 contains completly rewrited stuff in style from "Simple City Builder" by TheDude but not the whole script. I guess the "automatic building part" is also from "Simple City Builder" script.
regards, Chucky.
-
Many thanks for your answer !
Regarding the "automatic building part", I only see a setting to generate powerplant et water town in each town, but no setting to generate one only when a city need it. I guess it's a custom part in your rewrited stuff ?
-
well, it depends of current town requirements and would be built in claimed town of the company only, look:
if (water>0){
//build water tower
this.PlaceIndustry(0x16 , 0x09, 1, 5, RANDOM,town_id);
town_id is the id of the claimed town.
0x16 is ID of water tower
-
Thanks for your answer !