This is an extremely basic gamescript, mainly for testing AIs and NewGRF town expansion.
The script opens the storybook and pauses the game after a number of years (configurable, default 10) have passed. This lets you put a game in fast-forward and walk away, to see how the game grows over the period. Closing the storybook unpauses the game and restarts the counter.
It is available from Bananas.
Gamescript: Auto Pause
Moderator: OpenTTD Developers
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Gamescript: Auto Pause
That indeed sounds like a useful script for AI testing. Thanks for sharing it with us
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Gamescript: Auto Pause
v2!
v2 adds save/load compatibility.
- the script now remembers the date counter through save/load, rather than restarting the counter each time.
- If the game is save/loaded after counter has reached 0, the game is no longer irreparably paused - rather, the storybook will open and closing it will restart the counter and unpause the game as usual.
Available now on the fruit stand.
v2 adds save/load compatibility.
- the script now remembers the date counter through save/load, rather than restarting the counter each time.
- If the game is save/loaded after counter has reached 0, the game is no longer irreparably paused - rather, the storybook will open and closing it will restart the counter and unpause the game as usual.
Available now on the fruit stand.
Re: Gamescript: Auto Pause
谢谢分享!但不能用在专用服务器上。
Who is online
Users browsing this forum: No registered users and 30 guests