[GS] CityController v13beta
Posted: 23 Mar 2014 14:01
Hello,
Take the control on how your cities grow...
Wellcome to City Controller game script
Main behaviors
- By default, towns does not grow anymore.
- Town growth is now based on cargo delivered. non-linear(logarithm scale)
- Two game modes : collaborative or competitive (claim your city !)
- Simple display on town screen (don't flood user with many figures, just highlight levels)
- Automatic and progressive cargo acceptance, based on installed newGRF, tested with ECS,FIRS, AXIS (any economy mode)
- Unlock more cargos by reaching global goals. Unlocked cargos makes city growing further.
- Control difficulty level as you want (grow rate, unlocking steps, initial cargos...)
- And more... Town stabilizer (rebuild user bulldozed tile town to keep town stable), industry sign for one who play transparency...
Download
download in game
or here:
Version history
Version 13 beta (18th of May, 2025)
please scroll to my last post for beta details and download.
Version 12 (February the 2nd, 2025)
- can recognize these 10 cargosets: Vanilla ottd, AXIS2, FIRS2, FIRS3, FIRS4, FIRS5, XIS, NAIS, ECS, YETI.
- fine tune cargo rate toward identified sets.
- bugfix on "zero cargo id" (like Alcohol in FIRS5/tempered)
- GS interaction possible with signs, can inject script into old savegame (place a sign with "GS:repair" and trigger exclusive rights)
- reduce cargo selector to 2 options (with/without mails)
- remove "Cargo to unlock" settings since we now manage cargosets individually.
- tested ok with openttd 15-beta1
Version 11 (January the 1st, 2025) Happy new year day !
- reshape setting screen, remove the "quick achievement" option
- add a new setting to control steps between cargos (for unlocking), 3k/5k/7k
- cargo unlock threshold got a smarter computation system.
- allow more cargos to be unlocked from 9 to 16
- rephrase several texts (english),
- added a welcome popup on co-op mode.
- reduce log footprint on AI console, silent a warning.
- report competition results are now on yearly basis in the AI console
- standard ottd cargos: ensure DIAM, VALU are last for unlocking.
Version 10 (December 2024)
- rebuild cargo selector to propose 3 choices for initial town growing :
1.normal = only basic cargos makes effect, unlock nexts on goal completion
2.few = you start with passengers only, unlock nexts on goal completion
3.ext = you start with more cargos.
Version 9
- change minimum version to 12
- bugfix town funding
- bugfix on company merge
- higher penalty for city conflict (competitive)
- clean traces on console.
- lower difficulty
Version 8 (March 2023) Back in the game !!!
compatibility release, stay tune for better release...
- fix crash when no cargo recognized for unlocking, prevent future cases.
- fix do not rely on old cargo id anymore to recognize cargo
- town effect is not used by FIRS and ECS, better use cargo code
- recognize 2 new cargos : vehicle and farm supply
- display completion year for cargo unlock goals
- add "quick Achievement" option to make goals faster to achieve (divide goals quantities from 2 to 5)
Version 7 (May 2015 : rev 164)
- fix a small issue with town increase indicator when town no cargo are delivered.
Version 6 (August 2014 : rev 162)
- add city stabilizer : new option
- fix loading big map issue
Version 5 (May 2014 : rev 147)
- fix a bug at industry sign
- fix a bug at town funding
- change text color
Version 4 (April 2014 : rev 141)
- new game type : competition (claimed city)
- display company or manager name at claimed city
- add company goal for claimed city
- add leader notes on global goals
- fix a bug at industry sign
Version 3 (April 2014 : rev 127)
- new cargo mode : start with few cargo, unlock others.
- display town thresholds as global goals, show goal progress (checked twice a year)
- town goal scales on number of accepted cargos
- yearly update of map inhab/house.
Version 2 (April 2014 : rev 115)
- fix : avoid unwanted house creation on gameload
- better inhab per house computation
- smoother town growing
- now on bananas !
Version 1 (March 2014 : rev 103)
- non linear growing rate
- only 1 game type for now : "Every towns are free, Collaborative Town growing", other types will come later...
- compatible FIRS, ECS and builtin economies
- town cago acceptance : 3 modes
- display industry name option
- cargo bonus when all cargo types are delivered
- two languages : EN, FR
- based on Minimal GS 2 from Zuu
Notes
- non linear growing
see next post for picture.
we can have different kind of curves depending on cargo classes.
- town acceptance.
the script does not change cargo town acceptance,
it just change how it's took into account.
in normal mode, town will took into account only basic cargos (depending on newGRF)
when your town is growing it will took into account more and more cargo.
the number of accepted cargo depends on town size.
- unlocking cargos.
depending on mode you choose, you can play with every cargo unlocked from the begining, or with a progressive approach.
on progressive mode, cargos are unlock when a given number of town reach a given size.
- bonus.
by delivering all expected cargo type to a town, a growing bonus is given.
you can reach higher bonus by unlocking cargo to deliver.
- delivered cargo
Picked up cargo is not took into account, but only delivered to town does count.
in multiplayer, in collaborative mode (other mode aren't developed yet) : every player cargos are summed up for each town.
- stabilizer.
when user bulldoze town tiles, city is decreasing, this script has option to avoid that.
The script can detect the number of house difference and trigger an house creation.
Compatibility
- no dependancy required.
- scripts tested with each 4 builtin climats, FIRS (any economy), ECS vectors, AXIS, and it will be compatible with upcoming ones, because it take towneffect cargo indicator.
- multiplayer compatible.
- savegame compatible.
- It's compatible with openttd v12 and higher, and have been tested toward JGRPP 0.56
note : if you play without economy newGRF, you will at least enjoy impact for valuable cargo.
https://github.com/primer97/ctct
Thank you.
Take the control on how your cities grow...
Wellcome to City Controller game script
Main behaviors
- By default, towns does not grow anymore.
- Town growth is now based on cargo delivered. non-linear(logarithm scale)
- Two game modes : collaborative or competitive (claim your city !)
- Simple display on town screen (don't flood user with many figures, just highlight levels)
- Automatic and progressive cargo acceptance, based on installed newGRF, tested with ECS,FIRS, AXIS (any economy mode)
- Unlock more cargos by reaching global goals. Unlocked cargos makes city growing further.
- Control difficulty level as you want (grow rate, unlocking steps, initial cargos...)
- And more... Town stabilizer (rebuild user bulldozed tile town to keep town stable), industry sign for one who play transparency...
Download
download in game
or here:
Version history
Version 13 beta (18th of May, 2025)
please scroll to my last post for beta details and download.
Version 12 (February the 2nd, 2025)
- can recognize these 10 cargosets: Vanilla ottd, AXIS2, FIRS2, FIRS3, FIRS4, FIRS5, XIS, NAIS, ECS, YETI.
- fine tune cargo rate toward identified sets.
- bugfix on "zero cargo id" (like Alcohol in FIRS5/tempered)
- GS interaction possible with signs, can inject script into old savegame (place a sign with "GS:repair" and trigger exclusive rights)
- reduce cargo selector to 2 options (with/without mails)
- remove "Cargo to unlock" settings since we now manage cargosets individually.
- tested ok with openttd 15-beta1
Version 11 (January the 1st, 2025) Happy new year day !
- reshape setting screen, remove the "quick achievement" option
- add a new setting to control steps between cargos (for unlocking), 3k/5k/7k
- cargo unlock threshold got a smarter computation system.
- allow more cargos to be unlocked from 9 to 16
- rephrase several texts (english),
- added a welcome popup on co-op mode.
- reduce log footprint on AI console, silent a warning.
- report competition results are now on yearly basis in the AI console
- standard ottd cargos: ensure DIAM, VALU are last for unlocking.
Version 10 (December 2024)
- rebuild cargo selector to propose 3 choices for initial town growing :
1.normal = only basic cargos makes effect, unlock nexts on goal completion
2.few = you start with passengers only, unlock nexts on goal completion
3.ext = you start with more cargos.
Version 9
- change minimum version to 12
- bugfix town funding
- bugfix on company merge
- higher penalty for city conflict (competitive)
- clean traces on console.
- lower difficulty
Version 8 (March 2023) Back in the game !!!
compatibility release, stay tune for better release...
- fix crash when no cargo recognized for unlocking, prevent future cases.
- fix do not rely on old cargo id anymore to recognize cargo
- town effect is not used by FIRS and ECS, better use cargo code
- recognize 2 new cargos : vehicle and farm supply
- display completion year for cargo unlock goals
- add "quick Achievement" option to make goals faster to achieve (divide goals quantities from 2 to 5)
Version 7 (May 2015 : rev 164)
- fix a small issue with town increase indicator when town no cargo are delivered.
Version 6 (August 2014 : rev 162)
- add city stabilizer : new option
- fix loading big map issue
Version 5 (May 2014 : rev 147)
- fix a bug at industry sign
- fix a bug at town funding
- change text color
Version 4 (April 2014 : rev 141)
- new game type : competition (claimed city)
- display company or manager name at claimed city
- add company goal for claimed city
- add leader notes on global goals
- fix a bug at industry sign
Version 3 (April 2014 : rev 127)
- new cargo mode : start with few cargo, unlock others.
- display town thresholds as global goals, show goal progress (checked twice a year)
- town goal scales on number of accepted cargos
- yearly update of map inhab/house.
Version 2 (April 2014 : rev 115)
- fix : avoid unwanted house creation on gameload
- better inhab per house computation
- smoother town growing
- now on bananas !
Version 1 (March 2014 : rev 103)
- non linear growing rate
- only 1 game type for now : "Every towns are free, Collaborative Town growing", other types will come later...
- compatible FIRS, ECS and builtin economies
- town cago acceptance : 3 modes
- display industry name option
- cargo bonus when all cargo types are delivered
- two languages : EN, FR
- based on Minimal GS 2 from Zuu
Notes
- non linear growing
see next post for picture.
we can have different kind of curves depending on cargo classes.
- town acceptance.
the script does not change cargo town acceptance,
it just change how it's took into account.
in normal mode, town will took into account only basic cargos (depending on newGRF)
when your town is growing it will took into account more and more cargo.
the number of accepted cargo depends on town size.
- unlocking cargos.
depending on mode you choose, you can play with every cargo unlocked from the begining, or with a progressive approach.
on progressive mode, cargos are unlock when a given number of town reach a given size.
- bonus.
by delivering all expected cargo type to a town, a growing bonus is given.
you can reach higher bonus by unlocking cargo to deliver.
- delivered cargo
Picked up cargo is not took into account, but only delivered to town does count.
in multiplayer, in collaborative mode (other mode aren't developed yet) : every player cargos are summed up for each town.
- stabilizer.
when user bulldoze town tiles, city is decreasing, this script has option to avoid that.
The script can detect the number of house difference and trigger an house creation.
Compatibility
- no dependancy required.
- scripts tested with each 4 builtin climats, FIRS (any economy), ECS vectors, AXIS, and it will be compatible with upcoming ones, because it take towneffect cargo indicator.
- multiplayer compatible.
- savegame compatible.
- It's compatible with openttd v12 and higher, and have been tested toward JGRPP 0.56
note : if you play without economy newGRF, you will at least enjoy impact for valuable cargo.
https://github.com/primer97/ctct
Thank you.