diff --git a/LuaMenu/configs/gameConfig/zk/defaultSettings/configversions.json b/LuaMenu/configs/gameConfig/zk/defaultSettings/configversions.json index 4ff2d83cf..d466a36a1 100644 --- a/LuaMenu/configs/gameConfig/zk/defaultSettings/configversions.json +++ b/LuaMenu/configs/gameConfig/zk/defaultSettings/configversions.json @@ -496,6 +496,13 @@ "VersionNumber":7, "SourcePath":"LuaMenu/configs/gameConfig/zk/defaultSettings/games/quicktutorial.sdz", "TargetPath":"games/quicktutorial.sdz" + }, + + { + "Platform":null, + "VersionNumber":1, + "SourcePath":"LuaMenu/configs/gameConfig/zk/defaultSettings/games/seeker.sdz", + "TargetPath":"games/seeker.sdz" } ] } diff --git a/LuaMenu/configs/gameConfig/zk/defaultSettings/games/seeker.sdz b/LuaMenu/configs/gameConfig/zk/defaultSettings/games/seeker.sdz new file mode 100644 index 000000000..45ea10f6c Binary files /dev/null and b/LuaMenu/configs/gameConfig/zk/defaultSettings/games/seeker.sdz differ diff --git a/campaign/sample/planetDefs.lua b/campaign/sample/planetDefs.lua index 1b8a1ccd4..ee3da9dba 100644 --- a/campaign/sample/planetDefs.lua +++ b/campaign/sample/planetDefs.lua @@ -1,6 +1,6 @@ local shortname = "sample" -local N_PLANETS = 70 +local N_PLANETS = 71 planetEdgeList = { {01, 02}, @@ -78,6 +78,7 @@ planetEdgeList = { {40, 41}, {41, 29}, {41, 42}, + {41, 71}, {42, 46}, {42, 54}, {44, 45}, diff --git a/campaign/sample/planetUtilities.lua b/campaign/sample/planetUtilities.lua index 618d7cfc3..d1dc36e9e 100644 --- a/campaign/sample/planetUtilities.lua +++ b/campaign/sample/planetUtilities.lua @@ -117,6 +117,7 @@ planetUtilities.planetPositions = { [68] = {929, 104}, [69] = {55, 890}, [70] = {666, 678}, + [71] = {480, 230}, } for i = 1, #planetUtilities.planetPositions do diff --git a/campaign/sample/planets/planet71.lua b/campaign/sample/planets/planet71.lua new file mode 100644 index 000000000..1fb9a3c27 --- /dev/null +++ b/campaign/sample/planets/planet71.lua @@ -0,0 +1,119 @@ +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- Planet config + +local function GetPlanet(planetUtilities, planetID) + + --local image = planetUtilities.planetImages[math.floor(math.random()*#planetUtilities.planetImages) + 1] + local image = LUA_DIRNAME .. "images/planets/barren01.png" + + local planetData = { + name = "Musashi", + startingPlanet = false, + mapDisplay = { + x = (planetUtilities.planetPositions and planetUtilities.planetPositions[planetID][1]) or 0.45, + y = (planetUtilities.planetPositions and planetUtilities.planetPositions[planetID][2]) or 0.23, + image = image, + size = planetUtilities.PLANET_SIZE_MAP, + }, + infoDisplay = { + image = image, + size = planetUtilities.PLANET_SIZE_INFO, + backgroundImage = planetUtilities.backgroundImages[math.floor(math.random()*#planetUtilities.backgroundImages) + 1], + terrainType = "Asteroid", + radius = "670 km", + primary = "Edo", + primaryType = "K1", + milRating = 1, + text = [[This asteroid was used for widely broadcast rally races in a bygone age. A classic challenge now awaits all comers.]] + }, + tips = { + + }, + gameConfig = { + gameName = "Super Extreme Kodachi Rally", + mapName = "Comet Catcher Redux v3.1", + playerConfig = { + startX = 300, + startZ = 3800, + allyTeam = 0, + commanderParameters = {}, + extraUnlocks = {}, + }, + modoptions = { + integral_disable_defence = 1, + integral_disable_special = 1, + }, + aiConfig = { + { + startX = 4000, + startZ = 75, + aiLib = "NullAI", + humanName = "Enemies", + allyTeam = 1, + unlocks = { + "cloakraid", + "shieldraid", + "vehscout", + "vehraid", + "hoverraid", + "jumpscout", + "tankheavyraid", + "cloakriot", + "shieldriot", + "vehsupport", + "hoverriot", + "jumpraid", + "jumpskirm", + }, + commander = false, + }, + }, + defeatConditionConfig = { + -- Indexed by allyTeam. + [0] = { + ignoreUnitLossDefeat = true, + }, + [1] = { + ignoreUnitLossDefeat = true, + }, + }, + objectiveConfig = { + [1] = { + description = "Complete all rounds", + }, + }, + bonusObjectiveConfig = { + [1] = { -- Lose no more than 40 Kodachis + onlyCountRemovedUnits = true, + satisfyForever = true, + comparisionType = planetUtilities.COMPARE.AT_MOST, + targetNumber = 40, + unitTypes = { + "tankraid", + }, + image = planetUtilities.ICON_DIR .. "tankraid.png", + imageOverlay = planetUtilities.ICON_OVERLAY.GUARD, + description = "Do not lose more than 40 Kodachis", + experience = planetUtilities.BONUS_EXP, + }, + [2] = { -- Win by 30:00 + victoryByTime = 1800, + image = planetUtilities.ICON_OVERLAY.CLOCK, + description = "Win by 30:00", + experience = planetUtilities.BONUS_EXP, + }, + } + }, + completionReward = { + experience = planetUtilities.MAIN_EXP, + modules = {}, + abilities = {}, + codexEntries = {} + }, + } + + return planetData +end + +return GetPlanet