Files included:
- info.nut - declarations of the GameScript - change these to your own. Most importantly change the ShortName to a 4-letter name of your own.
- version.nut - here the GameScript version is defined
- main.nut - the main class of the GameScript
- license.txt - the license which will be displayed in-game if user press License button
- readme.txt - readme file which will be displayed in-game if user press Readme button
- changelog.txt - changelog which will be displayed in-game if user press Changelog button
- make_tar.py - a python script for packing a tar with all nut files and translations and stamp it with the current version
The main class have a basic structure for save/load, main loop and simple event handling.
SuperLib import included, but can be removed
It also come with a few lines to import SuperLib - my collection of common helpers over the years which also contains some helpers contributed by other fellow script developers. However, those lines can easily be removed if you don't want to use SuperLib. Remember then to remove the few cases where SuperLib helpers are used to simplify Minimal GS. If you use GPLv2 you can inline that SuperLib code in your GS but will of course then not as easily get bug fixes included in future SuperLib releases. See the readme for more info.
Get started
Unpack the attached zip in Documents\OpenTTD\game or equivalent directory on your system. When developing, OpenTTD will find your game script as long as it compiles. Only for distribution, you need to pack it as a tar using for example the attached make_tar.py (if you add sub directories for your additional code files, the script needs to be extended to handle that).
Download Version history
1. Initial release (downloaded 283 times)
2. Version 2