# HG changeset patch # User Wuzzy # Date 1544751782 0 # Node ID ad2641650d35c9cdacb622019e595e4bc152c4e5 # Parent 2e6f3bfcb26b3851f6b9cbad735d6126f67acc6b Missions: Add mission type diff -r 2e6f3bfcb26b -r ad2641650d35 Missions.wiki --- a/Missions.wiki Fri Dec 14 01:37:47 2018 +0000 +++ b/Missions.wiki Fri Dec 14 01:43:02 2018 +0000 @@ -12,7 +12,13 @@ See [LuaGuide], [LuaAPI] and [LuaLibraries] for more information about scripting. -This file needs to be saved in `Data/Missions/Training`. The file name must end with “`.lua`”. Remember the file name, you will need it for the other files. +This file needs to be saved in `Data/Missions/`, with `` being one of `Training`, `Challenge` or `Scenario`. The file name must end with “`.lua`”. Remember the file name, you will need it for the other files. + +These are the mission types: + + * Training: Tutorial-like mission that teaches the player a skill or is for practice. You can't lose + * Challenge: Player must master a particular skill in order to reach a high score + * Scenario: Player has to complete a predefined goal ==== Hints ==== In mission scripting, some patterns appear often, so here are some hints for your convenience (Refer to [LuaAPI] for a full documentation): @@ -31,7 +37,7 @@ The preview image is displayed in the mission menu when you have selected the mission. It must be a PNG image of size 314px×260px. -The file must be saved in `Data/Graphics/Missions/Training`. The file name must follow this pattern: +The file must be saved in `Data/Graphics/Missions/`. The file name must follow this pattern: `@2x.png`