From f3663885d702424920ef549b37e5c5339519b45f Mon Sep 17 00:00:00 2001 From: Dylan <28832631+DARwins1@users.noreply.github.com> Date: Mon, 6 Dec 2021 14:24:55 -0600 Subject: [PATCH] Add files via upload --- Changelog.txt | 12 ++++++++++ script/campaign/cam2-5.js | 2 +- script/campaign/cam2-5s.js | 2 +- script/campaign/cam2-6s.js | 2 +- script/campaign/cam2-7s.js | 2 +- script/campaign/cam2-8.js | 4 ++-- script/campaign/cam2-8s.js | 2 +- script/campaign/cam2-d.js | 4 ++-- script/campaign/cam2-ds.js | 2 +- script/campaign/cam2-end.js | 13 +++++++--- stats/research.json | 48 ++++++++++++++++++------------------- 11 files changed, 56 insertions(+), 37 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index fb5e8f0..e6f3527 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,4 +1,15 @@ Changelog: +Refactored v2.5.2 + +A smaller balance patch and a fix. + +Changes: +- Buffed Rocket and Mini-Rocket damage upgrades from +25% to +35% to compensate for the lower amount of upgrades compared to cannons, as well as rockets in MP. +- Finally came to the epiphany that the campaign AI sucked using mobile repair turrets, so all times where the Collective would build Heavy Repair Turrets have been replaced by Infernos. +- The northern tank attack waves in Beta Final now have Sensor units tacked onto the waves, instead of the unit pool containing sensors. Also added a chance for Whirlwinds to be added instead of Sensors. +- Stopped setting a the SW Collective LZ in the main map after Beta 5, since it's never used again and prevents building in that area. +- The above change also removes the no-build zone found in Gamma campaign north of the main LZ after transitioning from Beta. The "No Go" area from Beta Campaign carried over preventing building in that area. + Refactored v2.5.1 @@ -17,6 +28,7 @@ Changes: - Nerfed the amount of MG and Mortar upgrades the Collective has from Beta 3 to Beta 6. - Removed a pointless line from the Gamma 1 script. + Refactored v2.5.0 A larger update that does a lot of work under the hood, a balance update, and some level tweaking all in one. Saves from earlier versions should be compatible, but there may be some funkiness. diff --git a/script/campaign/cam2-5.js b/script/campaign/cam2-5.js index 5a6c3d5..6e39f0f 100644 --- a/script/campaign/cam2-5.js +++ b/script/campaign/cam2-5.js @@ -144,7 +144,7 @@ function eventStartLevel() repair: 20, count: -1, }, - templates: [cTempl.comrept, cTempl.comct, cTempl.comatt, cTempl.comhpv, cTempl.comrlt, cTempl.copodt, cTempl.cohhot] + templates: [cTempl.comit, cTempl.comct, cTempl.comatt, cTempl.comhpv, cTempl.comrlt, cTempl.copodt, cTempl.cohhot] }, "COCyborgFactoryL": { assembly: "COCyborgFactoryLAssembly", diff --git a/script/campaign/cam2-5s.js b/script/campaign/cam2-5s.js index c81e78a..839bf32 100644 --- a/script/campaign/cam2-5s.js +++ b/script/campaign/cam2-5s.js @@ -5,7 +5,7 @@ function eventStartLevel() camSetupTransporter(87, 100, 32, 1); centreView(88, 101); setNoGoArea(86, 99, 88, 101, CAM_HUMAN_PLAYER); - setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); + //setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); setMissionTime(camChangeOnDiff(camHoursToSeconds(1))); camPlayVideos([{video: "MB2_5_MSG", type: CAMP_MSG}, {video: "MB2_5_MSG2", type: MISS_MSG}]); camSetStandardWinLossConditions(CAM_VICTORY_PRE_OFFWORLD, "SUB_2_5"); diff --git a/script/campaign/cam2-6s.js b/script/campaign/cam2-6s.js index 17d4725..57cc01f 100644 --- a/script/campaign/cam2-6s.js +++ b/script/campaign/cam2-6s.js @@ -5,7 +5,7 @@ function eventStartLevel() camSetupTransporter(87, 100, 16, 126); centreView(88, 101); setNoGoArea(86, 99, 88, 101, CAM_HUMAN_PLAYER); - setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); + //setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); setMissionTime(camChangeOnDiff(camHoursToSeconds(1))); camPlayVideos([{video: "MB2_6_MSG", type: CAMP_MSG}, {video: "MB2_6_MSG2", type: CAMP_MSG}, {video: "MB2_6_MSG3", type: MISS_MSG}]); camSetStandardWinLossConditions(CAM_VICTORY_PRE_OFFWORLD, "SUB_2_6"); diff --git a/script/campaign/cam2-7s.js b/script/campaign/cam2-7s.js index 1de78a5..16fd360 100644 --- a/script/campaign/cam2-7s.js +++ b/script/campaign/cam2-7s.js @@ -5,7 +5,7 @@ function eventStartLevel() camSetupTransporter(87, 100, 100, 1); centreView(88, 101); setNoGoArea(86, 99, 88, 101, CAM_HUMAN_PLAYER); - setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); + //setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); setMissionTime(camChangeOnDiff(camHoursToSeconds(1.5))); camPlayVideos([{video: "MB2_7_MSG", type: CAMP_MSG}, {video: "MB2_7_MSG2", type: MISS_MSG}]); camSetStandardWinLossConditions(CAM_VICTORY_PRE_OFFWORLD, "SUB_2_7"); diff --git a/script/campaign/cam2-8.js b/script/campaign/cam2-8.js index 3c63523..f6e2da8 100644 --- a/script/campaign/cam2-8.js +++ b/script/campaign/cam2-8.js @@ -155,7 +155,7 @@ function eventStartLevel() repair: 20, count: -1, }, - templates: [cTempl.cohhot, cTempl.cohact, cTempl.comagt, cTempl.comrept] + templates: [cTempl.cohhot, cTempl.cohact, cTempl.comagt, cTempl.comit] }, "COHeavyFacR-b2": { assembly: "COHeavyFacR-b2Assembly", @@ -167,7 +167,7 @@ function eventStartLevel() repair: 20, count: -1, }, - templates: [cTempl.comrept, cTempl.comrotmh, cTempl.cohct, cTempl.comrlt] + templates: [cTempl.comit, cTempl.comrotmh, cTempl.cohct, cTempl.comrlt] }, "COVtolFac-b3": { order: CAM_ORDER_ATTACK, diff --git a/script/campaign/cam2-8s.js b/script/campaign/cam2-8s.js index dff7db0..3230a68 100644 --- a/script/campaign/cam2-8s.js +++ b/script/campaign/cam2-8s.js @@ -5,7 +5,7 @@ function eventStartLevel() camSetupTransporter(87, 100, 126, 60); centreView(88, 101); setNoGoArea(86, 99, 88, 101, CAM_HUMAN_PLAYER); - setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); + //setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); setMissionTime(camChangeOnDiff(camHoursToSeconds(1))); camPlayVideos([{video: "MB2_8_MSG", type: CAMP_MSG}, {video: "MB2_8_MSG2", type: MISS_MSG}]); camSetStandardWinLossConditions(CAM_VICTORY_PRE_OFFWORLD, "SUB_2_8"); diff --git a/script/campaign/cam2-d.js b/script/campaign/cam2-d.js index c45436b..6a23adf 100644 --- a/script/campaign/cam2-d.js +++ b/script/campaign/cam2-d.js @@ -157,7 +157,7 @@ function eventStartLevel() repair: 20, count: -1, }, - templates: [cTempl.comrept, cTempl.comhpv, cTempl.comrlt, cTempl.copodt] + templates: [cTempl.comit, cTempl.comhpv, cTempl.comrlt, cTempl.copodt] }, "COHeavyFactoryD": { assembly: "COHeavyFactoryAssembly", @@ -169,7 +169,7 @@ function eventStartLevel() repair: 20, count: -1, }, - templates: [cTempl.comhpv, cTempl.comrlt, cTempl.copodt, cTempl.comrept] + templates: [cTempl.comhpv, cTempl.comrlt, cTempl.copodt, cTempl.comit] }, "COSouthCyborgFactory": { assembly: "COSouthCyborgFactoryAssembly", diff --git a/script/campaign/cam2-ds.js b/script/campaign/cam2-ds.js index 1d9c4d3..565b470 100644 --- a/script/campaign/cam2-ds.js +++ b/script/campaign/cam2-ds.js @@ -6,7 +6,7 @@ function eventStartLevel() camSetupTransporter(87, 100, 1, 100); centreView(88, 101); setNoGoArea(86, 99, 88, 101, CAM_HUMAN_PLAYER); - setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); + //setNoGoArea(49, 83, 51, 85, THE_COLLECTIVE); setMissionTime(camChangeOnDiff(camMinutesToSeconds(75))); camPlayVideos([{video: "MB2_DI_MSG", type: MISS_MSG}, {video: "MB2_DI_MSG2", type: CAMP_MSG}]); camSetStandardWinLossConditions(CAM_VICTORY_PRE_OFFWORLD, "SUB_2D"); diff --git a/script/campaign/cam2-end.js b/script/campaign/cam2-end.js index 437b0d8..e11cb02 100644 --- a/script/campaign/cam2-end.js +++ b/script/campaign/cam2-end.js @@ -138,8 +138,15 @@ function cyborgAttackRandom() //North road attacker consisting of powerful weaponry. function tankAttack() { + var extras = [cTempl.comsens, cTempl.cohaaq]; var northTankAssembly = {x: 95, y: 3}; - var list = [cTempl.comhltat, cTempl.cohact, cTempl.cohct, cTempl.comagt, cTempl.cohbbt, cTempl.comrlt, cTempl.cohhot, cTempl.cohript, cTempl.comsens]; + var list = [cTempl.comhltat, cTempl.cohact, cTempl.cohct, cTempl.comagt, cTempl.cohbbt, cTempl.comrlt, cTempl.cohhot, cTempl.cohript]; + + //Extra Sensors and Whirlwind AA. + for (i = 0; i < 4; ++i) + { + list.push(extras[camRand(extras.length)]); + } camSendReinforcement(THE_COLLECTIVE, camMakePos(northTankAssembly), randomTemplates(list), CAM_REINFORCE_GROUND, { data: { regroup: false, count: -1, }, @@ -203,8 +210,8 @@ function eventStartLevel() setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER); camSetupTransporter(tCoords.xStart, tCoords.yStart, tCoords.xOut, tCoords.yOut); - var enemyLz = {x: 49, y: 83, x2: 51, y2: 85}; - setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, THE_COLLECTIVE); + //var enemyLz = {x: 49, y: 83, x2: 51, y2: 85}; + //setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, THE_COLLECTIVE); setMissionTime(camMinutesToSeconds(30)); camCompleteRequiredResearch(COLLECTIVE_RES, THE_COLLECTIVE); diff --git a/stats/research.json b/stats/research.json index 006f321..03cbde0 100644 --- a/stats/research.json +++ b/stats/research.json @@ -3128,14 +3128,14 @@ "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-Pod", @@ -3157,14 +3157,14 @@ "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-Pod", @@ -3187,14 +3187,14 @@ "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-Pod", @@ -3464,14 +3464,14 @@ "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-LtA-T", @@ -3493,14 +3493,14 @@ "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-LtA-T", @@ -3523,14 +3523,14 @@ "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-LtA-T", @@ -6163,14 +6163,14 @@ "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-Pod", @@ -6192,14 +6192,14 @@ "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-Pod", @@ -6222,14 +6222,14 @@ "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-Pod", @@ -6295,14 +6295,14 @@ "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-LtA-T", @@ -6324,14 +6324,14 @@ "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-LtA-T", @@ -6354,14 +6354,14 @@ "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "Damage", - "value": 25 + "value": 35 }, { "class": "Weapon", "filterParameter": "ImpactClass", "filterValue": "SLOW ROCKET", "parameter": "RadiusDamage", - "value": 25 + "value": 35 } ], "statID": "Rocket-LtA-T",