Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 1aa26e9

Browse files
committed
Fixed a bunker assembly with a poorly place door
Fixed bunker breach enemy gold count showing a million decimals, and made it so defender actors don't randomly go into patrol mode like idiots. Maybe the latter change is contentious??
1 parent 8644ce3 commit 1aa26e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Base.rte/Activities/BunkerBreach.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ function BunkerBreach:UpdateActivity()
295295
if self.CPUTeam == self.attackerTeam then
296296
for player = Activity.PLAYER_1, Activity.MAXPLAYERCOUNT - 1 do
297297
if self:PlayerActive(player) and self:PlayerHuman(player) then
298-
FrameMan:SetScreenText("Enemy budget: " .. funds, self:ScreenOfPlayer(player), 0, 2500, false);
298+
FrameMan:SetScreenText("Enemy budget: " .. math.floor(funds), self:ScreenOfPlayer(player), 0, 2500, false);
299299
end
300300
end
301301
end
@@ -508,7 +508,7 @@ function BunkerBreach:CreateInfantry(team, loadout)
508508
elseif team == self.attackerTeam then
509509
actor.AIMode = Actor.AIMODE_BRAINHUNT;
510510
else
511-
actor.AIMode = math.random() < 0.7 and Actor.AIMODE_SENTRY or Actor.AIMODE_PATROL;
511+
actor.AIMode = Actor.AIMODE_SENTRY;
512512
end
513513
actor.Team = team;
514514
return actor;

Base.rte/Scenes/Objects/Bunkers/BunkerAssemblies/Dropship Bay Up 3x2.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ AddBunkerAssembly = BunkerAssembly
217217
CopyOf = Base.rte/Door A
218218
Position = Vector
219219
X = 0
220-
Y = 96
220+
Y = 108
221221
Team = -1
222222
PlaceObject = TerrainObject
223223
CopyOf = Base.rte/Door A

0 commit comments

Comments
 (0)