Skip to content

Commit 0fb4165

Browse files
committed
Merge branch 'development' into Pause-Screen
2 parents ef89df3 + 2313a01 commit 0fb4165

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

Data/Base.rte/Scenes/Objects/Bunkers/BunkerSystems/Automovers/Controller/Controller.lua

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ automoverActorFunctions.setupActorWaypointData = function(self, actorData)
10811081
waypointData.actorReachedTargetInsideAutomoverArea = false;
10821082
waypointData.actorReachedEndNodeForTargetOutsideAutomoverArea = false;
10831083
waypointData.teleporterVisualsTimer = Timer(1000);
1084-
waypointData.delayTimer = Timer(50);
1084+
waypointData.delayTimer = Timer(30);
10851085

10861086
waypointData.endNode = self:findClosestNode(waypointData.targetPosition, waypointData.previousNode, false, waypointData.targetIsInsideAutomoverArea, true, actor.Team);
10871087
if not waypointData.endNode then
@@ -1317,7 +1317,7 @@ automoverActorFunctions.handleActorThatHasReachedItsEndNode = function(self, act
13171317
end
13181318
end
13191319
waypointData.delayTimer:Reset();
1320-
elseif waypointData.exitPath ~= nil and #waypointData.exitPath > 0 then
1320+
elseif waypointData.exitPath ~= nil and #waypointData.exitPath > 0 and waypointData.delayTimer:IsPastSimTimeLimit() then
13211321
local distanceFromActorToFirstExitPathPosition = SceneMan:ShortestDistance(waypointData.exitPath[1], actor.Pos, self.checkWrapping);
13221322
if distanceFromActorToFirstExitPathPosition:MagnitudeIsLessThan(20) then
13231323
table.remove(waypointData.exitPath, 1);
@@ -1329,7 +1329,12 @@ automoverActorFunctions.handleActorThatHasReachedItsEndNode = function(self, act
13291329

13301330
local endNodeData = teamNodeTable[waypointData.endNode];
13311331
if not endNodeData.zoneBox:IsWithinBox(waypointData.exitPath[1]) and (endNodeData.connectedNodeData[actorData.direction] == nil or not endNodeData.connectingAreas[actorData.direction]:IsInside(waypointData.exitPath[1])) then
1332-
actor.Vel = actor.Vel + (distanceFromActorToFirstExitPathPosition.Normalized:FlipX(true):FlipY(true) * self.movementAcceleration * 10);
1332+
local velocityToAddToActor = distanceFromActorToFirstExitPathPosition.Normalized:FlipX(true):FlipY(true) * self.movementAcceleration * 10;
1333+
if math.abs(velocityToAddToActor.X) < 1 and velocityToAddToActor.Y < 0 and SceneMan.GlobalAcc.Y > 0 then
1334+
velocityToAddToActor.Y = velocityToAddToActor.Y * 2;
1335+
end
1336+
actor.Vel = actor.Vel + velocityToAddToActor;
1337+
13331338
end
13341339
waypointData.delayTimer:Reset();
13351340
end

Data/Missions.rte/Activities/DecisionDay.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,8 @@ function DecisionDay:UpdateAIDecisions()
16111611
bunkerRegionData.aiRegionDefenseTimer:Reset();
16121612
end
16131613
elseif bunkerRegionData.ownerTeam == self.humanTeam then
1614+
bunkerRegionData.aiRegionDefenseTimer:Reset();
1615+
16141616
humanOwnedBunkerRegions[#humanOwnedBunkerRegions + 1] = bunkerRegionData;
16151617
if bunkerRegionData.aiRecaptureWeight > 0 and (bunkerRegionForAIToRecapture == nil or bunkerRegionData.aiRecaptureWeight > bunkerRegionForAIToRecapture.aiRecaptureWeight) and bunkerRegionData.aiRegionAttackTimer:IsPastSimTimeLimit() then
16161618
bunkerRegionForAIToRecapture = bunkerRegionData;

Data/Missions.rte/MissionActivities.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ AddActivity = GAScripted
6666

6767

6868
AddActivity = GAScripted
69-
PresetName = Decision Day
69+
PresetName = Decision Day (Beta)
7070
SceneName = Decision Day
71-
Description = Strike the enemy fortress and destroy its controller unit!
71+
Description = Battle through a massive fortress to destroy the enemy's brain and get revenge! NOTE - this mission's performance will be improved in future versions.
7272
ScriptPath = Missions.rte/Activities/DecisionDay.lua
7373
InCampaignStage = 1
7474
LuaClassName = DecisionDay

Data/Ronin.rte/Devices/Misc/Stone/Stone.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ AddDevice = ThrownDevice
66
PresetName = Stone
77
Description = Throwable stone. This is the cheapest weapon in the Ronin arsenal, yet very effective because of its long range. The stone can be picked up after throwing for another go in case it didn't break.
88
AddToGroup = Bombs
9+
AddToGroup = Bombs - Grenades
910
Mass = 1.5
1011
RestThreshold = -500
1112
HitsMOs = 1
@@ -99,6 +100,7 @@ AddDevice = ThrownDevice
99100
PresetName = Stone Bag
100101
Description = A handful of throwable stones. These are the cheapest weapon in the Ronin arsenal, but surprisingly effective because of their long range. Stones can be picked up after throwing, if they didn't break on impact.
101102
AddToGroup = Bombs
103+
AddToGroup = Bombs - Grenades
102104
Mass = 8
103105
RestThreshold = -500
104106
HitsMOs = 1
@@ -115,7 +117,7 @@ AddDevice = ThrownDevice
115117
AddCustomValue = NumberValue
116118
BandolierMass = 0.5
117119
AddCustomValue = NumberValue
118-
IsThrownDevice = 1
120+
GrenadeIsThrownDevice = 1
119121
SpriteFile = ContentFile
120122
FilePath = Ronin.rte/Devices/Misc/Stone/Stone.png
121123
IconFile = ContentFile

0 commit comments

Comments
 (0)