Skip to content

Commit

Permalink
Cleanup enemy LZ zones
Browse files Browse the repository at this point in the history
Not needed as transporter reinforcements clear the position they want to land at.

Enemy VTOLs will not respond to RTB orders again should no pads or HQ be around.
  • Loading branch information
KJeff01 committed Jan 17, 2024
1 parent 9321a87 commit d2e5af0
Show file tree
Hide file tree
Showing 33 changed files with 0 additions and 104 deletions.
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam1-5.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,9 @@ function eventStartLevel()

useHeavyReinforcement = false; //Start with a light unit reinforcement first
const lz = getObject("LandingZone1"); //player lz
const lz2 = getObject("LandingZone2"); //new paradigm lz
const tEnt = getObject("TransporterEntry");
const tExt = getObject("TransporterExit");
setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(lz2.x, lz2.y, lz2.x2, lz2.y2, 5);
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

Expand Down
7 changes: 0 additions & 7 deletions data/base/script/campaign/cam1a-c.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,6 @@ function eventStartLevel()

setMissionTime(camChangeOnDiff(camHoursToSeconds(1)));

// make sure player doesn't build on enemy LZs
for (let i = 6; i <= 10; ++i)
{
const ph = getObject("NPLZ" + i);
setNoGoArea(ph.x, ph.y, ph.x2, ph.y2, i - 4);
}

camCompleteRequiredResearch(mis_newParadigmRes, CAM_NEW_PARADIGM);
camPlayVideos([{video: "MB1A-C_MSG", type: CAMP_MSG}, {video: "MB1A-C_MSG2", type: MISS_MSG}]);

Expand Down
9 changes: 0 additions & 9 deletions data/base/script/campaign/cam1c.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,6 @@ function eventStartLevel()
centreView(startPos.x, startPos.y);
setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER);

// make sure player doesn't build on enemy LZs of the next level
for (let i = 1; i <= 5; ++i)
{
const ph = getObject("PhantomLZ" + i);
// HACK: set LZs of bad players, namely 2...6,
// note: player 1 is NP, player 7 is scavs
setNoGoArea(ph.x, ph.y, ph.x2, ph.y2, i + 1);
}

if (difficulty === HARD)
{
setMissionTime(camMinutesToSeconds(100));
Expand Down
9 changes: 0 additions & 9 deletions data/base/script/campaign/cam1ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,6 @@ function eventStartLevel()
setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER);
camCompleteRequiredResearch(mis_newParadigmRes, CAM_NEW_PARADIGM);

// make sure player doesn't build on enemy LZs
for (let i = 1; i <= 5; ++i)
{
const ph = getObject("PhantomLZ" + i);
// HACK: set LZs of bad players, namely 2...6,
// note: player 1 is NP
setNoGoArea(ph.x, ph.y, ph.x2, ph.y2, i + 2);
}

setMissionTime(camChangeOnDiff(camMinutesToSeconds(30)));
camPlayVideos({video: "MB1CA_MSG", type: CAMP_MSG});

Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-1s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 88, y: 101},
lz: {x: 86, y: 99, x2: 88, y2: 101},
lz2: {x: 49, y: 83, x2: 51, y2: 85},
trPlace: {x: 87, y: 100},
trExit: {x: 70, y: 126}
};
Expand All @@ -14,7 +13,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_THE_COLLECTIVE);
setMissionTime(camChangeOnDiff(camMinutesToSeconds(30)));
camPlayVideos([{video: "MB2_1_MSG", type: CAMP_MSG}, {video: "MB2_1_MSG2", type: MISS_MSG}]);
}
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-1x.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_THE_COLLECTIVE);

//Add crash site blip and from an alliance with the crashed team.
hackAddMessage("C21_OBJECTIVE", PROX_MSG, CAM_HUMAN_PLAYER, false);
setAlliance(CAM_HUMAN_PLAYER, MIS_TRANSPORT_TEAM_PLAYER, true);
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_THE_COLLECTIVE);

camSetArtifacts({
"COCommander": { tech: "R-Wpn-RocketSlow-Accuracy03" },
});
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-2s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 88, y: 101},
lz: {x: 86, y: 99, x2: 88, y2: 101},
lz2: {x: 49, y: 83, x2: 51, y2: 85},
trPlace: {x: 87, y: 100},
trExit: {x: 70, y: 1}
};
Expand All @@ -13,7 +12,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_THE_COLLECTIVE);
setMissionTime(camChangeOnDiff(camMinutesToSeconds(70)));
camPlayVideos([{video: "MB2_2_MSG", type: CAMP_MSG}, {video:"MB2_2_MSG2", type: CAMP_MSG}, {video: "MB2_2_MSG3", type: MISS_MSG}]);
camSetStandardWinLossConditions(CAM_VICTORY_PRE_OFFWORLD, "SUB_2_2");
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-5.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_THE_COLLECTIVE);

camSetArtifacts({
"NuclearReactor": { tech: "R-Struc-Power-Upgrade01" },
"COMediumFactory": { tech: "R-Wpn-Cannon-ROF02" },
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-5s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 88, y: 101},
lz: {x: 86, y: 99, x2: 88, y2: 101},
lz2: {x: 49, y: 83, x2: 51, y2: 85},
trPlace: {x: 87, y: 100},
trExit: {x: 32, y: 1}
};
Expand All @@ -13,7 +12,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_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");
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-6.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_THE_COLLECTIVE);

camSetArtifacts({
"COCyborgFactory-Arti": { tech: "R-Wpn-Rocket07-Tank-Killer" },
"COCommandCenter": { tech: "R-Wpn-Mortar3" },
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-6s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 88, y: 101},
lz: {x: 86, y: 99, x2: 88, y2: 101},
lz2: {x: 49, y: 83, x2: 51, y2: 85},
trPlace: {x: 87, y: 100},
trExit: {x: 16, y: 126}
};
Expand All @@ -13,7 +12,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_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");
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-7.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_THE_COLLECTIVE);

camSetArtifacts({
"COHeavyFac-Arti-b2": { tech: ["R-Wpn-Cannon5", "R-Wpn-MG-Damage08"] },
"COTankKillerHardpoint": { tech: "R-Wpn-RocketSlow-Damage06" },
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-7s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 88, y: 101},
lz: {x: 86, y: 99, x2: 88, y2: 101},
lz2: {x: 49, y: 83, x2: 51, y2: 85},
trPlace: {x: 87, y: 100},
trExit: {x: 100, y: 1}
};
Expand All @@ -13,7 +12,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_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");
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-8.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_THE_COLLECTIVE);

camSetArtifacts({
"COVtolFac-b3": { tech: "R-Vehicle-Body09" }, //Tiger body
"COHeavyFacL-b2": { tech: "R-Wpn-HvyHowitzer" },
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-8s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 88, y: 101},
lz: {x: 86, y: 99, x2: 88, y2: 101},
lz2: {x: 49, y: 83, x2: 51, y2: 85},
trPlace: {x: 87, y: 100},
trExit: {x: 126, y: 60}
};
Expand All @@ -13,7 +12,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_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");
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-a.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ function eventStartLevel()
const PLAYER_POWER = 5000;
const startPos = getObject("startPosition");
const lz = getObject("landingZone"); //player lz
const enemyLz = getObject("COLandingZone");
const tEnt = getObject("transporterEntry");
const tExt = getObject("transporterExit");

Expand All @@ -355,7 +354,6 @@ function eventStartLevel()

centreView(startPos.x, startPos.y);
setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, 5);
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-b.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ function eventStartLevel()
centreView(startPos.x, startPos.y);
setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_THE_COLLECTIVE);

setMissionTime(camChangeOnDiff(camHoursToSeconds(2)));
camPlayVideos([{video: "MB2_B_MSG", type: CAMP_MSG}, {video: "MB2_B_MSG2", type: MISS_MSG}]);

Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-c.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,6 @@ function eventStartLevel()
centreView(startPos.x, startPos.y);
setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, 5);

camSetArtifacts({
"rippleRocket": { tech: "R-Wpn-Rocket06-IDF" },
"quadbof": { tech: "R-Wpn-AAGun02" },
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam2-d.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("COLandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_THE_COLLECTIVE);

camSetArtifacts({
"COCommandCenter": { tech: "R-Struc-VTOLPad-Upgrade01" },
"COResearchLab": { tech: "R-Struc-Research-Upgrade04" },
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-ds.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 88, y: 101},
lz: {x: 86, y: 99, x2: 88, y2: 101},
lz2: {x: 49, y: 83, x2: 51, y2: 85},
trPlace: {x: 87, y: 100},
trExit: {x: 1, y: 100}
};
Expand All @@ -13,7 +12,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_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");
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam2-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const mis_collectiveRes = [
const mis_Labels = {
startPos: {x: 92, y: 99},
lz: {x: 86, y: 99, x2: 88, y2: 101},
lz2: {x: 49, y: 83, x2: 51, y2: 85},
trPlace: {x: 87, y: 100},
trExit: {x: 0, y: 55},
northTankAssembly: {x: 95, y: 3},
Expand Down Expand Up @@ -233,7 +232,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_THE_COLLECTIVE);

setMissionTime(camMinutesToSeconds(30));
camCompleteRequiredResearch(mis_collectiveRes, CAM_THE_COLLECTIVE);
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam3-1.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,6 @@ function eventStartLevel()
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);
setScrollLimits(0, 32, 64, 64);

const enemyLz = getObject("NXlandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_NEXUS);

camCompleteRequiredResearch(mis_nexusRes, CAM_NEXUS);

camSetArtifacts({
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam3-1s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 57, y: 119},
lz: {x: 55, y: 119, x2: 57, y2: 121},
lz2: {x: 7, y: 52, x2: 9, y2: 54},
trPlace: {x: 56, y: 120},
trExit: {x: 25, y: 87}
};
Expand All @@ -13,7 +12,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_NEXUS);
setMissionTime(camChangeOnDiff(camMinutesToSeconds(75)));
camPlayVideos([{video: "MB3_1A_MSG", type: CAMP_MSG}, {video: "MB3_1A_MSG2", type: MISS_MSG}]);
camSetStandardWinLossConditions(CAM_VICTORY_PRE_OFFWORLD, "SUB_3_1");
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam3-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("NXlandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_NEXUS);

camCompleteRequiredResearch(mis_nexusRes, CAM_NEXUS);
camCompleteRequiredResearch(mis_gammaAllyRes, MIS_ALPHA_PLAYER);
setAlliance(MIS_ALPHA_PLAYER, CAM_NEXUS, true);
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam3-2s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 57, y: 119},
lz: {x: 55, y: 119, x2: 57, y2: 121},
lz2: {x: 7, y: 52, x2: 9, y2: 54},
trPlace: {x: 56, y: 120},
trExit: {x: 25, y: 87}
};
Expand All @@ -13,7 +12,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_NEXUS);
setMissionTime(camChangeOnDiff(camHoursToSeconds(1)));
camPlayVideos([{video: "MB3_2_MSG", type: CAMP_MSG}, {video: "MB3_2_MSG2", type: MISS_MSG}]);
camSetStandardWinLossConditions(CAM_VICTORY_PRE_OFFWORLD, "SUB_3_2");
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam3-4.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,6 @@ function eventStartLevel()
setTransporterExit(tpos.x, tpos.y, CAM_HUMAN_PLAYER);
setMissionTime(-1); //Infinite time

const enemyLz = getObject("NXlandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_NEXUS);

camCompleteRequiredResearch(mis_nexusRes, CAM_NEXUS);
if (difficulty === INSANE)
{
Expand Down
2 changes: 0 additions & 2 deletions data/base/script/campaign/cam3-4s.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include("script/campaign/libcampaign.js");
const mis_Labels = {
startPos: {x: 50, y: 245},
lz: {x: 49, y: 244, x2: 51, y2: 246},
lz2: {x: 7, y: 52, x2: 9, y2: 54},
trPlace: {x: 50, y: 245},
trExit: {x: 63, y: 118},
limits: {x: 0, y: 137, x2: 64, y2: 256}
Expand All @@ -14,7 +13,6 @@ function eventStartLevel()
camSetupTransporter(mis_Labels.trPlace.x, mis_Labels.trPlace.y, mis_Labels.trExit.x, mis_Labels.trExit.y);
centreView(mis_Labels.startPos.x, mis_Labels.startPos.y);
setNoGoArea(mis_Labels.lz.x, mis_Labels.lz.y, mis_Labels.lz.x2, mis_Labels.lz.y2, CAM_HUMAN_PLAYER);
setNoGoArea(mis_Labels.lz2.x, mis_Labels.lz2.y, mis_Labels.lz2.x2, mis_Labels.lz2.y2, CAM_NEXUS);
setScrollLimits(mis_Labels.limits.x, mis_Labels.limits.y, mis_Labels.limits.x2, mis_Labels.limits.y2);
setMissionTime(camMinutesToSeconds(30));
setPower(playerPower(CAM_HUMAN_PLAYER) + 50000, CAM_HUMAN_PLAYER);
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam3-a.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,6 @@ function eventStartLevel()
startTransporterEntry(tEnt.x, tEnt.y, CAM_HUMAN_PLAYER);
setTransporterExit(tExt.x, tExt.y, CAM_HUMAN_PLAYER);

const enemyLz = getObject("NXlandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_NEXUS);

camSetArtifacts({
"NXPowerGenArti": { tech: "R-Struc-Power-Upgrade02" },
"NXResearchLabArti": { tech: "R-Sys-Engineering03" },
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/campaign/cam3-ab.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ function eventStartLevel()
setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER);
setMissionTime(camChangeOnDiff(camHoursToSeconds(1)));

const enemyLz = getObject("NXlandingZone");
setNoGoArea(enemyLz.x, enemyLz.y, enemyLz.x2, enemyLz.y2, CAM_NEXUS);

camCompleteRequiredResearch(mis_nexusRes, CAM_NEXUS);

enableResearch(cam_resistance_circuits.first, CAM_HUMAN_PLAYER);
Expand Down
Loading

0 comments on commit d2e5af0

Please sign in to comment.