This post asks about repeating game years, and it does seems to be doable with a slight bodge - just use the game cheat menu to change the year back at regular intervals. If game scripts could change the game year, that could be automated. Would such a feature be reasonably easy to add?
viewtopic.php?f=33&t=82407&p=1200639
Can Gamescripts change the game year?
Moderator: OpenTTD Developers
- Simons Mith
- Transport Coordinator
- Posts: 326
- Joined: 14 Jan 2010 23:45
Re: Can Gamescripts change the game year?
https://nogo.openttd.org/api/1.8.0/clas ... 2130bd7022Simons Mith wrote:This post asks about repeating game years, and it does seems to be doable with a slight bodge - just use the game cheat menu to change the year back at regular intervals. If game scripts could change the game year, that could be automated. Would such a feature be reasonably easy to add?
viewtopic.php?f=33&t=82407&p=1200639
I did not test it, but maybe for year 2200 ..
GSGameSettings.SetValue ( "restart_game_year" , 2200);
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: Can Gamescripts change the game year?
I already understand. You do not want to change the year of the end of game but the current game year. So I do not know how to do it.agentw4b wrote:https://nogo.openttd.org/api/1.8.0/clas ... 2130bd7022Simons Mith wrote:This post asks about repeating game years, and it does seems to be doable with a slight bodge - just use the game cheat menu to change the year back at regular intervals. If game scripts could change the game year, that could be automated. Would such a feature be reasonably easy to add?
viewtopic.php?f=33&t=82407&p=1200639
I did not test it, but maybe for year 2200 ..
GSGameSettings.SetValue ( "restart_game_year" , 2200);
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Who is online
Users browsing this forum: No registered users and 33 guests