Polish Nod01:
- Script initial unit entry. - Centre the camera on the initial starting point - Give additional e3 reinforcements to clear the village.
This commit is contained in:
@@ -249,51 +249,21 @@ Actors:
|
|||||||
Nikoomba: c10
|
Nikoomba: c10
|
||||||
Location: 29,16
|
Location: 29,16
|
||||||
Owner: Villagers
|
Owner: Villagers
|
||||||
Actor61: e1
|
|
||||||
Location: 52,17
|
|
||||||
Owner: Nod
|
|
||||||
Actor62: e1
|
|
||||||
Location: 51,17
|
|
||||||
Owner: Nod
|
|
||||||
Actor63: e1
|
|
||||||
Location: 51,16
|
|
||||||
Owner: Nod
|
|
||||||
Actor64: e1
|
|
||||||
Location: 52,16
|
|
||||||
Owner: Nod
|
|
||||||
Actor65: e1
|
|
||||||
Location: 55,17
|
|
||||||
Owner: Nod
|
|
||||||
Actor66: e1
|
|
||||||
Location: 56,17
|
|
||||||
Owner: Nod
|
|
||||||
Actor67: e1
|
|
||||||
Location: 56,16
|
|
||||||
Owner: Nod
|
|
||||||
Actor68: e1
|
|
||||||
Location: 55,16
|
|
||||||
Owner: Nod
|
|
||||||
Actor69: bggy
|
|
||||||
Location: 53,16
|
|
||||||
Owner: Nod
|
|
||||||
Actor70: bggy
|
|
||||||
Location: 54,16
|
|
||||||
Owner: Nod
|
|
||||||
StartSpawnPointLeft: waypoint
|
StartSpawnPointLeft: waypoint
|
||||||
Location: 52,14
|
Location: 50,14
|
||||||
Owner: Nod
|
Owner: Neutral
|
||||||
StartSpawnPointRight: waypoint
|
StartSpawnPointRight: waypoint
|
||||||
Location: 56,14
|
Location: 52,14
|
||||||
Owner: Nod
|
Owner: Neutral
|
||||||
StartRallyPoint: waypoint
|
StartRallyPoint: waypoint
|
||||||
Location: 54,16
|
Location: 53,17
|
||||||
Owner: Nod
|
Owner: Neutral
|
||||||
VillageSpawnPoint: waypoint
|
VillageSpawnPoint: waypoint
|
||||||
Location: 24,14
|
Location: 24,14
|
||||||
Owner: Nod
|
Owner: Neutral
|
||||||
VillageRallyPoint: waypoint
|
VillageRallyPoint: waypoint
|
||||||
Location: 24,17
|
Location: 24,17
|
||||||
Owner: Nod
|
Owner: Neutral
|
||||||
Actor27: jeep
|
Actor27: jeep
|
||||||
Location: 31,28
|
Location: 31,28
|
||||||
Owner: GDI
|
Owner: GDI
|
||||||
|
|||||||
@@ -1,5 +1,14 @@
|
|||||||
|
InitialForcesA = { "bggy", "e1", "e1", "e1", "e1" }
|
||||||
|
InitialForcesB = { "e1", "e1", "bggy", "e1", "e1" }
|
||||||
|
|
||||||
RifleInfantryReinforcements = { "e1", "e1" }
|
RifleInfantryReinforcements = { "e1", "e1" }
|
||||||
RocketInfantryReinforcements = { "e3", "e3", "e3" }
|
RocketInfantryReinforcements = { "e3", "e3", "e3", "e3", "e3" }
|
||||||
|
|
||||||
|
SendInitialForces = function()
|
||||||
|
Media.PlaySpeechNotification(nod, "Reinforce")
|
||||||
|
Reinforcements.Reinforce(nod, InitialForcesA, { StartSpawnPointLeft.Location, StartRallyPoint.Location }, 5)
|
||||||
|
Reinforcements.Reinforce(nod, InitialForcesB, { StartSpawnPointRight.Location, StartRallyPoint.Location }, 10)
|
||||||
|
end
|
||||||
|
|
||||||
SendFirstInfantryReinforcements = function()
|
SendFirstInfantryReinforcements = function()
|
||||||
Media.PlaySpeechNotification(nod, "Reinforce")
|
Media.PlaySpeechNotification(nod, "Reinforce")
|
||||||
@@ -13,7 +22,13 @@ end
|
|||||||
|
|
||||||
SendLastInfantryReinforcements = function()
|
SendLastInfantryReinforcements = function()
|
||||||
Media.PlaySpeechNotification(nod, "Reinforce")
|
Media.PlaySpeechNotification(nod, "Reinforce")
|
||||||
Reinforcements.Reinforce(nod, RocketInfantryReinforcements, { VillageSpawnPoint.Location, VillageRallyPoint.Location }, 15)
|
|
||||||
|
-- Move the units properly into the map before they start attacking
|
||||||
|
local forces = Reinforcements.Reinforce(nod, RocketInfantryReinforcements, { VillageSpawnPoint.Location, VillageRallyPoint.Location }, 8)
|
||||||
|
Utils.Do(forces, function(a)
|
||||||
|
a.Stance = "Defend"
|
||||||
|
a.CallFunc(function() a.Stance = "AttackAnything" end)
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
@@ -54,6 +69,9 @@ WorldLoaded = function()
|
|||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Camera.Position = StartRallyPoint.CenterPosition
|
||||||
|
|
||||||
|
SendInitialForces()
|
||||||
Trigger.AfterDelay(DateTime.Seconds(30), SendFirstInfantryReinforcements)
|
Trigger.AfterDelay(DateTime.Seconds(30), SendFirstInfantryReinforcements)
|
||||||
Trigger.AfterDelay(DateTime.Seconds(60), SendSecondInfantryReinforcements)
|
Trigger.AfterDelay(DateTime.Seconds(60), SendSecondInfantryReinforcements)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user