Skylords Reborn
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
mission_briefing_description = "",
 
mission_briefing_description = "",
 
loading_screen_text = "",
 
loading_screen_text = "",
  +
plot2 = "",
  +
conclusion1 = "",
  +
conclusion2 = "",
 
spectator_map_available = ,
 
spectator_map_available = ,
 
rankings = {
 
rankings = {
Line 56: Line 59:
 
| <code>map_names</code> || Enter the map tab names if scenario consists of multiple maps. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only mandatory for 12 player maps]] ||
 
| <code>map_names</code> || Enter the map tab names if scenario consists of multiple maps. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only mandatory for 12 player maps]] ||
 
*Currently only applicable for 12-player scenarios.
 
*Currently only applicable for 12-player scenarios.
**<code><nowiki>{</nowiki>"{{pht|map name}}", "{{pht|map name}}", "{{pht|map name}}"<nowiki>}</nowiki></code>
+
**<code><nowiki>{</nowiki>"{{pht|map name}}", "{{pht|map name}}", "{{pht|map name}}"<nowiki>},</nowiki></code>
 
|-
 
|-
 
| <code>min_players</code> || Minimum number of players requiered to sucessfully play the map. || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
 
| <code>min_players</code> || Minimum number of players requiered to sucessfully play the map. || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
Line 64: Line 67:
 
*<code>4</code>
 
*<code>4</code>
 
*For 12-player scenarios use the following syntax:
 
*For 12-player scenarios use the following syntax:
**<code><nowiki>{</nowiki>{{pht|map 1 value}}, {{pht|map 2 value}}, {{pht|map 3 value}}<nowiki>}</nowiki></code>
+
**<code><nowiki>{</nowiki>{{pht|map 1 value}}, {{pht|map 2 value}}, {{pht|map 3 value}}<nowiki>},</nowiki></code>
 
|-
 
|-
 
| <code>starting_positions</code> || Coordinates of starting positions. First entry represents player 1, second entry player 2, and so on. The number of entries is used to determine the maximum amount of starting players on this map. || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
 
| <code>starting_positions</code> || Coordinates of starting positions. First entry represents player 1, second entry player 2, and so on. The number of entries is used to determine the maximum amount of starting players on this map. || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
 
*The location is given by inputting coordinates representaing percentages of the minimap image in the following format:
 
*The location is given by inputting coordinates representaing percentages of the minimap image in the following format:
**<code><nowiki>{</nowiki>{{pht|% of x-axis}},{{pht|% of y-axis}}<nowiki>}</nowiki></code>.
+
**<code><nowiki>{</nowiki>{{pht|% of x-axis}},{{pht|% of y-axis}}<nowiki>},</nowiki></code>
 
*If it is a multiplayer map, use a table instead:
 
*If it is a multiplayer map, use a table instead:
**<code><nowiki>{</nowiki>{{pht|set of coordinates}}, ..., {{pht|set of coordinates}}<nowiki>}</nowiki></code>
+
**<code><nowiki>{</nowiki>{{pht|set of coordinates}}, ..., {{pht|set of coordinates}}<nowiki>},</nowiki></code>
 
**For multi-map scenarios, put these tables of each map again into a table.
 
**For multi-map scenarios, put these tables of each map again into a table.
 
|-
 
|-
 
| <code>chest_positions</code> || Coordinates of gold chest positions. The number of entries is used to determine the maximum amount of obtainable chests on this map. || style="text-align:center;" | [[File:True.svg|17px|link=|False]] ||
 
| <code>chest_positions</code> || Coordinates of gold chest positions. The number of entries is used to determine the maximum amount of obtainable chests on this map. || style="text-align:center;" | [[File:True.svg|17px|link=|False]] ||
 
*The location is given by inputting coordinates representaing percentages of the minimap image in the following format:
 
*The location is given by inputting coordinates representaing percentages of the minimap image in the following format:
**<code><nowiki>{</nowiki>{{pht|% of x-axis}},{{pht|% of y-axis}}<nowiki>}</nowiki></code>.
+
**<code><nowiki>{</nowiki>{{pht|% of x-axis}},{{pht|% of y-axis}}<nowiki>},</nowiki></code>
 
*If it is a multiplayer map, use a table instead:
 
*If it is a multiplayer map, use a table instead:
**<code><nowiki>{</nowiki>{{pht|set of coordinates 1}}, ..., {{pht|set of coordinates n}}<nowiki>}</nowiki></code>
+
**<code><nowiki>{</nowiki>{{pht|set of coordinates 1}}, ..., {{pht|set of coordinates n}}<nowiki>},</nowiki></code>
 
**For multi-map scenarios, put these tables of each map again into a table.
 
**For multi-map scenarios, put these tables of each map again into a table.
 
|-
 
|-
 
| <code>quest_positions</code> || Coordinates of quest goal positions. || style="text-align:center;" | [[File:True.svg|17px|link=|True]] ||
 
| <code>quest_positions</code> || Coordinates of quest goal positions. || style="text-align:center;" | [[File:True.svg|17px|link=|True]] ||
 
*Each goal has to be organized in a table as shown below:
 
*Each goal has to be organized in a table as shown below:
**<code><nowiki>{</nowiki>letter="{{pht|letter}}", {{pht|% of x-axis}},{{pht|% of y-axis}}, "{{pht|custom tooltip text}}"<nowiki>}</nowiki></code>
+
**<code><nowiki>{</nowiki>letter="{{pht|letter}}", {{pht|% of x-axis}},{{pht|% of y-axis}}, "{{pht|custom tooltip text}}"<nowiki>},</nowiki></code>
 
**All letters from <code>A</code> - <code>Z</code> are available.
 
**All letters from <code>A</code> - <code>Z</code> are available.
 
***When no letter parameter is given, the goal icon will be empty.
 
***When no letter parameter is given, the goal icon will be empty.
 
**An alternate custom tooltip can be specified that will be displayed upon hovering over the goal.
 
**An alternate custom tooltip can be specified that will be displayed upon hovering over the goal.
 
*All goals of a map have to be organized in a table aswell:
 
*All goals of a map have to be organized in a table aswell:
**<code><nowiki>{</nowiki>{{pht|goal 1}}, ..., {{pht|goal n}}<nowiki>}</nowiki></code>
+
**<code><nowiki>{</nowiki>{{pht|goal 1}}, ..., {{pht|goal n}}<nowiki>},</nowiki></code>
 
**For multi-map scenarios, put these tables of each map again into a table.
 
**For multi-map scenarios, put these tables of each map again into a table.
 
|-
 
|-
Line 108: Line 111:
 
**<code><nowiki>{</nowiki>"{{pht|scenario name 1}}", ..., "{{pht|scenario name n}}"<nowiki>},</nowiki></code>
 
**<code><nowiki>{</nowiki>"{{pht|scenario name 1}}", ..., "{{pht|scenario name n}}"<nowiki>},</nowiki></code>
 
|-
 
|-
| <code>setup_description</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
+
| <code>setup_description</code> || Description of the PvE scenario shown in the Setup Window. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only required for PvE]] ||
*<code>{{pht|Custom text}}</code>
+
*<code>"{{pht|Custom text}}"</code>
  +
**Use <code><nowiki><br></nowiki></code> for a line break.
  +
**May contain template styling and links.
 
|-
 
|-
| <code>mission_briefing_description</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
+
| <code>mission_briefing_description</code> || Description of the map shown in the Mission Briefing Window. || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
*<code>{{pht|Custom text}}</code>
+
*<code>"{{pht|Custom text}}"</code>
  +
**Use <code><nowiki><br></nowiki></code> for a line break.
 
|-
 
|-
| <code>loading_screen_text</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
+
| <code>loading_screen_text</code> || Text shown during [[Loading Screens|loading screen]] of the scenario. If the scenario has a story book entry, this text is identical with the first part of the plot there. A respective audio file does then always exist. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only required for PvE]] ||
*<code>{{pht|Custom text}}</code>
+
*<code>"{{pht|Custom text}}"</code>
  +
**Use <code><nowiki><br></nowiki></code> for a line break, twice for a new paragraph or page break.
  +
**Use <code>“</code> and <code>”</code> for quotation marks.
 
|-
 
|-
| <code>spectator_map_available</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
+
| <code>plot2</code> || Second plot text of the scenario which is displayed in the story book. Does not exist for all scenarios. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only applicable for some PvE scenarios]] ||
*<code>{{pht|Custom text}}</code>
+
*<code>"{{pht|Custom text}}"</code>
  +
**Use <code><nowiki><br></nowiki></code> for a line break, twice for a new paragraph or page break.
  +
**Use <code>“</code> and <code>”</code> for quotation marks.
  +
*<code>nil</code>, if it does not exist.
 
|-
 
|-
  +
| <code>conclusion1</code> || First conclusion text of the scenario which is displayed in the story book. A respective audio file does always exist. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only required for PvE]] ||
| colspan="4" style="background-color:#070F19;" | '''Ranking related parameters''' (this block repeats as many times as there are filterable rankings for the map)
 
 
*<code>"{{pht|Custom text}}"</code>
  +
**Use <code><nowiki><br></nowiki></code> for a line break, twice for a new paragraph or page break.
  +
**Use <code>“</code> and <code>”</code> for quotation marks.
  +
*<code>nil</code>, if it does not exist.
 
|-
 
|-
| <code>ranking_numberplayers</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
+
| <code>conclusion2</code> || Second conclusion text of the scenario which is displayed in the story book. Does not exist for all scenarios. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only applicable for some PvE scenarios]] ||
*<code>{{pht|Custom text}}</code>
+
*<code>"{{pht|Custom text}}"</code>
  +
**Use <code><nowiki><br></nowiki></code> for a line break, twice for a new paragraph or page break.
  +
**Use <code>“</code> and <code>”</code> for quotation marks.
  +
*<code>nil</code>, if it does not exist.
 
|-
 
|-
| <code>ranking_time</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
+
| <code>spectator_map_available</code> || Availability of an official spectator map. || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
*<code>{{pht|Custom text}}</code>
+
*If available: <code>true</code>
  +
*If not available: <code>false</code>
 
|-
 
|-
 
| colspan="4" style="background-color:#070F19;" | '''Ranking related parameters''' (This block repeats as many times as there are filterable rankings for the map.)
| <code>ranking_players</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
 
*<code>{{pht|Custom text}}</code>
 
 
|-
 
|-
| <code>ranking_date</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
+
| <code>ranking_numberplayers</code> || Ranking category based on the maximum number of players in which this time is the fastest. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only required for PvE]] ||
  +
*Only list rankings that are applicable based on the maximum number of starting players of this map.
*<code>{{pht|Custom text}}</code>
 
  +
**<code>12</code>
  +
**<code>11</code>
  +
**...
  +
**<code>2</code>
  +
**<code>1</code>
 
|-
 
|-
| <code>ranking_difficulty</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
+
| <code>ranking_time</code> || Time in which the scenario was won. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only required for PvE]] ||
*<code>{{pht|Custom text}}</code>
+
*<code>"{{pht|mm:ss.ds}}"</code>
  +
|-
 
| <code>ranking_players</code> || Names of players that achieved the time. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only required for PvE]] ||
  +
*List the names alphabetically from left to right in a table:
  +
**<code><nowiki>{</nowiki>"{{pht|player name 1}}", ..., "{{pht|player name n}}"<nowiki>},</nowiki></code>
  +
|-
  +
| <code>ranking_date</code> || Date when the time was achieved. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only required for PvE]] ||
 
*<code>"{{pht|month year}}"</code>
  +
|-
  +
| <code>ranking_difficulty</code> || Difficulty at which this time was achieved. || style="text-align:center;" | [[File:Circle.svg|17px|link=|Only required for PvE]] ||
  +
*Usually the highest available difficulty:
  +
**<code>"Standard"</code>
  +
**<code>"Advanced"</code>
  +
**<code>"Expert"</code>
 
|}
 
|}
   

Latest revision as of 18:32, 3 July 2021

Description

This module stores all data about the currently existing playable maps in alphabetical order. Whenever map changes occur this module needs to be updated respectively.

Syntax

All maps' data is stored in a standardized way as shown below.

    ["map name"] = {
        type = ,
        map_names = {"", "", ""},
        min_players = ,
        starting_positions = ,
        chest_positions = ,
        quest_positions = {},
        difficulties = ,
        campaign_name = "",
        prerequisites = "",
        unlocks = "",
        setup_description = "",
        mission_briefing_description = "",
        loading_screen_text = "",
        plot2 = "",
        conclusion1 = "",
        conclusion2 = "",
        spectator_map_available = ,
        rankings = {
            {
                ranking_numberplayers = n(max),
                ranking_time = "",
                ranking_players = {"", ""},
                ranking_date = "",
                ranking_difficulty = ""
            },
            {
                ranking_numberplayers = 1,
                ranking_time = "",
                ranking_players = {"", ""},
                ranking_date = "",
                ranking_difficulty = ""
            }
        }
    },
Parameter and Syntax Explanation
Parameter Explanation / Usage Notes Omissible Accepted Input
["<map name>"] Full name of the map. False
  • <Custom text>
type Matchmaking type. False
  • "PvE"
  • "PvP"
map_names Enter the map tab names if scenario consists of multiple maps. Only mandatory for 12 player maps
  • Currently only applicable for 12-player scenarios.
    • {"<map name>", "<map name>", "<map name>"},
min_players Minimum number of players requiered to sucessfully play the map. False
  • 1
  • 2
  • 3
  • 4
  • For 12-player scenarios use the following syntax:
    • {<map 1 value>, <map 2 value>, <map 3 value>},
starting_positions Coordinates of starting positions. First entry represents player 1, second entry player 2, and so on. The number of entries is used to determine the maximum amount of starting players on this map. False
  • The location is given by inputting coordinates representaing percentages of the minimap image in the following format:
    • {<% of x-axis>,<% of y-axis>},
  • If it is a multiplayer map, use a table instead:
    • {<set of coordinates>, ..., <set of coordinates>},
    • For multi-map scenarios, put these tables of each map again into a table.
chest_positions Coordinates of gold chest positions. The number of entries is used to determine the maximum amount of obtainable chests on this map. False
  • The location is given by inputting coordinates representaing percentages of the minimap image in the following format:
    • {<% of x-axis>,<% of y-axis>},
  • If it is a multiplayer map, use a table instead:
    • {<set of coordinates 1>, ..., <set of coordinates n>},
    • For multi-map scenarios, put these tables of each map again into a table.
quest_positions Coordinates of quest goal positions. True
  • Each goal has to be organized in a table as shown below:
    • {letter="<letter>", <% of x-axis>,<% of y-axis>, "<custom tooltip text>"},
    • All letters from A - Z are available.
      • When no letter parameter is given, the goal icon will be empty.
    • An alternate custom tooltip can be specified that will be displayed upon hovering over the goal.
  • All goals of a map have to be organized in a table aswell:
    • {<goal 1>, ..., <goal n>},
    • For multi-map scenarios, put these tables of each map again into a table.
difficulties Available difficulties for the scenario. Only mandatory for PvE
  • {standard = <boolean>, advanced = <boolean>, expert = <boolean>},
    • If available: true
    • If not available: false
campaign_name Name of the campaign story of which the scenario is part. True
  • "<campaign story name>"
prerequisites Names of scenarios that need to be unlocked first to play this scenario. True
  • "<scenario name>"
    • If it is more than one, use a table instead:
    • {"<scenario name 1>", ..., "<scenario name n>"},
unlocks Names of scenarios that will be unlocked by winning this scenario. True
  • "<scenario name>"
    • If it is more than one, use a table instead:
    • {"<scenario name 1>", ..., "<scenario name n>"},
setup_description Description of the PvE scenario shown in the Setup Window. Only required for PvE
  • "<Custom text>"
    • Use <br> for a line break.
    • May contain template styling and links.
mission_briefing_description Description of the map shown in the Mission Briefing Window. False
  • "<Custom text>"
    • Use <br> for a line break.
loading_screen_text Text shown during loading screen of the scenario. If the scenario has a story book entry, this text is identical with the first part of the plot there. A respective audio file does then always exist. Only required for PvE
  • "<Custom text>"
    • Use <br> for a line break, twice for a new paragraph or page break.
    • Use and for quotation marks.
plot2 Second plot text of the scenario which is displayed in the story book. Does not exist for all scenarios. Only applicable for some PvE scenarios
  • "<Custom text>"
    • Use <br> for a line break, twice for a new paragraph or page break.
    • Use and for quotation marks.
  • nil, if it does not exist.
conclusion1 First conclusion text of the scenario which is displayed in the story book. A respective audio file does always exist. Only required for PvE
  • "<Custom text>"
    • Use <br> for a line break, twice for a new paragraph or page break.
    • Use and for quotation marks.
  • nil, if it does not exist.
conclusion2 Second conclusion text of the scenario which is displayed in the story book. Does not exist for all scenarios. Only applicable for some PvE scenarios
  • "<Custom text>"
    • Use <br> for a line break, twice for a new paragraph or page break.
    • Use and for quotation marks.
  • nil, if it does not exist.
spectator_map_available Availability of an official spectator map. False
  • If available: true
  • If not available: false
Ranking related parameters (This block repeats as many times as there are filterable rankings for the map.)
ranking_numberplayers Ranking category based on the maximum number of players in which this time is the fastest. Only required for PvE
  • Only list rankings that are applicable based on the maximum number of starting players of this map.
    • 12
    • 11
    • ...
    • 2
    • 1
ranking_time Time in which the scenario was won. Only required for PvE
  • "<mm:ss.ds>"
ranking_players Names of players that achieved the time. Only required for PvE
  • List the names alphabetically from left to right in a table:
    • {"<player name 1>", ..., "<player name n>"},
ranking_date Date when the time was achieved. Only required for PvE
  • "<month year>"
ranking_difficulty Difficulty at which this time was achieved. Only required for PvE
  • Usually the highest available difficulty:
    • "Standard"
    • "Advanced"
    • "Expert"

See also