Skip to content

Commit 8f11e02

Browse files
committed
undo failed weirdo actor particle fix
1 parent 1fcd533 commit 8f11e02

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

Data/Base.rte/Activities/Utility/DeliveryCreationHandler.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
-- The actors will be equipped according to their type and team tech automatically.
1010
-- To use at a basic level, simply do:
1111

12-
-- actorTable, goldCost = CreateSquad(int desiredTeam, int actorCount, string actorType)
12+
-- actorTable, goldCost = CreateSquad(int desiredTeam, optional int actorCount, optional string actorType)
1313
-- actorTable will be a table with directly usable, Created actors in it. Funds are not automatically deducted.
1414

1515
-- craft, actorTable, goldCost = CreateSquadWithCraft(int desiredTeam, bool useRocket, int actorCount, string actorType)
@@ -52,6 +52,8 @@
5252
--------------------------------------- Misc. Information ---------------------------------------
5353

5454
-- Team -1 is always Base.rte. If you want to change this you will have to remove each Base.rte preset and add your new presets manually.
55+
-- If you do, make sure no team involved lacks any crucial group preset (like Weapons - Primary, Weapons - Secondary, an AHuman) etc.
56+
-- or things will get ugly.
5557

5658

5759

Data/Browncoats.rte/Activities/RefineryAssaultFunctions.lua

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -562,21 +562,6 @@ function RefineryAssault:MonitorStage2()
562562

563563
self.stage3Consoles = {};
564564

565-
-- i don't know if these fucking things are actors or particles at this point. i don't know why they don't work properly.
566-
567-
local i = 1;
568-
569-
for particle in MovableMan.Actors do
570-
if particle.PresetName == "Browncoat Refinery Console Breakable Objective" then
571-
particle.MissionCritical = false;
572-
table.insert(self.stage3Consoles, particle)
573-
self.tacticsHandler:AddTask("Defend Refinery Console " .. i, self.aiTeam, particle, "Defend", 10);
574-
self.tacticsHandler:AddTask("Attack Refinery Console " .. i, self.humanTeam, particle, "Attack", 10);
575-
i = i + 1;
576-
print("found refinery breakable console and added task")
577-
end
578-
end
579-
580565
local i = 1;
581566

582567
for particle in MovableMan.Particles do

Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryConsole/RefineryConsole.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
///////////////////////////////////////////////////////////////////////
22
// MOSRotatings
33

4-
AddActor = MOSRotating
4+
AddEffect = MOSRotating
55
PresetName = Browncoat Refinery Console Breakable Objective
66
AddToGroup = Scripted
77
GoldValue = 0

0 commit comments

Comments
 (0)