Skip to content

Commit

Permalink
Some more campaign updates
Browse files Browse the repository at this point in the history
Gamma 8 needs tweaking to be beatable on the 3.2 balance option.

Fix the LZ locations on Gamma 7/8 and Beta 10. The flares were off by one tile of where they needed to be.

Bring back repair units on Gamma 4, replace MRP towers with TK hardpoints.
  • Loading branch information
KJeff01 committed May 19, 2024
1 parent 26cf798 commit 4ba5e83
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 12 deletions.
30 changes: 24 additions & 6 deletions data/base/script/campaign/cam3-ad2.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,22 @@ function vaporizeTarget()
}
if (Math.floor(mapLimit) < mapHeight)
{
//Need to travel about 119 tiles in ~1 hour so:
//119 tiles / 60 minutes = 1.983 tiles per minute
//1.983 tile per minute / 60 seconds = 0.03305 tiles per second
//0.03305 * 10 sec = ~0.33 tiles per blast at 10 second intervals.
mapLimit += 0.33; //sector clear; move closer
if (camClassicMode() && tweakOptions.camClassic_balance32)
{
//Need to travel about 119 tiles in 80 minutes so:
//119 tiles / 80 minutes = 1.4875 tiles per minute
//1.4875 tile per minute / 60 seconds = 0.02479 tiles per second
//0.02479 * 10 sec = ~0.24 tiles per blast at 10 second intervals.
mapLimit += 0.24; //sector clear; move closer
}
else
{
//Need to travel about 119 tiles in ~1 hour so:
//119 tiles / 60 minutes = 1.9833 tiles per minute
//1.9833 tile per minute / 60 seconds = 0.03305 tiles per second
//0.03305 * 10 sec = ~0.33 tiles per blast at 10 second intervals.
mapLimit += 0.33; //sector clear; move closer
}
}
laserSatFuzzyStrike(target);
}
Expand Down Expand Up @@ -301,7 +312,14 @@ function checkTime()
if (getMissionTime() <= 2)
{
camPlayVideos({video: "MB3_AD2_MSG2", type: CAMP_MSG});
setMissionTime(camHoursToSeconds(1));
if (camClassicMode() && tweakOptions.camClassic_balance32)
{
setMissionTime(camMinutesToSeconds(80)); // To accommodate the research bug of 3.2 balance.
}
else
{
setMissionTime(camHoursToSeconds(1));
}

phantomFactorySpawn();
queue("vaporizeTarget", camSecondsToMilliseconds(2));
Expand Down
4 changes: 2 additions & 2 deletions data/base/wrf/cam2/sub2-8/labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@

"area_0": {
"label": "landingZone",
"pos1": [6800, 7120],
"pos2": [7024, 7412]
"pos1": [6784, 7168],
"pos2": [7040, 7424]
},
"area_1": {
"label": "RTLZ",
Expand Down
4 changes: 2 additions & 2 deletions data/base/wrf/cam3/cam3ad/labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@

"area_0": {
"label": "landingZone",
"pos1": [6200, 31160],
"pos2": [6600, 31560]
"pos1": [6272, 31232],
"pos2": [6528, 31488]
},
"area_1": {
"label": "NXlandingZone",
Expand Down
4 changes: 2 additions & 2 deletions data/base/wrf/cam3/cam3d/labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
},
"area_1": {
"label": "landingZone2",
"pos1": [6200, 31160],
"pos2": [6600, 31560]
"pos1": [6272, 31232],
"pos2": [6528, 31488]
},
"area_2": {
"label": "mainBaseCleanup",
Expand Down
Binary file modified data/base/wrf/cam3/sub3-2/dinit.bjo
Binary file not shown.
Binary file modified data/base/wrf/cam3/sub3-2/struct.bjo
Binary file not shown.

0 comments on commit 4ba5e83

Please sign in to comment.