# HG changeset patch # User Wuzzy # Date 1555411313 -3600 # Node ID 6d99747d81e35cfd4ba4bc2c62058b70d99a96b5 # Parent c3de0c96ce6e701d4a4469a222080e3c671d8259 LuaGuide: Fix bullets diff -r c3de0c96ce6e -r 6d99747d81e3 LuaGuide.wiki --- a/LuaGuide.wiki Tue Apr 16 11:35:54 2019 +0100 +++ b/LuaGuide.wiki Tue Apr 16 11:41:53 2019 +0100 @@ -15,9 +15,9 @@ Now, Lua scripts are used for: * [Missions], one of three types: - * Training: Easy missions which explain the game, like a tutorial - * Challenge: Missions in which the goal is to reach a high score - * Scenario: Missions with a pre-set goal, like collecting a crate or killing all enemies + * Training: Easy missions which explain the game, like a tutorial + * Challenge: Missions in which the goal is to reach a high score + * Scenario: Missions with a pre-set goal, like collecting a crate or killing all enemies * Mission maps (e.g. TrophyRace) * Styles (e.g. Highlander, Balanced Random Weapon) * Campaigns @@ -27,9 +27,9 @@ Dependent on what type of script you want to write the requirements are a bit different, but before we go into that we must first create the `.lua` file. The location of the file depends on the script type. * If you want to make a mission for singleplayer then you create a new `.lua` in one of three directories, depending on the type: - * Training: `Data/Missions/Training` - * Challenge: `Data/Missions/Challenge` - * Scenario: `Data/Missions/Scenario` + * Training: `Data/Missions/Training` + * Challenge: `Data/Missions/Challenge` + * Scenario: `Data/Missions/Scenario` * If you want to make a mission for multi player (also called a “mission map”) you create a map and create a new file `map.lua` in the map's folder. * If you want to make a custom game style, create a new `.lua` file in `Data/Scripts/Multiplayer`. * Campaign missions go into `Data/Missions/Campaign/`. @@ -136,7 +136,7 @@ Continue with the following pages to learn more: - * [LuaAPI] contains a reference of most available functions and global variables - * [Missions] for a more in-depth guide on how to create missions - * [LuaLibraries] contains information about “libraries”, that is, extra scripts you can include for even more functions. One common library is `Locale` for making a mission translatable - * [GearTypes] contains the list of all gear types, along with an explanation of how the gears and their values work \ No newline at end of file + * [LuaAPI] contains a reference of most available functions and global variables + * [Missions] for a more in-depth guide on how to create missions + * [LuaLibraries] contains information about “libraries”, that is, extra scripts you can include for even more functions. One common library is `Locale` for making a mission translatable + * [GearTypes] contains the list of all gear types, along with an explanation of how the gears and their values work \ No newline at end of file