modding:developerinfo:missionscripting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

modding:developerinfo:missionscripting [2018/02/08 11:17]
127.0.0.1 external edit
modding:developerinfo:missionscripting [2018/12/03 12:59] (current)
tom
Line 27: Line 27:
  
 [[http://​transportfever.com/​wiki/​script-doc/​|Scripting reference]] [[http://​transportfever.com/​wiki/​script-doc/​|Scripting reference]]
 +
 +==== Attaching a mission to an endless game ====
 +
 +Since 18126 mission scripts can be attached to endless games as a mod. To do so:
 +
 +  * Remove the ''​savegame''​ entry from the ''​info.lua'' ​
 +  * Remove the savegame itself
 +  * Rename the campaign and mission folder to ''​_auto_'',​ for example ''​sample_campaign_1\res\campaign\_auto_\_auto_''​
 +  * Adjust the path to the mission script in the info.lua accordingly
 +
  
  
modding/developerinfo/missionscripting.txt · Last modified: 2018/12/03 12:59 by tom