Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine starting designs for Beta/Gamma 1 #3466

Merged
merged 1 commit into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions data/base/script/campaign/cam2-a.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@ function sendPlayerTransporter()
}

const droids = [];
const bodyList = ["Body11ABT", "Body11ABT", "Body12SUP"];
const propulsionList = ["tracked01", "tracked01", "tracked01", "hover01", "HalfTrack"];
const bodyList = ["Body12SUP", "Body11ABT"];
const propulsionList = ["tracked01", "tracked01", "hover01"];
const weaponList = ["Cannon375mmMk1", "Cannon375mmMk1", "Cannon375mmMk1", "Rocket-LtA-T", "Rocket-LtA-T", "Mortar2Mk1", "Rocket-MRL"];
const specialList = ["SensorTurret1Mk1", "CommandBrain01"];
const BODY = bodyList[camRand(bodyList.length)];
const PROP = propulsionList[camRand(propulsionList.length)];

for (let i = 0; i < 10; ++i)
{
const BODY = bodyList[camRand(bodyList.length)];
const WEAP = (!transporterIndex && (i < specialList.length)) ? specialList[i] : weaponList[camRand(weaponList.length)];
const PROP = propulsionList[camRand(propulsionList.length - ((WEAP === "Cannon375mmMk1") ? 1 : 0))]; //Ignore halftracks for Heavy Cannon.
droids.push({ body: BODY, prop: PROP, weap: WEAP });
}

Expand Down
21 changes: 15 additions & 6 deletions data/base/script/campaign/cam3-a.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,21 +137,30 @@ function sendPlayerTransporter()
}

const droids = [];
const bodyList = ["Body9REC", "Body9REC", "Body9REC", "Body11ABT", "Body12SUP"];
const propulsionList = ["tracked01", "tracked01", "hover01"];
const bodyList = ["Body9REC", "Body9REC", "Body11ABT", "Body12SUP"];
const propulsionList = ["hover01", "hover01", "tracked01"];
const weaponList = ["Cannon5VulcanMk1", "Cannon5VulcanMk1", "Flame2", "Flame2", "MG4ROTARYMk1", "MG4ROTARYMk1", "Cannon4AUTOMk1", "Rocket-HvyA-T"];
const specialList = ["Spade1Mk1", "Spade1Mk1", "CommandBrain01", "CommandBrain01"];
const BODY = bodyList[camRand(bodyList.length)];
const PROP = propulsionList[camRand(propulsionList.length)];

for (let i = 0; i < 10; ++i)
{
const BODY = bodyList[camRand(bodyList.length)];
let prop = PROP;
let weap = (!transporterIndex && (i < specialList.length)) ? specialList[i] : weaponList[camRand(weaponList.length)];
if (transporterIndex === 1 && i < 4)
{
weap = "QuadRotAAGun";
weap = "QuadRotAAGun"; //Bring 4 Whirlwinds on the 2nd transport.
}
const PROP = propulsionList[camRand(propulsionList.length)];
droids.push({ body: BODY, prop: PROP, weap: weap });
if (BODY === "Body12SUP")
{
prop = "tracked01"; //Force Mantis to use Tracks.
}
if (weap === "Spade1Mk1")
{
prop = "hover01"; //Force trucks to use Hover.
}
droids.push({ body: BODY, prop: prop, weap: weap });
}

camSendReinforcement(CAM_HUMAN_PLAYER, camMakePos("landingZone"), droids,
Expand Down
Loading