Simutrans InGame Help Online


 
Save as Script Tool
Save as Script Tool
Here, all the structures the buildings und objects you previously selected with the dragged area are saved as a script. When you run the script later, it will attempt to build all of these structures and objects. Before you can save the script, you must assign a name. Alternatively, you can click on one of the existing scripts listed below and overwrite it.
You can delete scripts you no longer need by placing an X in front of it.

Click OK to save the new script tool.

You can find the saved tool in the personal simutrans directory, which also contains the saved game states in the save subdirectory. On Windows, this is located in "My Documents." On Linux, it can be found (possibly hidden) as "/home/[user]/.simutrans".
Within this personal directory, it is stored in simutrans/addons/[Grafikset]/tool/.
The script can be viewed and edited using a standard editor. The structure is quite easy to understand.

Index