Skip to content

Commit 3801e7e

Browse files
committed
add screen text for the various main objectives
1 parent d5bc0e5 commit 3801e7e

File tree

1 file changed

+47
-8
lines changed

1 file changed

+47
-8
lines changed

Data/Browncoats.rte/Activities/RefineryAssaultFunctions.lua

Lines changed: 47 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,13 @@ function RefineryAssault:HandleMessage(message, object)
248248
if self.Stage ~= 5 then
249249

250250
self.Stage = 5;
251+
252+
self.HUDHandler:QueueScreenText(self.humanTeam,
253+
"Their sub-commander holds a keycard you'll need to authorize yourself within the facility systems. He's not going to show up in your section without a good reason, so go destroy some generators and give him one.",
254+
10000,
255+
0,
256+
true);
257+
251258
self.HUDHandler:SetCameraMinimumAndMaximumX(self.humanTeam, 0, SceneMan.SceneWidth + 9999);
252259
self.HUDHandler:RemoveAllObjectives(self.humanTeam);
253260

@@ -533,6 +540,12 @@ function RefineryAssault:HandleMessage(message, object)
533540
MovableMan:SendGlobalMessage("ActivateCapturable_RefineryS7AuxAuthConsole");
534541
self.Stage = 7;
535542

543+
self.HUDHandler:QueueScreenText(self.humanTeam,
544+
"You'll have to take yourself and the keycard to a physical authorization console, then get someone to hack into another computer and approve the authorization. We're almost there.",
545+
10000,
546+
0,
547+
true);
548+
536549
for particle in MovableMan.Particles do
537550
if particle.PresetName == "Refinery Authorization Console" then
538551

@@ -585,6 +598,12 @@ function RefineryAssault:HandleMessage(message, object)
585598
self.HUDHandler:RemoveObjective(self.humanTeam, "S8OpenBossDoor");
586599
self.Stage = 9;
587600

601+
self.HUDHandler:QueueScreenText(self.humanTeam,
602+
"Now you can activate the door controls for the CNC-center and take control of it. Victory is within our grasp!",
603+
7000,
604+
0,
605+
true);
606+
588607
MovableMan:SendGlobalMessage("ActivateCapturable_RefineryS10FinalConsole");
589608

590609
for particle in MovableMan.Particles do
@@ -1147,13 +1166,13 @@ function RefineryAssault:SetupFirstStage()
11471166
-- HUD Handler text
11481167

11491168
self.HUDHandler:QueueScreenText(self.humanTeam,
1150-
"Insert Witty Intro Here!",
1151-
7000,
1169+
"This under-construction segment of the Browncoat refinery is our best entry point. We've infiltrated you and your squad up top and are sending a few distraction squads via dropship down below.",
1170+
10000,
11521171
0,
11531172
true);
11541173

11551174
self.HUDHandler:QueueScreenText(self.humanTeam,
1156-
"Prepare to assume... brownie command......",
1175+
"Clear this section out, then work your way forwards through the base. Godspeed, commander!",
11571176
7000,
11581177
0,
11591178
true);
@@ -1219,7 +1238,11 @@ function RefineryAssault:MonitorStage1()
12191238
-- stage completion!
12201239
self.Stage = 2;
12211240

1222-
self:GetBanner(GUIBanner.YELLOW, 0):ShowText("STAGE 1 DONE!", GUIBanner.FLYBYLEFTWARD, 1500, Vector(FrameMan.PlayerScreenWidth, FrameMan.PlayerScreenHeight), 0.4, 4000, 0)
1241+
self.HUDHandler:QueueScreenText(self.humanTeam,
1242+
"Good job, but we're not out of the weeds yet. The next section's logistics computers hold blueprints of the whole base's internals, and will let us find more entry points to overwhelm the Browncoats. Hack them.",
1243+
10000,
1244+
0,
1245+
true);
12231246

12241247
-- Start using buydoors
12251248

@@ -1331,9 +1354,14 @@ function RefineryAssault:MonitorStage2()
13311354
--print(self.saveTable.stage2HoldingBothConsoles)
13321355

13331356
if self.saveTable.stage2HoldingBothConsoles == true and self.saveTable.stage2HoldTimer:IsPastSimMS(self.stage2TimeToHoldConsoles) then
1334-
self:GetBanner(GUIBanner.YELLOW, 0):ShowText("YOU'RE S2 WINNER!", GUIBanner.FLYBYLEFTWARD, 1500, Vector(FrameMan.PlayerScreenWidth, FrameMan.PlayerScreenHeight), 0.4, 4000, 0)
13351357
self.Stage = 3;
13361358

1359+
self.HUDHandler:QueueScreenText(self.humanTeam,
1360+
"We can get into the facility proper now. The blueprints dictate the way to the military section is blocked by nearly-impenetrable blast doors - we've sent over some objectives that should trigger a failsafe to open them.",
1361+
10000,
1362+
0,
1363+
true);
1364+
13371365
-- Capturable setup
13381366

13391367
MovableMan:SendGlobalMessage("DeactivateCapturable_RefineryLCHackConsole1");
@@ -1360,7 +1388,6 @@ function RefineryAssault:MonitorStage2()
13601388
self.tacticsHandler:AddTask("Defend Refinery Console " .. i, self.aiTeam, particle, "Defend", 10);
13611389
self.tacticsHandler:AddTask("Attack Refinery Console " .. i, self.humanTeam, particle, "Attack", 10);
13621390
i = i + 1;
1363-
print("found refinery breakable console and added task")
13641391
end
13651392
end
13661393

@@ -1574,6 +1601,13 @@ function RefineryAssault:MonitorStage3()
15741601

15751602
if self.stage3DoorSequenceTimer:IsPastSimMS(12500) then
15761603
self.Stage = 4;
1604+
1605+
self.HUDHandler:QueueScreenText(self.humanTeam,
1606+
"Damn it! They've blocked the final door somehow! We can't tell what's going on exactly, you'll have to send an infiltration squad to see if you can open the door from the other side.",
1607+
8500,
1608+
0,
1609+
true);
1610+
15771611
self.HUDHandler:SetCameraMinimumAndMaximumX(self.humanTeam, 0, 14500);
15781612
self.HUDHandler:RemoveAllObjectives(self.humanTeam);
15791613
self.HUDHandler:AddObjective(self.humanTeam,
@@ -1586,8 +1620,6 @@ function RefineryAssault:MonitorStage3()
15861620
false,
15871621
true);
15881622
end
1589-
1590-
self:GetBanner(GUIBanner.YELLOW, 0):ShowText("DOORS OPEN WOW!", GUIBanner.FLYBYLEFTWARD, 1500, Vector(FrameMan.PlayerScreenWidth, FrameMan.PlayerScreenHeight), 0.4, 4000, 0)
15911623

15921624
-- Capturables
15931625

@@ -1630,6 +1662,13 @@ function RefineryAssault:MonitorStage5()
16301662

16311663
if noGenerators then
16321664
self.Stage = 6;
1665+
1666+
self.HUDHandler:QueueScreenText(self.humanTeam,
1667+
"That's him. Get his keycard!",
1668+
6000,
1669+
0,
1670+
true);
1671+
16331672
self.HUDHandler:RemoveAllObjectives(self.humanTeam);
16341673

16351674
-- Subcommander door spawn

0 commit comments

Comments
 (0)