From b7f9415814d9fbb6c3636bfeebdaf062e73284c9 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 16 Jun 2024 00:31:41 -0700 Subject: [PATCH] sc2: Added liberator guerilla missiles to replace 360 degree sensors --- .../Base.SC2Data/GameData/AbilData.xml | 16 +------- .../Base.SC2Data/GameData/ActorData.xml | 26 +++++-------- .../Base.SC2Data/GameData/BehaviorData.xml | 7 ++++ .../Base.SC2Data/GameData/ButtonData.xml | 6 +-- .../Base.SC2Data/GameData/EffectData.xml | 37 ++++++++++++++----- .../Base.SC2Data/GameData/ModelData.xml | 6 +++ .../Base.SC2Data/GameData/RequirementData.xml | 11 +----- .../GameData/RequirementNodeData.xml | 10 ++--- .../Base.SC2Data/GameData/UnitData.xml | 8 +--- .../Base.SC2Data/GameData/UpgradeData.xml | 18 ++------- .../Base.SC2Data/GameData/ValidatorData.xml | 24 ------------ Mods/ArchipelagoPlayer.SC2Mod/Preload.xml | 31 ++++++++++++++++ .../PreloadAssetDB.txt | 2 +- .../LocalizedData/GameStrings.txt | 4 +- .../Base.SC2Data/LibABFE498B.galaxy | 6 +-- .../Base.SC2Data/LibABFE498B_h.galaxy | 2 +- Mods/ArchipelagoTriggers.SC2Mod/Triggers | 4 +- .../LocalizedData/TriggerStrings.txt | 2 +- 18 files changed, 107 insertions(+), 113 deletions(-) diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/AbilData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/AbilData.xml index 219ef6447..c220a3841 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/AbilData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/AbilData.xml @@ -1501,7 +1501,7 @@ - + @@ -1509,7 +1509,7 @@ - + @@ -1584,12 +1584,6 @@ - - - - - - @@ -1613,12 +1607,6 @@ - - - - - - diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ActorData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ActorData.xml index ae99f6e69..40bd02438 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ActorData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ActorData.xml @@ -24670,6 +24670,15 @@ + + + + + + + + + @@ -31919,23 +31928,6 @@ - - - - - - - - - - - - - - - - - diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/BehaviorData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/BehaviorData.xml index 03bc40c5a..b83013e94 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/BehaviorData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/BehaviorData.xml @@ -685,6 +685,13 @@ + + + + + + + diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ButtonData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ButtonData.xml index 7fdab5fdd..f1f3129b2 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ButtonData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ButtonData.xml @@ -5321,9 +5321,9 @@ - - - + + + diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/EffectData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/EffectData.xml index e4840cc3c..deea221b0 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/EffectData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/EffectData.xml @@ -2232,19 +2232,18 @@ - + - + - @@ -2259,6 +2258,11 @@ + + + + + @@ -2274,7 +2278,7 @@ - + @@ -2285,10 +2289,19 @@ - + + + + + + + + + + @@ -2308,14 +2321,14 @@ - + - + @@ -2328,6 +2341,11 @@ + + + + + @@ -2343,7 +2361,7 @@ - + @@ -2354,7 +2372,7 @@ - + @@ -2431,7 +2449,6 @@ - diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ModelData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ModelData.xml index 0daa0f807..7b26cbae3 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ModelData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ModelData.xml @@ -13885,6 +13885,12 @@ + + + + + + diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/RequirementData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/RequirementData.xml index 60fa182e2..5d06737e9 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/RequirementData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/RequirementData.xml @@ -3292,15 +3292,8 @@ - - - - - - - - - + + diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/RequirementNodeData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/RequirementNodeData.xml index 89bc7dfb6..bb0983731 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/RequirementNodeData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/RequirementNodeData.xml @@ -440,7 +440,7 @@ - + @@ -5756,12 +5756,12 @@ - - + + - - + + diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UnitData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UnitData.xml index 715c38212..d862238e6 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UnitData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UnitData.xml @@ -3299,7 +3299,6 @@ - @@ -3311,12 +3310,11 @@ - - + @@ -3390,7 +3388,7 @@ - + @@ -3414,13 +3412,11 @@ - - diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UpgradeData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UpgradeData.xml index 3cc9255ee..2b9992df2 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UpgradeData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UpgradeData.xml @@ -5899,12 +5899,6 @@ - - - - - - @@ -5918,12 +5912,6 @@ - - - - - - @@ -11915,11 +11903,11 @@ - + + + - - diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ValidatorData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ValidatorData.xml index b31a12926..d3694eebf 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ValidatorData.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ValidatorData.xml @@ -1289,11 +1289,6 @@ - - - - - @@ -1303,7 +1298,6 @@ - @@ -5417,24 +5411,6 @@ - - - - - - - - - - - - - - - - - - diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Preload.xml b/Mods/ArchipelagoPlayer.SC2Mod/Preload.xml index a4a6031dc..7d810959c 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/Preload.xml +++ b/Mods/ArchipelagoPlayer.SC2Mod/Preload.xml @@ -22,9 +22,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Mods/ArchipelagoPlayer.SC2Mod/PreloadAssetDB.txt b/Mods/ArchipelagoPlayer.SC2Mod/PreloadAssetDB.txt index 9466750b1..0bd09af2d 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/PreloadAssetDB.txt +++ b/Mods/ArchipelagoPlayer.SC2Mod/PreloadAssetDB.txt @@ -18417,7 +18417,7 @@ Actor=AP_GimbalZTurret,CommandUIHarnessAttackProtoss,CommandUIHarnessAttackTerra id=AP_MedivacRapidReignitionSystem asset=Assets\Textures\btn-upgrade-terran-highcapacityfueltanks.dds Actor=AP_GimbalZTurret,CommandUIHarnessAttackProtoss,CommandUIHarnessAttackTerran,CommandUIHarnessAttackZerg,CommandUIHarnessConfirmProtoss,CommandUIHarnessConfirmTerran,CommandUIHarnessConfirmZerg,CommandUIHarnessMoveProtoss,CommandUIHarnessMoveTerran,CommandUIHarnessMoveZerg,CommandUIHarnessRallyProtoss,CommandUIHarnessRallyTerran,CommandUIHarnessRallyZerg,TerrainMgr -id=AP_Liberator360DegreeSensorArray +id=AP_LiberatorGuerillaMissiles asset=Assets\Textures\btn-upgrade-tychus-detection.dds Actor=AP_GimbalZTurret,CommandUIHarnessAttackProtoss,CommandUIHarnessAttackTerran,CommandUIHarnessAttackZerg,CommandUIHarnessConfirmProtoss,CommandUIHarnessConfirmTerran,CommandUIHarnessConfirmZerg,CommandUIHarnessMoveProtoss,CommandUIHarnessMoveTerran,CommandUIHarnessMoveZerg,CommandUIHarnessRallyProtoss,CommandUIHarnessRallyTerran,CommandUIHarnessRallyZerg,TerrainMgr id=AP_DefilerSCBWImprovedCastRange diff --git a/Mods/ArchipelagoPlayer.SC2Mod/enUS.SC2Data/LocalizedData/GameStrings.txt b/Mods/ArchipelagoPlayer.SC2Mod/enUS.SC2Data/LocalizedData/GameStrings.txt index 62fe8f1fb..4ac1ef284 100644 --- a/Mods/ArchipelagoPlayer.SC2Mod/enUS.SC2Data/LocalizedData/GameStrings.txt +++ b/Mods/ArchipelagoPlayer.SC2Mod/enUS.SC2Data/LocalizedData/GameStrings.txt @@ -1146,10 +1146,10 @@ Button/Name/AP_Lair=Mutate into Lair Button/Name/AP_LaserTargetingSystem=Laser Targeting System Button/Name/AP_LegEnhancements=Leg Enhancements Button/Name/AP_Liberator=Build Liberator -Button/Name/AP_Liberator360DegreeSensorArray=360° Sensor Array Button/Name/AP_LiberatorAAMode=Fighter Mode Button/Name/AP_LiberatorAGMode=Defender Mode Button/Name/AP_LiberatorAGRangeUpgrade=Advanced Ballistics +Button/Name/AP_LiberatorGuerillaMissiles=Guerilla Missiles Button/Name/AP_LiberatorStructureAttack=Raid Artillery Button/Name/AP_LightningBomb=Disintegration Button/Name/AP_LockOn=Lock On @@ -2191,11 +2191,11 @@ Button/Tooltip/AP_Larva=Morphs into Zerg units. Button/Tooltip/AP_LaserTargetingSystem=Increases vision by 2 and weapon range by 1. Button/Tooltip/AP_LegEnhancements=Increases movement speed. Button/Tooltip/AP_Liberator=Artillery fighter. Loaded with missiles that deal area damage to enemy air targets. Can switch into Defender Mode to provide siege support.Can attack air units. -Button/Tooltip/AP_Liberator360DegreeSensorArray=Liberators in Defender Mode can attack any target within weapon range. Button/Tooltip/AP_LiberatorAAMode=Reverts to Fighter Mode. In this mode Liberators can move, but they can only attack air targets. Button/Tooltip/AP_LiberatorAG=Immobile defender. Deals heavy single target damage to ground units. Can switch into Fighter mode to provide air support.Can attack ground units. Button/Tooltip/AP_LiberatorAGMode=Deploys into Defender Mode. In this mode Liberators inflict single target damage to ground units. Liberators in this mode cannot move. Button/Tooltip/AP_LiberatorAGRangeUpgrade=Increases the range of Liberators in Defender Mode by 3. +Button/Tooltip/AP_LiberatorGuerillaMissiles=Missiles fired by Liberators in Fighter Mode will apply a movement and attack speed debuff onto enemies. Effect lasts seconds. Button/Tooltip/AP_LiberatorStructureAttack=Liberators can attack structures while in Defender Mode. Button/Tooltip/AP_LightningBomb=Deals damage over seconds to target enemy unit or structure. Button/Tooltip/AP_LockOn=Locks the Cyclone's weapons on the target unit, dealing damage over seconds to ground and flying targets. Can move while firing. Cancels if target moves out of range. diff --git a/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy b/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy index af7b4c4be..d80ecca0f 100644 --- a/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy +++ b/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy @@ -465,7 +465,7 @@ void libABFE498B_gf_AP_Triggers_unlockTerranArmory6 (int lp_player, int lp_bitAr libABFE498B_gf_AP_Triggers_Terran_unlockMedivacRapidReignitionSystems, // 21 libABFE498B_gf_AP_Triggers_Terran_unlockBattlecruiserBehemothReactor, //22 libABFE498B_gf_AP_Triggers_Terran_unlockThorRapidReload, //23 - libABFE498B_gf_AP_Triggers_Terran_unlockLiberator360DegreeSensorArray, //24 + libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorGuerillaMissiles, //24 libABFE498B_gf_AP_Triggers_Terran_unlockWidowMineResourceEfficiency, //25 libABFE498B_gf_AP_Triggers_Terran_unlockHERCGrapplePull, //26 libABFE498B_gf_AP_Triggers_Terran_unlockCommandCenterScannerSweep, //27 @@ -3205,10 +3205,10 @@ void libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorResourceEfficiency (int lp libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_ResourceEfficiencyLiberator", 1); } -void libABFE498B_gf_AP_Triggers_Terran_unlockLiberator360DegreeSensorArray (int lp_player) { +void libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorGuerillaMissiles (int lp_player) { // Automatic Variable Declarations // Implementation - libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_Liberator360DegreeSensorArray", 1); + libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_LiberatorGuerillaMissiles", 1); } void libABFE498B_gf_AP_Triggers_Terran_unlockWidowMineDrillingClaws (int lp_player) { diff --git a/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B_h.galaxy b/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B_h.galaxy index 72e1ec74e..461ea39d8 100644 --- a/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B_h.galaxy +++ b/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B_h.galaxy @@ -354,7 +354,7 @@ void libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorSmartServos (int lp_player void libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorLaserTargetingSystem (int lp_player); void libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorOptimizedLogistics (int lp_player); void libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorResourceEfficiency (int lp_player); -void libABFE498B_gf_AP_Triggers_Terran_unlockLiberator360DegreeSensorArray (int lp_player); +void libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorGuerillaMissiles (int lp_player); void libABFE498B_gf_AP_Triggers_Terran_unlockWidowMineDrillingClaws (int lp_player); void libABFE498B_gf_AP_Triggers_Terran_unlockWidowMineConcealment (int lp_player); void libABFE498B_gf_AP_Triggers_Terran_unlockWidowMineBlackMarketLaunchers (int lp_player); diff --git a/Mods/ArchipelagoTriggers.SC2Mod/Triggers b/Mods/ArchipelagoTriggers.SC2Mod/Triggers index 575c071ac..c87d36bbe 100644 --- a/Mods/ArchipelagoTriggers.SC2Mod/Triggers +++ b/Mods/ArchipelagoTriggers.SC2Mod/Triggers @@ -2535,7 +2535,7 @@ libABFE498B_gf_AP_Triggers_Terran_unlockMedivacRapidReignitionSystems, // 21 libABFE498B_gf_AP_Triggers_Terran_unlockBattlecruiserBehemothReactor, //22 libABFE498B_gf_AP_Triggers_Terran_unlockThorRapidReload, //23 - libABFE498B_gf_AP_Triggers_Terran_unlockLiberator360DegreeSensorArray, //24 + libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorGuerillaMissiles, //24 libABFE498B_gf_AP_Triggers_Terran_unlockWidowMineResourceEfficiency, //25 libABFE498B_gf_AP_Triggers_Terran_unlockHERCGrapplePull, //26 libABFE498B_gf_AP_Triggers_Terran_unlockCommandCenterScannerSweep, //27 @@ -22780,7 +22780,7 @@ - AP_Liberator360DegreeSensorArray + AP_LiberatorGuerillaMissiles diff --git a/Mods/ArchipelagoTriggers.SC2Mod/enUS.SC2Data/LocalizedData/TriggerStrings.txt b/Mods/ArchipelagoTriggers.SC2Mod/enUS.SC2Data/LocalizedData/TriggerStrings.txt index f2c734925..db57fdebc 100644 --- a/Mods/ArchipelagoTriggers.SC2Mod/enUS.SC2Data/LocalizedData/TriggerStrings.txt +++ b/Mods/ArchipelagoTriggers.SC2Mod/enUS.SC2Data/LocalizedData/TriggerStrings.txt @@ -629,7 +629,7 @@ FunctionDef/Name/lib_ABFE498B_CEC91B58=AP_Triggers_Terran_unlockSiegeTankLaserTa FunctionDef/Name/lib_ABFE498B_CF57B3C3=AP_Triggers_Terran_unlockMarineOptimizedLogistics FunctionDef/Name/lib_ABFE498B_D08BB942=AP_Triggers_Zerg_AberrationMonstrousResilience FunctionDef/Name/lib_ABFE498B_D0FFDF93=AP_Triggers_Terran_unlockMedicAdaptiveMedpacks -FunctionDef/Name/lib_ABFE498B_D133E010=AP_Triggers_Terran_unlockLiberator360DegreeSensorArray +FunctionDef/Name/lib_ABFE498B_D133E010=AP_Triggers_Terran_unlockLiberatorGuerillaMissiles FunctionDef/Name/lib_ABFE498B_D1359197=AP_Triggers_Protoss_unlockAnnihilator FunctionDef/Name/lib_ABFE498B_D1655E1B=AP_Triggers_clearZergTech FunctionDef/Name/lib_ABFE498B_D18DCDB9=AP_Triggers_Protoss_unlockGroundWeapons