Permalink
Browse files

More campaign script updates.

Cam2-a: Do not damage first transporter when doing the pre-damage droids and structures routine.
Cam2-c: Fix odd format with artifact setting function and correct a factory
throttle time.
Cam1-d: Make factory throttles a bit longer.
  • Loading branch information...
KJeff01 committed Sep 1, 2017
1 parent 4bc0620 commit 3e52f3d30301e1b1e2f21fd4e9164ab3bcc26290
Showing with 17 additions and 14 deletions.
  1. +6 −6 data/base/script/campaign/cam1-d.js
  2. +4 −1 data/base/script/campaign/cam2-a.js
  3. +7 −7 data/base/script/campaign/cam2-c.js
@@ -212,39 +212,39 @@ function eventStartLevel()
assembly: camMakePos("genRetreatPoint"),
order: CAM_ORDER_ATTACK,
groupSize: 4,
throttle: camChangeOnDiff(50000),
throttle: camChangeOnDiff(60000),
regroup: true,
repair: 40,
templates: [ nphmgh, npltath, nphch ] //Hover factory
},
"NPFactoryE": {
order: CAM_ORDER_ATTACK,
groupSize: 4,
throttle: camChangeOnDiff(80000),
throttle: camChangeOnDiff(90000),
regroup: true,
repair: 40,
templates: [ npltat, npmsens, npmorb, npsmct, nphct ] //variety
},
"NPFactoryNE": {
order: CAM_ORDER_ATTACK,
groupSize: 4,
throttle: camChangeOnDiff(100000),
throttle: camChangeOnDiff(120000),
regroup: true,
repair: 40,
templates: [ nphct, npsbb, npmorb ] //tough units
},
"NPCybFactoryW": {
order: CAM_ORDER_ATTACK,
groupSize: 4,
throttle: camChangeOnDiff(40000),
throttle: camChangeOnDiff(50000),
regroup: true,
repair: 40,
templates: [ npcybc, npcybf, npcybr ]
},
"NPCybFactoryE": {
order: CAM_ORDER_ATTACK,
groupSize: 4,
throttle: camChangeOnDiff(40000),
throttle: camChangeOnDiff(50000),
regroup: true,
repair: 40,
templates: [ npcybc, npcybf, npcybr ]
@@ -253,7 +253,7 @@ function eventStartLevel()
assembly: camMakePos("cybRetreatPoint"),
order: CAM_ORDER_ATTACK,
groupSize: 4,
throttle: camChangeOnDiff(50000),
throttle: camChangeOnDiff(70000),
regroup: true,
repair: 40,
templates: [ npcybc, npcybf, npcybr ]
@@ -27,7 +27,10 @@ function preDamageStuff()
for (var x = 0; x < droids.length; ++x)
{
var droid = droids[x];
setHealth(droid, 45 + camRand(20));
if (!camIsTransporter(droid))
{
setHealth(droid, 45 + camRand(20));
}
}
for (var x = 0; x < structures.length; ++x)
@@ -279,12 +279,12 @@ function eventStartLevel()
setNoGoArea(lz.x, lz.y, lz.x2, lz.y2, CAM_HUMAN_PLAYER);
camSetArtifacts({
"rippleRocket": { tech: "R-Wpn-Rocket06-IDF" },
"quadbof": { tech: "R-Wpn-AAGun02" },
"howitzer": { tech: "R-Wpn-HowitzerMk1" },
"COHeavyFac-Leopard": { tech: "R-Vehicle-Body02" }, //leopard
"COHeavyFac-Upgrade": { tech: "R-Struc-Factory-Upgrade04" },
"COVtolFacLeft-Prop": { tech: "R-Vehicle-Prop-VTOL" },
"rippleRocket": { tech: "R-Wpn-Rocket06-IDF" },
"quadbof": { tech: "R-Wpn-AAGun02" },
"howitzer": { tech: "R-Wpn-HowitzerMk1" },
"COHeavyFac-Leopard": { tech: "R-Vehicle-Body02" }, //leopard
"COHeavyFac-Upgrade": { tech: "R-Struc-Factory-Upgrade04" },
"COVtolFacLeft-Prop": { tech: "R-Vehicle-Prop-VTOL" },
});
setPower(camChangeOnDiff(200000, true), THE_COLLECTIVE);
@@ -319,7 +319,7 @@ function eventStartLevel()
"COHeavyFac-Upgrade": {
order: CAM_ORDER_ATTACK,
groupSize: 4,
throttle: camChangeOnDiff(700000),
throttle: camChangeOnDiff(70000),
regroup: false,
repair: 40,
templates: [comit, cohct, comhpv, cohbbt]

0 comments on commit 3e52f3d

Please sign in to comment.