This is an old revision of the document!
A mission in Transport Fever is made up of an info file, a save game and a mission script. Every mission is part of a campaign, and the files and folders are structured accordingly. That is, every campaign is a directory in res\campaign\
, and each mission is a subdirectory of its campaign. The campaign itself also has an info file (info.lua
) which should be self-explanatory.
Note: everything should be put at your campaign mod directory (see Directory structure).
Please have a look at the existing campaigns for details.
Please have a look at the existing campaigns for details.
You can either create a new game or use an existing save game. Important is that the campaign mod is active, when creating/loading the game. Then you can save the game and copy the save game to your mission folder.
Please look at the sample and the existing mission scripts to get more familiar with its format and structure.