From f5f31c8ba61dece439d0c9bfdb0d02981c2c5e7d Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Sat, 27 Nov 2021 18:00:10 +0100 Subject: [PATCH] bump to v28 --- src/FinalFactory.lua | 2 +- src/FinalRushPro.lua | 6 +++--- src/survival/IslandBases.lua | 4 ++-- src/survival/Survival.lua | 4 ++-- src/survival/SurvivalSpawnerFactory.lua | 4 ++-- src/survival/SurvivalUnitCreator.lua | 6 +++--- src/survival/SurvivalVictory.lua | 2 +- survival_versus_scenario.lua | 10 +++++----- survival_versus_script.lua | 2 +- 9 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/FinalFactory.lua b/src/FinalFactory.lua index f046a8c..a8eadfa 100644 --- a/src/FinalFactory.lua +++ b/src/FinalFactory.lua @@ -1,6 +1,6 @@ -- Top level factory / state holder -local mapPath = '/maps/survival_versus.v0027/' +local mapPath = '/maps/survival_versus.v0028/' local entropyLib = import(mapPath .. 'vendor/EntropyLib/src/EntropyLib.lua').newInstance(mapPath .. 'vendor/EntropyLib/') local notifier diff --git a/src/FinalRushPro.lua b/src/FinalRushPro.lua index ade7fea..7d21c37 100644 --- a/src/FinalRushPro.lua +++ b/src/FinalRushPro.lua @@ -1,10 +1,10 @@ newInstance = function(ScenarioInfo) local function localImport(fileName) - return import('/maps/survival_versus.v0027/src/' .. fileName) + return import('/maps/survival_versus.v0028/src/' .. fileName) end local function vendorImport(fileName) - return import('/maps/survival_versus.v0027/vendor/EntropyLib/src/' .. fileName) + return import('/maps/survival_versus.v0028/vendor/EntropyLib/src/' .. fileName) end local options = localImport('FinalRushOptions.lua').newInstance(ScenarioInfo.Options) @@ -66,7 +66,7 @@ newInstance = function(ScenarioInfo) local function setupResourceDeposits() local resourcesSpawner = localImport('ResourcesSpawner.lua').newInstance( vendorImport('ResourceCreator.lua').newInstance(), - import('/maps/survival_versus.v0027/survival_versus_tables.lua'), + import('/maps/survival_versus.v0028/survival_versus_tables.lua'), import('/lua/sim/ScenarioUtilities.lua').GetMarkers(), playerArmies ) diff --git a/src/survival/IslandBases.lua b/src/survival/IslandBases.lua index 4b4c18b..757768a 100644 --- a/src/survival/IslandBases.lua +++ b/src/survival/IslandBases.lua @@ -1,6 +1,6 @@ newInstance = function() - local spawnerClass = import('/maps/survival_versus.v0027/vendor/EntropyLib/src/BaseSpanwer.lua') - local unitModifier = import('/maps/survival_versus.v0027/vendor/EntropyLib/src/CapturableUnitModifier.lua').newInstance() + local spawnerClass = import('/maps/survival_versus.v0028/vendor/EntropyLib/src/BaseSpanwer.lua') + local unitModifier = import('/maps/survival_versus.v0028/vendor/EntropyLib/src/CapturableUnitModifier.lua').newInstance() local function spawnCentralMex(baseSpawner) local mex = baseSpawner.spawnCentralStructure("uab1302") -- T3 mex diff --git a/src/survival/Survival.lua b/src/survival/Survival.lua index 125cdbb..be19c3a 100644 --- a/src/survival/Survival.lua +++ b/src/survival/Survival.lua @@ -141,12 +141,12 @@ newInstance = function(ScenarioInfo, localImport, options, textPrinter, playerAr localImport('survival/ParagonEvent.lua').newInstance( ScenarioFramework, unitCreator, - import('/maps/survival_versus.v0027/vendor/EntropyLib/src/UnitRevealer.lua').newInstance( + import('/maps/survival_versus.v0028/vendor/EntropyLib/src/UnitRevealer.lua').newInstance( playerArmies.getIndexToNameMap() ), playerArmies, positions, - import('/maps/survival_versus.v0027/vendor/EntropyLib/src/UnitCreationCallbacks.lua').newInstance(ScenarioInfo), + import('/maps/survival_versus.v0028/vendor/EntropyLib/src/UnitCreationCallbacks.lua').newInstance(ScenarioInfo), textPrinter ).setUp() end diff --git a/src/survival/SurvivalSpawnerFactory.lua b/src/survival/SurvivalSpawnerFactory.lua index 85496a5..6dd698a 100644 --- a/src/survival/SurvivalSpawnerFactory.lua +++ b/src/survival/SurvivalSpawnerFactory.lua @@ -1,8 +1,8 @@ newInstance = function(options, ScenarioFramework, unitCreator, playerArmies, positions, spawnOutEffect, TransportDestinations) - local transportSpawnerClass = import('/maps/survival_versus.v0027/src/survival/SurvivalTransportSpawner.lua') - local unitSpawnerClass = import('/maps/survival_versus.v0027/src/survival/SurvivalUnitSpawner.lua') + local transportSpawnerClass = import('/maps/survival_versus.v0028/src/survival/SurvivalTransportSpawner.lua') + local unitSpawnerClass = import('/maps/survival_versus.v0028/src/survival/SurvivalUnitSpawner.lua') local AttackLocations = positions.AttackLocations diff --git a/src/survival/SurvivalUnitCreator.lua b/src/survival/SurvivalUnitCreator.lua index 718db93..59164e1 100644 --- a/src/survival/SurvivalUnitCreator.lua +++ b/src/survival/SurvivalUnitCreator.lua @@ -23,7 +23,7 @@ end local function setupTeamBalanceBonus(unitCreator, ScenarioInfo) if ScenarioInfo.Options.opt_FinalRushTeamBonusHP ~= 0 then - local hpMultiplier = import('/maps/survival_versus.v0027/src/survival/TeamBonusHealthMultiplier.lua').newInstance( + local hpMultiplier = import('/maps/survival_versus.v0028/src/survival/TeamBonusHealthMultiplier.lua').newInstance( ScenarioInfo.Options.opt_FinalRushTeamBonusHP ) @@ -37,7 +37,7 @@ end local function setupHealthMultiplication(unitCreator, ScenarioInfo, options) if ScenarioInfo.Options.opt_FinalRushHealthIncrease ~= 0 then - local healthMultiplier = import('/maps/survival_versus.v0027/src/survival/HealthMultiplier.lua').newInstance( + local healthMultiplier = import('/maps/survival_versus.v0028/src/survival/HealthMultiplier.lua').newInstance( ScenarioInfo.Options.opt_FinalRushHealthIncrease ) @@ -69,7 +69,7 @@ local function setupHealthMultiplication(unitCreator, ScenarioInfo, options) end function newUnitCreator(ScenarioInfo, options, spawnOutEffect) - local unitCreator = import('/maps/survival_versus.v0027/vendor/EntropyLib/src/UnitCreator.lua').newUnitCreator() + local unitCreator = import('/maps/survival_versus.v0028/vendor/EntropyLib/src/UnitCreator.lua').newUnitCreator() unitCreator.onUnitCreated(function(unit, unitInfo) unit:SetVeterancy(5) diff --git a/src/survival/SurvivalVictory.lua b/src/survival/SurvivalVictory.lua index 5fb3d02..a683919 100644 --- a/src/survival/SurvivalVictory.lua +++ b/src/survival/SurvivalVictory.lua @@ -1,5 +1,5 @@ function newInstance(options, textPrinter, playerArmies, notifier) - local deathEvents = import('/maps/survival_versus.v0027/src/survival/DeathEvents.lua').newInstance(playerArmies) + local deathEvents = import('/maps/survival_versus.v0028/src/survival/DeathEvents.lua').newInstance(playerArmies) deathEvents.startMonitoring() local finalStageWasCompleted = false diff --git a/survival_versus_scenario.lua b/survival_versus_scenario.lua index c933ab9..c6c025b 100644 --- a/survival_versus_scenario.lua +++ b/survival_versus_scenario.lua @@ -1,7 +1,7 @@ version = 3 ScenarioInfo = { name="Survival Versus", - map_version=27, + map_version=28, description="Survive longer than the other team to win the game. Survive till the end of the final stage for full victory. https://github.com/SupremeCommanderMaps/SurvivalVersus", norushoffsetX_ARMY_BOTTOM_LEFT=0, norushoffsetX_ARMY_BOTTOM_LMID=0, @@ -20,10 +20,10 @@ ScenarioInfo = { norushoffsetY_ARMY_TOP_LMID=0, norushoffsetY_ARMY_TOP_LEFT=0, norushradius=110, - map="/maps/survival_versus.v0027/survival_versus.scmap", - preview="/maps/survival_versus.v0027/preview.jpg", - save="/maps/survival_versus.v0027/survival_versus_save.lua", - script="/maps/survival_versus.v0027/survival_versus_script.lua", + map="/maps/survival_versus.v0028/survival_versus.scmap", + preview="/maps/survival_versus.v0028/preview.jpg", + save="/maps/survival_versus.v0028/survival_versus_save.lua", + script="/maps/survival_versus.v0028/survival_versus_script.lua", size={ 512, 512 }, starts=true, type="skirmish", diff --git a/survival_versus_script.lua b/survival_versus_script.lua index b6b9d71..300783b 100644 --- a/survival_versus_script.lua +++ b/survival_versus_script.lua @@ -4,7 +4,7 @@ local finalRush function OnPopulate() import('/lua/sim/ScenarioUtilities.lua').InitializeArmies() - finalRush = import('/maps/survival_versus.v0027/src/FinalRushPro.lua').newInstance(ScenarioInfo) + finalRush = import('/maps/survival_versus.v0028/src/FinalRushPro.lua').newInstance(ScenarioInfo) finalRush.setUp() Sync.CampaignMode = true end