Line 29: Line 29:
 
ranking_players = {"LEBOVIN", "Pritstift", "Treim", "Wanky"},
 
ranking_players = {"LEBOVIN", "Pritstift", "Treim", "Wanky"},
 
ranking_date = "April 2020",
 
ranking_date = "April 2020",
ranking_difficulty = "Expert",
+
ranking_difficulty = "Expert"
 
},
 
},
 
{
 
{
Line 36: Line 36:
 
ranking_players = {"LEBOVIN", "Pritstift", "Wanky"},
 
ranking_players = {"LEBOVIN", "Pritstift", "Wanky"},
 
ranking_date = "April 2020",
 
ranking_date = "April 2020",
ranking_difficulty = "Expert",
+
ranking_difficulty = "Expert"
 
},
 
},
 
{
 
{
Line 43: Line 43:
 
ranking_players = {"ducarev", "Halis"},
 
ranking_players = {"ducarev", "Halis"},
 
ranking_date = "April 2020",
 
ranking_date = "April 2020",
ranking_difficulty = "Expert",
+
ranking_difficulty = "Expert"
 
},
 
},
 
{
 
{
Line 50: Line 50:
 
ranking_players = {"LEBOVIN"},
 
ranking_players = {"LEBOVIN"},
 
ranking_date = "April 2020",
 
ranking_date = "April 2020",
ranking_difficulty = "Expert",
+
ranking_difficulty = "Expert"
},
+
}
},
+
}
  +
},
  +
  +
["Encounters with Twilight"] = {
  +
type = "PvE",
  +
min_players = 1,
  +
starting_positions = {16, 11},
  +
chest_positions = {{36,9}, {75,65}, {64,26}, {60,64}},
  +
quest_positions = nil,
  +
difficulties = {standard = true, advanced = true, expert = true},
  +
prerequisites = "None",
  +
unlocks = "Siege of Hope",
  +
setup_description = "Aid Rogan Kayle and a ragtag band of human refugees in their clash with an unknown evil.",
  +
mission_briefing_description = "The Twilight has passed. The humans are returning to the surface and meet an unknown evil, a strange curse that seems to befall man and beast alike. As the mercenary Rogan Kayle calls up to the Skylords for help, you hear his plea.",
  +
loading_screen_text = "The sun’s death lasted only a year, but it changed the world. When mortals returned to the surface they found a strange curse had fallen upon those who had remained. They were now vile and twisted abominations, creatures who knew only hate and madness. For Rogan Kayle and a group of human refugees the long journey home had become a terrifying battle for survival as they emerged into a world forever changed.",
  +
spectator_map_available = false,
  +
rankings = {
  +
{
  +
ranking_numberplayers = 1,
  +
ranking_time = "10:47.5",
  +
ranking_players = {"Pritstift"},
  +
ranking_date = "April 2021",
  +
ranking_difficulty = "Expert"
  +
}
  +
}
 
},
 
},
 
 

Revision as of 20:03, 7 May 2021

Edit documentation

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 = ,
        min_players = ,
        starting_positions = ,
        chest_positions = ,
        quest_positions = ,
        difficulties = ,
        campaign_name = "",
        prerequisites = "",
        unlocks = "",
        setup_description = "",
        mission_briefing_description = "",
        loading_screen_text = "",
        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 False
  • <Custom text>
min_players False
  • <Custom text>
starting_positions False
  • <Custom text>
chest_positions False
  • <Custom text>
quest_positions False
  • <Custom text>
difficulties False
  • <Custom text>
campaign_name False
  • <Custom text>
prerequisites False
  • <Custom text>
unlocks False
  • <Custom text>
setup_description False
  • <Custom text>
mission_briefing_description False
  • <Custom text>
loading_screen_text False
  • <Custom text>
spectator_map_available False
  • <Custom text>
Ranking related parameters (this block repeats as many times as there are filterable rankings for the map)
ranking_numberplayers False
  • <Custom text>
ranking_time False
  • <Custom text>
ranking_players False
  • <Custom text>
ranking_date False
  • <Custom text>
ranking_difficulty False
  • <Custom text>

See also


-- Official PvE Maps
return {
    ["King of the Giants"] = {
        type = "PvE", -- PvE oder PvP (case insensitive)
        min_players = 1,
        starting_positions = {{3, 14}, {3, 3}, {59, 3}, {81, 3}},
        chest_positions = {{9, 77}, {43, 78}, {4, 68}, {10, 42}, {8, 33}, {75, 33}, {78, 52}, {72, 69}},
        quest_positions = {
            {letter = 'C', 20, 54},
            {letter = 'C', 24, 38},
            {letter = 'C', 34, 20},
            {letter = 'C', 85, 21},
            {letter = 'C', 86, 38},
            {letter = 'C', 83, 53},
        },
        minimap_image = "King of the Giants_Minimap.jpg", -- schauen wie man die 3 minimaps bei 12 p map handelt, ansonsten kann das weg
        difficulties = {standard = true, advanced = true, expert = true},
        campaign_name = "The Titans", -- kann eig weg und via story book generiert werden oder?
        prerequisites = {"Sunbridge", "Bad Harvest"},
        unlocks = {"Titans"},
        setup_description = "Help {{ci|Rogan Kayle}} lure the {{ci|Jorne|King of the Giants}} to [[Lyr]]. Face a lot of powerful [[Stonekin]] at the foot of the Giant Throne mountains.", -- nur bei official pve campaign
        mission_briefing_description = "Rogan Kayle is luring the giant king Jorne to the human realm. Make sure to clear away all blockades on his way and look out for artifacts that might aid his quest.", -- nur bei official pve campaign
        loading_screen_text = "Viridya, infused with the Soultree's awesome power, sought out Brannoc, determined he would pay for his crimes. But as father and daughter clashed it became clear they were equal not only in rage, but might. Their epic struggle ravaged the land and threatened to destroy the new human settlements.<br><br>Rogan Kayle, desperate to stop the destruction, sought to lure the Giant King Jorne into the fight. He reasoned bringing a third power into the fray would tip the balance and end the destruction. The price of failure was unthinkable.",
        world_map_position = {3, 14}, --zum access für später im world map modul, vermutlich also dort auch speichern und nicht hier
        rankings = {
            {
                ranking_numberplayers = 4,
                ranking_time = "06:55.9",
                ranking_players = {"LEBOVIN", "Pritstift", "Treim", "Wanky"},
                ranking_date = "April 2020",
                ranking_difficulty = "Expert"
            },
            {
                ranking_numberplayers = 3,
                ranking_time = "07:36.7",
                ranking_players = {"LEBOVIN", "Pritstift", "Wanky"},
                ranking_date = "April 2020",
                ranking_difficulty = "Expert"
            },
            {
                ranking_numberplayers = 2,
                ranking_time = "08:56.2",
                ranking_players = {"ducarev", "Halis"},
                ranking_date = "April 2020",
                ranking_difficulty = "Expert"
            },
            {
                ranking_numberplayers = 1,
                ranking_time = "12:41.8",
                ranking_players = {"LEBOVIN"},
                ranking_date = "April 2020",
                ranking_difficulty = "Expert"
            }
        }
    },
 
    ["Encounters with Twilight"] = {
        type = "PvE",
        min_players = 1,
        starting_positions = {16, 11},
        chest_positions = {{36,9}, {75,65}, {64,26}, {60,64}},
        quest_positions = nil,
        difficulties = {standard = true, advanced = true, expert = true},
        prerequisites = "None",
        unlocks = "Siege of Hope",
        setup_description = "Aid Rogan Kayle and a ragtag band of human refugees in their clash with an unknown evil.",
        mission_briefing_description = "The Twilight has passed. The humans are returning to the surface and meet an unknown evil, a strange curse that seems to befall man and beast alike. As the mercenary Rogan Kayle calls up to the Skylords for help, you hear his plea.",
        loading_screen_text = "The sun’s death lasted only a year, but it changed the world. When mortals returned to the surface they found a strange curse had fallen upon those who had remained. They were now vile and twisted abominations, creatures who knew only hate and madness. For Rogan Kayle and a group of human refugees the long journey home had become a terrifying battle for survival as they emerged into a world forever changed.",
        spectator_map_available = false,
        rankings = {
            {
                ranking_numberplayers = 1,
                ranking_time = "10:47.5",
                ranking_players = {"Pritstift"},
                ranking_date = "April 2021",
                ranking_difficulty = "Expert"
            }
        }
    },
 
-- Official 1vs1 PvP Maps, starting positions to be fixed at the end
    ["Elyon"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "1vs1 PvP",
        spectator_map_available = true,
    },
    ["Haladur"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "1vs1 PvP",
        spectator_map_available = true,
    },
    ["Lajesh"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "1vs1 PvP",
        spectator_map_available = true,
    },
    ["Simai"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "1vs1 PvP",
        spectator_map_available = true,
    },
    ["Uro"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "1vs1 PvP",
        spectator_map_available = true,
    },
    ["Wazhai"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "1vs1 PvP",
        spectator_map_available = false,
    },
    ["Yrmia"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "1vs1 PvP",
        spectator_map_available = true,
    },
    
-- Official 2vs2 PvP Maps, starting positions to be fixed at the end    
    ["Danduil"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}, {3, 3}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "2vs2 PvP",
        spectator_map_available = true,
    },
    ["Fyre"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}, {3, 3}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "2vs2 PvP",
        spectator_map_available = true,
    },
    ["Gorgash"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}, {3, 3}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "2vs2 PvP",
        spectator_map_available = true,
    },
    ["Koshan"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}, {3, 3}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "2vs2 PvP",
        spectator_map_available = true,
    },
    ["Nadai"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}, {3, 3}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "2vs2 PvP",
        spectator_map_available = true,
    },
    ["Turan"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}, {3, 3}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "2vs2 PvP",
        spectator_map_available = true,
    },
    ["Yshia"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}, {3, 3}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "2vs2 PvP",
        spectator_map_available = true,
    },
    ["Zahadune"] = {
        type = "PvP",
        starting_positions = {{3, 14}, {3, 3}, {3, 3}, {3, 3}},
        min_players = 2,
        mission_briefing_description = "2vs2 PvP",
        spectator_map_available = true,
    },
},

-- Todo Later: Start of Community Maps 
{
    ["Map 1"] = {},
}
Community content is available under CC-BY-SA unless otherwise noted.