Remove unused waypoints from Soviet02a
This commit is contained in:
@@ -380,63 +380,6 @@ Actors:
|
|||||||
Location: 74,50
|
Location: 74,50
|
||||||
Owner: USSR
|
Owner: USSR
|
||||||
SubCell: 3
|
SubCell: 3
|
||||||
waypoint8: waypoint
|
|
||||||
Location: 62,38
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint9: waypoint
|
|
||||||
Location: 52,72
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint10: waypoint
|
|
||||||
Location: 83,77
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint11: waypoint
|
|
||||||
Location: 64,62
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint23: waypoint
|
|
||||||
Location: 66,53
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint25: waypoint
|
|
||||||
Location: 75,59
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint26: waypoint
|
|
||||||
Location: 79,67
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint27: waypoint
|
|
||||||
Location: 85,63
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint28: waypoint
|
|
||||||
Location: 85,53
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint42: waypoint
|
|
||||||
Location: 42,53
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint49: waypoint
|
|
||||||
Location: 42,59
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint52: waypoint
|
|
||||||
Location: 60,60
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint53: waypoint
|
|
||||||
Location: 61,59
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint94: waypoint
|
|
||||||
Location: 77,53
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint95: waypoint
|
|
||||||
Location: 59,44
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint1: waypoint
|
|
||||||
Location: 47,57
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint4: waypoint
|
|
||||||
Location: 57,59
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint5: waypoint
|
|
||||||
Location: 63,52
|
|
||||||
Owner: Neutral
|
|
||||||
waypoint6: waypoint
|
|
||||||
Location: 68,39
|
|
||||||
Owner: Neutral
|
|
||||||
Actor121: fenc
|
Actor121: fenc
|
||||||
Location: 68,59
|
Location: 68,59
|
||||||
Owner: USSR
|
Owner: USSR
|
||||||
@@ -476,18 +419,6 @@ Actors:
|
|||||||
Actor133: fenc
|
Actor133: fenc
|
||||||
Location: 69,51
|
Location: 69,51
|
||||||
Owner: USSR
|
Owner: USSR
|
||||||
CameraWaypoint: waypoint
|
|
||||||
Location: 68,54
|
|
||||||
Owner: Neutral
|
|
||||||
ParadropLZ: waypoint
|
|
||||||
Location: 45,43
|
|
||||||
Owner: Neutral
|
|
||||||
AttackWaypoint1: waypoint
|
|
||||||
Location: 73,49
|
|
||||||
Owner: Neutral
|
|
||||||
AttackWaypoint2: waypoint
|
|
||||||
Location: 73,76
|
|
||||||
Owner: Neutral
|
|
||||||
CommandCenter: fcom
|
CommandCenter: fcom
|
||||||
Location: 76,52
|
Location: 76,52
|
||||||
Owner: USSR
|
Owner: USSR
|
||||||
@@ -557,5 +488,26 @@ Actors:
|
|||||||
Location: 54,74
|
Location: 54,74
|
||||||
Owner: Greece
|
Owner: Greece
|
||||||
SubCell: 2
|
SubCell: 2
|
||||||
|
CameraWaypoint: waypoint
|
||||||
|
Location: 68,54
|
||||||
|
Owner: Neutral
|
||||||
|
ParadropLZ: waypoint
|
||||||
|
Location: 45,43
|
||||||
|
Owner: Neutral
|
||||||
|
AttackWaypoint1: waypoint
|
||||||
|
Location: 73,49
|
||||||
|
Owner: Neutral
|
||||||
|
AttackWaypoint2: waypoint
|
||||||
|
Location: 73,76
|
||||||
|
Owner: Neutral
|
||||||
|
RifleRetreat: waypoint
|
||||||
|
Location: 57,59
|
||||||
|
Owner: Neutral
|
||||||
|
Box1: waypoint
|
||||||
|
Location: 66,53
|
||||||
|
Owner: Neutral
|
||||||
|
Box2: waypoint
|
||||||
|
Location: 42,59
|
||||||
|
Owner: Neutral
|
||||||
|
|
||||||
Rules: ra|rules/campaign-rules.yaml, ra|rules/campaign-tooltips.yaml, ra|rules/campaign-palettes.yaml, rules.yaml
|
Rules: ra|rules/campaign-rules.yaml, ra|rules/campaign-tooltips.yaml, ra|rules/campaign-palettes.yaml, rules.yaml
|
||||||
|
|||||||
@@ -60,20 +60,20 @@ WorldLoaded = function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Find the bridge actors
|
-- Find the bridge actors
|
||||||
bridgepart1 = Map.ActorsInBox(waypoint23.CenterPosition, waypoint49.CenterPosition, function(self) return self.Type == "br1" end)[1]
|
bridgepart1 = Map.ActorsInBox(Box1.CenterPosition, Box2.CenterPosition, function(self) return self.Type == "br1" end)[1]
|
||||||
bridgepart2 = Map.ActorsInBox(waypoint23.CenterPosition, waypoint49.CenterPosition, function(self) return self.Type == "br2" end)[1]
|
bridgepart2 = Map.ActorsInBox(Box1.CenterPosition, Box2.CenterPosition, function(self) return self.Type == "br2" end)[1]
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Discover the area around the bridge exposing the two german soldiers
|
-- Discover the area around the bridge exposing the two german soldiers
|
||||||
-- When the two infantry near the bridge are discovered move them across the bridge to waypoint4
|
-- When the two infantry near the bridge are discovered move them across the bridge to waypoint4
|
||||||
-- in the meanwhile one USSR soldier hunts them down
|
-- in the meanwhile one USSR soldier hunts them down
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
||||||
Actor.Create("camera", true, { Owner = player, Location = waypoint23.Location })
|
Actor.Create("camera", true, { Owner = player, Location = Box1.Location })
|
||||||
|
|
||||||
Utils.Do(FleeingUnits, function(unit)
|
Utils.Do(FleeingUnits, function(unit)
|
||||||
unit.Move(waypoint4.Location)
|
unit.Move(RifleRetreat.Location)
|
||||||
end)
|
end)
|
||||||
Follower.AttackMove(waypoint4.Location)
|
Follower.AttackMove(RifleRetreat.Location)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- To make it look more smooth we will blow up the bridge when the barrel closest to it blows up
|
-- To make it look more smooth we will blow up the bridge when the barrel closest to it blows up
|
||||||
|
|||||||
Reference in New Issue
Block a user