TD: various map and script fixes
This commit is contained in:
@@ -56,10 +56,18 @@ NodAttack = function()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "befeared"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
player = Player.GetPlayer("GDI")
|
player = Player.GetPlayer("GDI")
|
||||||
enemy = Player.GetPlayer("Nod")
|
enemy = Player.GetPlayer("Nod")
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
Trigger.OnObjectiveAdded(player, function(p, id)
|
Trigger.OnObjectiveAdded(player, function(p, id)
|
||||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -45,10 +45,18 @@ SendReinforcements = function()
|
|||||||
Media.PlaySpeechNotification(player, "Reinforce")
|
Media.PlaySpeechNotification(player, "Reinforce")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "crep226m"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
player = Player.GetPlayer("GDI")
|
player = Player.GetPlayer("GDI")
|
||||||
enemy = Player.GetPlayer("Nod")
|
enemy = Player.GetPlayer("Nod")
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
Trigger.OnObjectiveAdded(player, function(p, id)
|
Trigger.OnObjectiveAdded(player, function(p, id)
|
||||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -103,12 +103,20 @@ SetupWorld = function()
|
|||||||
Trigger.OnRemovedFromWorld(crate, function() gdi.MarkCompletedObjective(gdiObjective) end)
|
Trigger.OnRemovedFromWorld(crate, function() gdi.MarkCompletedObjective(gdiObjective) end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "fist226m"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
gdi = Player.GetPlayer("GDI")
|
gdi = Player.GetPlayer("GDI")
|
||||||
nod = Player.GetPlayer("Nod")
|
nod = Player.GetPlayer("Nod")
|
||||||
|
|
||||||
SetupWorld()
|
SetupWorld()
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
Trigger.OnObjectiveAdded(gdi, function(p, id)
|
Trigger.OnObjectiveAdded(gdi, function(p, id)
|
||||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -110,6 +110,12 @@ SetupWorld = function()
|
|||||||
Trigger.OnRemovedFromWorld(crate, function() gdi.MarkCompletedObjective(gdiObjective) end)
|
Trigger.OnRemovedFromWorld(crate, function() gdi.MarkCompletedObjective(gdiObjective) end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "fist226m"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
gdi = Player.GetPlayer("GDI")
|
gdi = Player.GetPlayer("GDI")
|
||||||
nod = Player.GetPlayer("Nod")
|
nod = Player.GetPlayer("Nod")
|
||||||
@@ -138,6 +144,8 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
SetupWorld()
|
SetupWorld()
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
bhndTrigger = false
|
bhndTrigger = false
|
||||||
Trigger.OnExitedFootprint(BhndTrigger, function(a, id)
|
Trigger.OnExitedFootprint(BhndTrigger, function(a, id)
|
||||||
if not bhndTrigger and a.Owner == gdi then
|
if not bhndTrigger and a.Owner == gdi then
|
||||||
|
|||||||
@@ -70,31 +70,31 @@ Players:
|
|||||||
Actors:
|
Actors:
|
||||||
Actor0: sbag
|
Actor0: sbag
|
||||||
Location: 10,18
|
Location: 10,18
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor1: sbag
|
Actor1: sbag
|
||||||
Location: 9,18
|
Location: 9,18
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor2: sbag
|
Actor2: sbag
|
||||||
Location: 8,18
|
Location: 8,18
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor3: sbag
|
Actor3: sbag
|
||||||
Location: 7,18
|
Location: 7,18
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor4: sbag
|
Actor4: sbag
|
||||||
Location: 7,17
|
Location: 7,17
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor5: sbag
|
Actor5: sbag
|
||||||
Location: 6,17
|
Location: 6,17
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor6: sbag
|
Actor6: sbag
|
||||||
Location: 6,16
|
Location: 6,16
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor7: sbag
|
Actor7: sbag
|
||||||
Location: 6,15
|
Location: 6,15
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor8: sbag
|
Actor8: sbag
|
||||||
Location: 6,14
|
Location: 6,14
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor9: cycl
|
Actor9: cycl
|
||||||
Location: 15,13
|
Location: 15,13
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
@@ -103,7 +103,7 @@ Actors:
|
|||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor11: sbag
|
Actor11: sbag
|
||||||
Location: 6,13
|
Location: 6,13
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor12: cycl
|
Actor12: cycl
|
||||||
Location: 15,12
|
Location: 15,12
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
@@ -115,37 +115,37 @@ Actors:
|
|||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor15: sbag
|
Actor15: sbag
|
||||||
Location: 6,12
|
Location: 6,12
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor16: sbag
|
Actor16: sbag
|
||||||
Location: 15,11
|
Location: 15,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor17: sbag
|
Actor17: sbag
|
||||||
Location: 14,11
|
Location: 14,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor18: sbag
|
Actor18: sbag
|
||||||
Location: 13,11
|
Location: 13,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor19: sbag
|
Actor19: sbag
|
||||||
Location: 12,11
|
Location: 12,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor20: sbag
|
Actor20: sbag
|
||||||
Location: 11,11
|
Location: 11,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor21: sbag
|
Actor21: sbag
|
||||||
Location: 10,11
|
Location: 10,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor22: sbag
|
Actor22: sbag
|
||||||
Location: 9,11
|
Location: 9,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor23: sbag
|
Actor23: sbag
|
||||||
Location: 8,11
|
Location: 8,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor24: sbag
|
Actor24: sbag
|
||||||
Location: 7,11
|
Location: 7,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor25: sbag
|
Actor25: sbag
|
||||||
Location: 6,11
|
Location: 6,11
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor26: t05
|
Actor26: t05
|
||||||
Location: 18,42
|
Location: 18,42
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
|
|||||||
@@ -61,10 +61,18 @@ SendGDIReinforcements = function()
|
|||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "ind"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
player = Player.GetPlayer("GDI")
|
player = Player.GetPlayer("GDI")
|
||||||
nod = Player.GetPlayer("Nod")
|
nod = Player.GetPlayer("Nod")
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
Trigger.OnObjectiveAdded(player, function(p, id)
|
Trigger.OnObjectiveAdded(player, function(p, id)
|
||||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ SetupWorld = function()
|
|||||||
unit.Destroy()
|
unit.Destroy()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Media.PlaySpeechNotification(gdi, "Reinforce")
|
||||||
Reinforcements.Reinforce(gdi, GdiTanks, { GdiTankEntry.Location, GdiTankRallyPoint.Location }, DateTime.Seconds(1), function(actor) actor.Stance = "Defend" end)
|
Reinforcements.Reinforce(gdi, GdiTanks, { GdiTankEntry.Location, GdiTankRallyPoint.Location }, DateTime.Seconds(1), function(actor) actor.Stance = "Defend" end)
|
||||||
Reinforcements.Reinforce(gdi, GdiApc, { GdiApcEntry.Location, GdiApcRallyPoint.Location }, DateTime.Seconds(1), function(actor) actor.Stance = "Defend" end)
|
Reinforcements.Reinforce(gdi, GdiApc, { GdiApcEntry.Location, GdiApcRallyPoint.Location }, DateTime.Seconds(1), function(actor) actor.Stance = "Defend" end)
|
||||||
Reinforcements.Reinforce(gdi, GdiInfantry, { GdiInfantryEntry.Location, GdiInfantryRallyPoint.Location }, 15, function(actor) actor.Stance = "Defend" end)
|
Reinforcements.Reinforce(gdi, GdiInfantry, { GdiInfantryEntry.Location, GdiInfantryRallyPoint.Location }, 15, function(actor) actor.Stance = "Defend" end)
|
||||||
@@ -182,6 +183,12 @@ SetupWorld = function()
|
|||||||
Grd3Action()
|
Grd3Action()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "rain"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
gdiBase = Player.GetPlayer("AbandonedBase")
|
gdiBase = Player.GetPlayer("AbandonedBase")
|
||||||
gdi = Player.GetPlayer("GDI")
|
gdi = Player.GetPlayer("GDI")
|
||||||
@@ -213,7 +220,8 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Camera.Position = GdiTankRallyPoint.CenterPosition
|
Camera.Position = GdiTankRallyPoint.CenterPosition
|
||||||
|
|
||||||
Media.PlayMusic()
|
PlayMusic()
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
Tick = function()
|
Tick = function()
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ StartProduction = function(type)
|
|||||||
end
|
end
|
||||||
|
|
||||||
InsertGdiUnits = function()
|
InsertGdiUnits = function()
|
||||||
|
Media.PlaySpeechNotification(gdi, "Reinforce")
|
||||||
Reinforcements.Reinforce(gdi, GdiUnits, { UnitsEntry.Location, UnitsRally.Location }, 15)
|
Reinforcements.Reinforce(gdi, GdiUnits, { UnitsEntry.Location, UnitsRally.Location }, 15)
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -117,6 +118,12 @@ IdleHunt = function(unit)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "rain"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
gdi = Player.GetPlayer("GDI")
|
gdi = Player.GetPlayer("GDI")
|
||||||
gdiBase = Player.GetPlayer("AbandonedBase")
|
gdiBase = Player.GetPlayer("AbandonedBase")
|
||||||
@@ -133,11 +140,11 @@ WorldLoaded = function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerWon(gdi, function()
|
Trigger.OnPlayerWon(gdi, function()
|
||||||
Media.PlaySpeechNotification(nod, "Win")
|
Media.PlaySpeechNotification(gdi, "Win")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(gdi, function()
|
Trigger.OnPlayerLost(gdi, function()
|
||||||
Media.PlaySpeechNotification(nod, "Lose")
|
Media.PlaySpeechNotification(gdi, "Lose")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Utils.Do(Map.NamedActors, function(actor)
|
Utils.Do(Map.NamedActors, function(actor)
|
||||||
@@ -178,6 +185,8 @@ WorldLoaded = function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
Camera.Position = UnitsRally.CenterPosition
|
Camera.Position = UnitsRally.CenterPosition
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertGdiUnits()
|
InsertGdiUnits()
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -70,178 +70,178 @@ Players:
|
|||||||
Actors:
|
Actors:
|
||||||
Actor0: sbag
|
Actor0: sbag
|
||||||
Location: 38,59
|
Location: 38,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor1: sbag
|
Actor1: sbag
|
||||||
Location: 37,59
|
Location: 37,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor2: sbag
|
Actor2: sbag
|
||||||
Location: 36,59
|
Location: 36,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor3: sbag
|
Actor3: sbag
|
||||||
Location: 35,59
|
Location: 35,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor4: sbag
|
Actor4: sbag
|
||||||
Location: 34,59
|
Location: 34,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor5: sbag
|
Actor5: sbag
|
||||||
Location: 33,59
|
Location: 33,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor6: sbag
|
Actor6: sbag
|
||||||
Location: 32,59
|
Location: 32,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor7: sbag
|
Actor7: sbag
|
||||||
Location: 31,59
|
Location: 31,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor8: sbag
|
Actor8: sbag
|
||||||
Location: 30,59
|
Location: 30,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor9: sbag
|
Actor9: sbag
|
||||||
Location: 29,59
|
Location: 29,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor10: sbag
|
Actor10: sbag
|
||||||
Location: 28,59
|
Location: 28,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor11: sbag
|
Actor11: sbag
|
||||||
Location: 27,59
|
Location: 27,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor12: sbag
|
Actor12: sbag
|
||||||
Location: 26,59
|
Location: 26,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor13: sbag
|
Actor13: sbag
|
||||||
Location: 25,59
|
Location: 25,59
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor14: sbag
|
Actor14: sbag
|
||||||
Location: 25,58
|
Location: 25,58
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor15: sbag
|
Actor15: sbag
|
||||||
Location: 25,57
|
Location: 25,57
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor16: sbag
|
Actor16: sbag
|
||||||
Location: 24,57
|
Location: 24,57
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor17: sbag
|
Actor17: sbag
|
||||||
Location: 38,54
|
Location: 38,54
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor18: sbag
|
Actor18: sbag
|
||||||
Location: 25,54
|
Location: 25,54
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor19: sbag
|
Actor19: sbag
|
||||||
Location: 24,54
|
Location: 24,54
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor20: sbag
|
Actor20: sbag
|
||||||
Location: 38,53
|
Location: 38,53
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor21: sbag
|
Actor21: sbag
|
||||||
Location: 25,53
|
Location: 25,53
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor22: sbag
|
Actor22: sbag
|
||||||
Location: 25,51
|
Location: 25,51
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor23: sbag
|
Actor23: sbag
|
||||||
Location: 38,50
|
Location: 38,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor24: sbag
|
Actor24: sbag
|
||||||
Location: 37,50
|
Location: 37,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor25: sbag
|
Actor25: sbag
|
||||||
Location: 36,50
|
Location: 36,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor26: sbag
|
Actor26: sbag
|
||||||
Location: 35,50
|
Location: 35,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor27: sbag
|
Actor27: sbag
|
||||||
Location: 34,50
|
Location: 34,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor28: sbag
|
Actor28: sbag
|
||||||
Location: 33,50
|
Location: 33,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor29: sbag
|
Actor29: sbag
|
||||||
Location: 32,50
|
Location: 32,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor30: sbag
|
Actor30: sbag
|
||||||
Location: 31,50
|
Location: 31,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor31: sbag
|
Actor31: sbag
|
||||||
Location: 30,50
|
Location: 30,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor32: sbag
|
Actor32: sbag
|
||||||
Location: 29,50
|
Location: 29,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor33: sbag
|
Actor33: sbag
|
||||||
Location: 27,50
|
Location: 27,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor34: sbag
|
Actor34: sbag
|
||||||
Location: 26,50
|
Location: 26,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor35: sbag
|
Actor35: sbag
|
||||||
Location: 25,50
|
Location: 25,50
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor36: sbag
|
Actor36: sbag
|
||||||
Location: 54,26
|
Location: 54,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor37: sbag
|
Actor37: sbag
|
||||||
Location: 53,26
|
Location: 53,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor38: sbag
|
Actor38: sbag
|
||||||
Location: 52,26
|
Location: 52,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor39: sbag
|
Actor39: sbag
|
||||||
Location: 51,26
|
Location: 51,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor40: sbag
|
Actor40: sbag
|
||||||
Location: 50,26
|
Location: 50,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor41: sbag
|
Actor41: sbag
|
||||||
Location: 45,26
|
Location: 45,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor42: sbag
|
Actor42: sbag
|
||||||
Location: 44,26
|
Location: 44,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor43: sbag
|
Actor43: sbag
|
||||||
Location: 43,26
|
Location: 43,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor44: sbag
|
Actor44: sbag
|
||||||
Location: 42,26
|
Location: 42,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor45: sbag
|
Actor45: sbag
|
||||||
Location: 41,26
|
Location: 41,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor46: sbag
|
Actor46: sbag
|
||||||
Location: 40,26
|
Location: 40,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor47: sbag
|
Actor47: sbag
|
||||||
Location: 39,26
|
Location: 39,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor48: sbag
|
Actor48: sbag
|
||||||
Location: 38,26
|
Location: 38,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor49: sbag
|
Actor49: sbag
|
||||||
Location: 37,26
|
Location: 37,26
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor50: sbag
|
Actor50: sbag
|
||||||
Location: 54,25
|
Location: 54,25
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor51: sbag
|
Actor51: sbag
|
||||||
Location: 51,25
|
Location: 51,25
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor52: sbag
|
Actor52: sbag
|
||||||
Location: 50,25
|
Location: 50,25
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor53: sbag
|
Actor53: sbag
|
||||||
Location: 45,25
|
Location: 45,25
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor54: sbag
|
Actor54: sbag
|
||||||
Location: 44,25
|
Location: 44,25
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor55: sbag
|
Actor55: sbag
|
||||||
Location: 37,25
|
Location: 37,25
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor56: sbag
|
Actor56: sbag
|
||||||
Location: 37,24
|
Location: 37,24
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor57: sbag
|
Actor57: sbag
|
||||||
Location: 37,23
|
Location: 37,23
|
||||||
Owner: Neutral
|
Owner: Nod
|
||||||
Actor58: t01
|
Actor58: t01
|
||||||
Location: 22,51
|
Location: 22,51
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ SendLastInfantryReinforcements = function()
|
|||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "nomercy"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
nod = Player.GetPlayer("Nod")
|
nod = Player.GetPlayer("Nod")
|
||||||
gdi = Player.GetPlayer("GDI")
|
gdi = Player.GetPlayer("GDI")
|
||||||
@@ -68,6 +74,8 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Camera.Position = StartRallyPoint.CenterPosition
|
Camera.Position = StartRallyPoint.CenterPosition
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
SendInitialForces()
|
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)
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ getActors = function(owner, units)
|
|||||||
end
|
end
|
||||||
|
|
||||||
InsertNodUnits = function()
|
InsertNodUnits = function()
|
||||||
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
Reinforcements.Reinforce(Nod, NodUnits, { UnitsEntry.Location, UnitsRally.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodUnits, { UnitsEntry.Location, UnitsRally.Location }, 15)
|
||||||
Reinforcements.Reinforce(Nod, { "mcv" }, { McvEntry.Location, McvRally.Location })
|
Reinforcements.Reinforce(Nod, { "mcv" }, { McvEntry.Location, McvRally.Location })
|
||||||
end
|
end
|
||||||
@@ -158,6 +159,12 @@ Pat1Movement = function(unit)
|
|||||||
IdleHunt(unit)
|
IdleHunt(unit)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "ind2"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
GDI = Player.GetPlayer("GDI")
|
GDI = Player.GetPlayer("GDI")
|
||||||
Nod = Player.GetPlayer("Nod")
|
Nod = Player.GetPlayer("Nod")
|
||||||
@@ -215,6 +222,8 @@ WorldLoaded = function()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
Trigger.AfterDelay(0, getStartUnits)
|
Trigger.AfterDelay(0, getStartUnits)
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -96,6 +96,12 @@ Gdi3Movement = function(unit)
|
|||||||
IdleHunt(unit)
|
IdleHunt(unit)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "ind2"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
GDI = Player.GetPlayer("GDI")
|
GDI = Player.GetPlayer("GDI")
|
||||||
Nod = Player.GetPlayer("Nod")
|
Nod = Player.GetPlayer("Nod")
|
||||||
@@ -134,6 +140,9 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.AfterDelay(0, getStartUnits)
|
Trigger.AfterDelay(0, getStartUnits)
|
||||||
Harvester.FindResources()
|
Harvester.FindResources()
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -230,6 +239,7 @@ getStartUnits = function()
|
|||||||
end
|
end
|
||||||
|
|
||||||
InsertNodUnits = function()
|
InsertNodUnits = function()
|
||||||
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
Reinforcements.Reinforce(Nod, NodUnits, { UnitsEntry.Location, UnitsRally.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodUnits, { UnitsEntry.Location, UnitsRally.Location }, 15)
|
||||||
Reinforcements.Reinforce(Nod, { "mcv" }, { McvEntry.Location, McvRally.Location })
|
Reinforcements.Reinforce(Nod, { "mcv" }, { McvEntry.Location, McvRally.Location })
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -9,12 +9,19 @@ SendAttackWave = function(units, spawnPoint)
|
|||||||
end
|
end
|
||||||
|
|
||||||
InsertNodUnits = function()
|
InsertNodUnits = function()
|
||||||
|
Media.PlaySpeechNotification(player, "Reinforce")
|
||||||
Reinforcements.Reinforce(player, NodUnits, { NodEntry.Location, NodRallyPoint.Location })
|
Reinforcements.Reinforce(player, NodUnits, { NodEntry.Location, NodRallyPoint.Location })
|
||||||
Trigger.AfterDelay(DateTime.Seconds(9), function()
|
Trigger.AfterDelay(DateTime.Seconds(9), function()
|
||||||
Reinforcements.Reinforce(player, { "mcv" }, { NodEntry.Location, PlayerBase.Location })
|
Reinforcements.Reinforce(player, { "mcv" }, { NodEntry.Location, PlayerBase.Location })
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "chrg226m"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
player = Player.GetPlayer("Nod")
|
player = Player.GetPlayer("Nod")
|
||||||
enemy = Player.GetPlayer("GDI")
|
enemy = Player.GetPlayer("GDI")
|
||||||
@@ -51,6 +58,8 @@ WorldLoaded = function()
|
|||||||
player.MarkFailedObjective(nodObjective1)
|
player.MarkFailedObjective(nodObjective1)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
Trigger.AfterDelay(DateTime.Seconds(20), function() SendAttackWave(FirstAttackWave, AttackWaveSpawnA.Location) end)
|
Trigger.AfterDelay(DateTime.Seconds(20), function() SendAttackWave(FirstAttackWave, AttackWaveSpawnA.Location) end)
|
||||||
Trigger.AfterDelay(DateTime.Seconds(50), function() SendAttackWave(SecondThirdAttackWave, AttackWaveSpawnB.Location) end)
|
Trigger.AfterDelay(DateTime.Seconds(50), function() SendAttackWave(SecondThirdAttackWave, AttackWaveSpawnB.Location) end)
|
||||||
|
|||||||
@@ -24,13 +24,21 @@ SecondAttackWave = function(soldier)
|
|||||||
end
|
end
|
||||||
|
|
||||||
InsertNodUnits = function()
|
InsertNodUnits = function()
|
||||||
|
Media.PlaySpeechNotification(player, "Reinforce")
|
||||||
Reinforcements.Reinforce(player, { "mcv" }, { McvEntry.Location, McvDeploy.Location })
|
Reinforcements.Reinforce(player, { "mcv" }, { McvEntry.Location, McvDeploy.Location })
|
||||||
Reinforcements.Reinforce(player, NodUnits, { NodEntry.Location, NodRallypoint.Location })
|
Reinforcements.Reinforce(player, NodUnits, { NodEntry.Location, NodRallypoint.Location })
|
||||||
Trigger.AfterDelay(DateTime.Seconds(15), function()
|
Trigger.AfterDelay(DateTime.Seconds(15), function()
|
||||||
|
Media.PlaySpeechNotification(player, "Reinforce")
|
||||||
Reinforcements.Reinforce(player, Engineers, { McvEntry.Location, PlayerBase.Location })
|
Reinforcements.Reinforce(player, Engineers, { McvEntry.Location, PlayerBase.Location })
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "chrg226m"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
player = Player.GetPlayer("Nod")
|
player = Player.GetPlayer("Nod")
|
||||||
enemy = Player.GetPlayer("GDI")
|
enemy = Player.GetPlayer("GDI")
|
||||||
@@ -64,6 +72,8 @@ WorldLoaded = function()
|
|||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
Trigger.AfterDelay(DateTime.Seconds(40), function() SendAttackWave(FirstAttackWaveUnits, FirstAttackWave) end)
|
Trigger.AfterDelay(DateTime.Seconds(40), function() SendAttackWave(FirstAttackWaveUnits, FirstAttackWave) end)
|
||||||
Trigger.AfterDelay(DateTime.Seconds(80), function() SendAttackWave(SecondAttackWaveUnits, SecondAttackWave) end)
|
Trigger.AfterDelay(DateTime.Seconds(80), function() SendAttackWave(SecondAttackWaveUnits, SecondAttackWave) end)
|
||||||
|
|||||||
@@ -145,6 +145,7 @@ Atk4Movement = function(unit)
|
|||||||
end
|
end
|
||||||
|
|
||||||
InsertNodUnits = function()
|
InsertNodUnits = function()
|
||||||
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
Reinforcements.Reinforce(Nod, NodUnitsBuggy, { UnitsEntryBuggy.Location, UnitsRallyBuggy.Location }, 11)
|
Reinforcements.Reinforce(Nod, NodUnitsBuggy, { UnitsEntryBuggy.Location, UnitsRallyBuggy.Location }, 11)
|
||||||
Reinforcements.Reinforce(Nod, NodUnitsBikes, { UnitsEntryBikes.Location, UnitsRallyBikes.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodUnitsBikes, { UnitsEntryBikes.Location, UnitsRallyBikes.Location }, 15)
|
||||||
Reinforcements.Reinforce(Nod, NodUnitsGunner, { UnitsEntryGunner.Location, UnitsRallyGunner.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodUnitsGunner, { UnitsEntryGunner.Location, UnitsRallyGunner.Location }, 15)
|
||||||
@@ -170,6 +171,12 @@ CreateCivilians = function(actor, discoverer)
|
|||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "valkyrie"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
NodSupporter = Player.GetPlayer("NodSupporter")
|
NodSupporter = Player.GetPlayer("NodSupporter")
|
||||||
Nod = Player.GetPlayer("Nod")
|
Nod = Player.GetPlayer("Nod")
|
||||||
@@ -283,7 +290,10 @@ WorldLoaded = function()
|
|||||||
GDIObjective = GDI.AddPrimaryObjective("Eliminate all Nod forces in the area.")
|
GDIObjective = GDI.AddPrimaryObjective("Eliminate all Nod forces in the area.")
|
||||||
NodObjective1 = Nod.AddPrimaryObjective("Kill all civilian GDI supporters.")
|
NodObjective1 = Nod.AddPrimaryObjective("Kill all civilian GDI supporters.")
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
|
Camera.Position = waypoint6.CenterPosition
|
||||||
end
|
end
|
||||||
|
|
||||||
Tick = function()
|
Tick = function()
|
||||||
|
|||||||
@@ -74,6 +74,12 @@ InsertNodUnits = function()
|
|||||||
Reinforcements.ReinforceWithTransport(Nod, 'tran', NodUnitsGunner, { EntryPointGunner.Location, RallyPointGunner.Location }, { EntryPointGunner.Location }, nil, nil)
|
Reinforcements.ReinforceWithTransport(Nod, 'tran', NodUnitsGunner, { EntryPointGunner.Location, RallyPointGunner.Location }, { EntryPointGunner.Location }, nil, nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "warfare"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
GDI = Player.GetPlayer("GDI")
|
GDI = Player.GetPlayer("GDI")
|
||||||
Nod = Player.GetPlayer("Nod")
|
Nod = Player.GetPlayer("Nod")
|
||||||
@@ -141,6 +147,8 @@ WorldLoaded = function()
|
|||||||
NodObjective1 = Nod.AddPrimaryObjective("Destroy the village and kill all civilians.")
|
NodObjective1 = Nod.AddPrimaryObjective("Destroy the village and kill all civilians.")
|
||||||
NodObjective2 = Nod.AddSecondaryObjective("Kill all GDI units in the area.")
|
NodObjective2 = Nod.AddSecondaryObjective("Kill all GDI units in the area.")
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -65,94 +65,94 @@ Players:
|
|||||||
Actors:
|
Actors:
|
||||||
Actor0: sbag
|
Actor0: sbag
|
||||||
Location: 30,22
|
Location: 30,22
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor1: sbag
|
Actor1: sbag
|
||||||
Location: 29,22
|
Location: 29,22
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor2: sbag
|
Actor2: sbag
|
||||||
Location: 28,22
|
Location: 28,22
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor3: sbag
|
Actor3: sbag
|
||||||
Location: 23,22
|
Location: 23,22
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor4: sbag
|
Actor4: sbag
|
||||||
Location: 22,22
|
Location: 22,22
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor5: sbag
|
Actor5: sbag
|
||||||
Location: 21,22
|
Location: 21,22
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor6: sbag
|
Actor6: sbag
|
||||||
Location: 20,22
|
Location: 20,22
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor7: sbag
|
Actor7: sbag
|
||||||
Location: 19,22
|
Location: 19,22
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor8: sbag
|
Actor8: sbag
|
||||||
Location: 30,21
|
Location: 30,21
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor9: sbag
|
Actor9: sbag
|
||||||
Location: 19,21
|
Location: 19,21
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor10: sbag
|
Actor10: sbag
|
||||||
Location: 18,21
|
Location: 18,21
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor11: sbag
|
Actor11: sbag
|
||||||
Location: 30,20
|
Location: 30,20
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor12: sbag
|
Actor12: sbag
|
||||||
Location: 30,19
|
Location: 30,19
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor13: sbag
|
Actor13: sbag
|
||||||
Location: 30,18
|
Location: 30,18
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor14: sbag
|
Actor14: sbag
|
||||||
Location: 30,17
|
Location: 30,17
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor15: sbag
|
Actor15: sbag
|
||||||
Location: 16,15
|
Location: 16,15
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor16: sbag
|
Actor16: sbag
|
||||||
Location: 16,14
|
Location: 16,14
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor17: sbag
|
Actor17: sbag
|
||||||
Location: 28,13
|
Location: 28,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor18: sbag
|
Actor18: sbag
|
||||||
Location: 27,13
|
Location: 27,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor19: sbag
|
Actor19: sbag
|
||||||
Location: 26,13
|
Location: 26,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor20: sbag
|
Actor20: sbag
|
||||||
Location: 25,13
|
Location: 25,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor21: sbag
|
Actor21: sbag
|
||||||
Location: 24,13
|
Location: 24,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor22: sbag
|
Actor22: sbag
|
||||||
Location: 23,13
|
Location: 23,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor23: sbag
|
Actor23: sbag
|
||||||
Location: 22,13
|
Location: 22,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor24: sbag
|
Actor24: sbag
|
||||||
Location: 21,13
|
Location: 21,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor25: sbag
|
Actor25: sbag
|
||||||
Location: 20,13
|
Location: 20,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor26: sbag
|
Actor26: sbag
|
||||||
Location: 19,13
|
Location: 19,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor27: sbag
|
Actor27: sbag
|
||||||
Location: 18,13
|
Location: 18,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor28: sbag
|
Actor28: sbag
|
||||||
Location: 17,13
|
Location: 17,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor29: sbag
|
Actor29: sbag
|
||||||
Location: 16,13
|
Location: 16,13
|
||||||
Owner: Neutral
|
Owner: GDI
|
||||||
Actor30: t18
|
Actor30: t18
|
||||||
Location: 52,25
|
Location: 52,25
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ end
|
|||||||
InsertNodUnits = function()
|
InsertNodUnits = function()
|
||||||
Camera.Position = UnitsEntry.CenterPosition
|
Camera.Position = UnitsEntry.CenterPosition
|
||||||
|
|
||||||
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
Reinforcements.Reinforce(Nod, NodUnitsVehicle, { UnitsEntry.Location, UnitsRallyVehicle.Location }, 1)
|
Reinforcements.Reinforce(Nod, NodUnitsVehicle, { UnitsEntry.Location, UnitsRallyVehicle.Location }, 1)
|
||||||
Reinforcements.Reinforce(Nod, NodUnitsRocket, { UnitsEntry.Location, UnitsRallyRocket.Location }, 50)
|
Reinforcements.Reinforce(Nod, NodUnitsRocket, { UnitsEntry.Location, UnitsRallyRocket.Location }, 50)
|
||||||
Reinforcements.Reinforce(Nod, NodUnitsGunner, { UnitsEntry.Location, UnitsRallyGunner.Location }, 50)
|
Reinforcements.Reinforce(Nod, NodUnitsGunner, { UnitsEntry.Location, UnitsRallyGunner.Location }, 50)
|
||||||
@@ -162,6 +163,12 @@ InsertNodUnits = function()
|
|||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "airstrik"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
GDI = Player.GetPlayer("GDI")
|
GDI = Player.GetPlayer("GDI")
|
||||||
Nod = Player.GetPlayer("Nod")
|
Nod = Player.GetPlayer("Nod")
|
||||||
@@ -240,6 +247,9 @@ WorldLoaded = function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.AfterDelay(0, getStartUnits)
|
Trigger.AfterDelay(0, getStartUnits)
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
Tick = function()
|
Tick = function()
|
||||||
|
|||||||
@@ -713,6 +713,8 @@ Rules:
|
|||||||
FLARE:
|
FLARE:
|
||||||
Tooltip:
|
Tooltip:
|
||||||
ShowOwnerRow: false
|
ShowOwnerRow: false
|
||||||
|
TRAN:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
Sequences:
|
Sequences:
|
||||||
|
|
||||||
|
|||||||
@@ -113,10 +113,17 @@ end
|
|||||||
InsertNodUnits = function()
|
InsertNodUnits = function()
|
||||||
Camera.Position = UnitsRallyRight.CenterPosition
|
Camera.Position = UnitsRallyRight.CenterPosition
|
||||||
|
|
||||||
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
Reinforcements.Reinforce(Nod, NodStartUnitsLeft, { UnitsEntryLeft.Location, UnitsRallyLeft.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodStartUnitsLeft, { UnitsEntryLeft.Location, UnitsRallyLeft.Location }, 15)
|
||||||
Reinforcements.Reinforce(Nod, NodStartUnitsRight, { UnitsEntryRight.Location, UnitsRallyRight.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodStartUnitsRight, { UnitsEntryRight.Location, UnitsRallyRight.Location }, 15)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "rout"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
GDI = Player.GetPlayer("GDI")
|
GDI = Player.GetPlayer("GDI")
|
||||||
Nod = Player.GetPlayer("Nod")
|
Nod = Player.GetPlayer("Nod")
|
||||||
@@ -146,6 +153,8 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
|
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
|
|
||||||
Trigger.AfterDelay(Grd1TriggerFunctionTime, Grd1TriggerFunction)
|
Trigger.AfterDelay(Grd1TriggerFunctionTime, Grd1TriggerFunction)
|
||||||
@@ -166,7 +175,8 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnEnteredFootprint(Chn3CellTriggerActivator, function(a, id)
|
Trigger.OnEnteredFootprint(Chn3CellTriggerActivator, function(a, id)
|
||||||
if a.Owner == Nod then
|
if a.Owner == Nod then
|
||||||
Reinforcements.Reinforce(Nod, { 'tran' }, { ChnEntry.Location, waypoint17.Location }, 11)
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
|
Reinforcements.ReinforceWithTransport(Nod, 'tran', nil, { ChnEntry.Location, waypoint17.Location }, nil, nil, nil)
|
||||||
Trigger.RemoveFootprintTrigger(id)
|
Trigger.RemoveFootprintTrigger(id)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -651,6 +651,8 @@ Rules:
|
|||||||
FLARE:
|
FLARE:
|
||||||
Tooltip:
|
Tooltip:
|
||||||
ShowOwnerRow: false
|
ShowOwnerRow: false
|
||||||
|
TRAN:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
Sequences:
|
Sequences:
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,11 @@ InsertNodUnits = function()
|
|||||||
Reinforcements.Reinforce(Nod, NodUnitsRocket, { UnitsEntryRocket.Location, UnitsRallyRocket.Location }, 25)
|
Reinforcements.Reinforce(Nod, NodUnitsRocket, { UnitsEntryRocket.Location, UnitsRallyRocket.Location }, 25)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "rout"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
GDI = Player.GetPlayer("GDI")
|
GDI = Player.GetPlayer("GDI")
|
||||||
@@ -122,6 +127,8 @@ WorldLoaded = function()
|
|||||||
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator.")
|
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator.")
|
||||||
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
|
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
|
|
||||||
Trigger.OnEnteredFootprint(HuntCellTriggerActivator, function(a, id)
|
Trigger.OnEnteredFootprint(HuntCellTriggerActivator, function(a, id)
|
||||||
@@ -162,7 +169,8 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnEnteredFootprint(ChnCellTriggerActivator, function(a, id)
|
Trigger.OnEnteredFootprint(ChnCellTriggerActivator, function(a, id)
|
||||||
if a.Owner == Nod then
|
if a.Owner == Nod then
|
||||||
Reinforcements.Reinforce(Nod, { 'tran' }, { ChnEntry.Location, waypoint17.Location }, 11)
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
|
Reinforcements.ReinforceWithTransport(Nod, 'tran', nil, { ChnEntry.Location, waypoint17.Location }, nil, nil, nil)
|
||||||
Trigger.RemoveFootprintTrigger(id)
|
Trigger.RemoveFootprintTrigger(id)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -608,6 +608,7 @@ Rules:
|
|||||||
Buildable:
|
Buildable:
|
||||||
Prerequisites: ~disabled
|
Prerequisites: ~disabled
|
||||||
TRAN:
|
TRAN:
|
||||||
|
-Selectable:
|
||||||
Buildable:
|
Buildable:
|
||||||
Prerequisites: ~disabled
|
Prerequisites: ~disabled
|
||||||
ORCA:
|
ORCA:
|
||||||
|
|||||||
@@ -75,12 +75,19 @@ end
|
|||||||
InsertNodUnits = function()
|
InsertNodUnits = function()
|
||||||
Camera.Position = UnitsRallyRight.CenterPosition
|
Camera.Position = UnitsRallyRight.CenterPosition
|
||||||
|
|
||||||
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
Reinforcements.Reinforce(Nod, NodStartUnitsVehicle, { UnitsEntryMiddle.Location, UnitsRallyMiddle.Location }, 30)
|
Reinforcements.Reinforce(Nod, NodStartUnitsVehicle, { UnitsEntryMiddle.Location, UnitsRallyMiddle.Location }, 30)
|
||||||
Reinforcements.Reinforce(Nod, NodStartUnitsMiddle, { UnitsEntryMiddle.Location, UnitsRallyMiddle.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodStartUnitsMiddle, { UnitsEntryMiddle.Location, UnitsRallyMiddle.Location }, 15)
|
||||||
Reinforcements.Reinforce(Nod, NodStartUnitsLeft, { UnitsEntryLeft.Location, UnitsRallyLeft.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodStartUnitsLeft, { UnitsEntryLeft.Location, UnitsRallyLeft.Location }, 15)
|
||||||
Reinforcements.Reinforce(Nod, NodStartUnitsRight, { UnitsEntryRight.Location, UnitsRallyRight.Location }, 15)
|
Reinforcements.Reinforce(Nod, NodStartUnitsRight, { UnitsEntryRight.Location, UnitsRallyRight.Location }, 15)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initialSong = "rout"
|
||||||
|
PlayMusic = function()
|
||||||
|
Media.PlayMusic(initialSong, PlayMusic)
|
||||||
|
initialSong = nil
|
||||||
|
end
|
||||||
|
|
||||||
WorldLoaded = function()
|
WorldLoaded = function()
|
||||||
GDI = Player.GetPlayer("GDI")
|
GDI = Player.GetPlayer("GDI")
|
||||||
Nod = Player.GetPlayer("Nod")
|
Nod = Player.GetPlayer("Nod")
|
||||||
@@ -109,6 +116,8 @@ WorldLoaded = function()
|
|||||||
NodObjective3 = Nod.AddSecondaryObjective("Infiltrate the barracks, weapon factory and \nthe construction yard.")
|
NodObjective3 = Nod.AddSecondaryObjective("Infiltrate the barracks, weapon factory and \nthe construction yard.")
|
||||||
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
|
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
|
||||||
|
|
||||||
|
PlayMusic()
|
||||||
|
|
||||||
InsertNodUnits()
|
InsertNodUnits()
|
||||||
|
|
||||||
Trigger.AfterDelay(Atk1TriggerFunctionTime, Atk1TriggerFunction)
|
Trigger.AfterDelay(Atk1TriggerFunctionTime, Atk1TriggerFunction)
|
||||||
@@ -117,7 +126,8 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnEnteredFootprint(ChinCellTriggerActivator, function(a, id)
|
Trigger.OnEnteredFootprint(ChinCellTriggerActivator, function(a, id)
|
||||||
if a.Owner == Nod then
|
if a.Owner == Nod then
|
||||||
Reinforcements.Reinforce(Nod, { 'tran' }, { ChnEntry.Location, waypoint10.Location }, 11)
|
Media.PlaySpeechNotification(Nod, "Reinforce")
|
||||||
|
Reinforcements.ReinforceWithTransport(Nod, 'tran', nil, { ChnEntry.Location, waypoint10.Location }, nil, nil, nil)
|
||||||
Trigger.RemoveFootprintTrigger(id)
|
Trigger.RemoveFootprintTrigger(id)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
@@ -138,7 +148,7 @@ WorldLoaded = function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnEnteredFootprint(Win2CellTriggerActivator, function(a, id)
|
Trigger.OnEnteredFootprint(Win2CellTriggerActivator, function(a, id)
|
||||||
if a.Owner == Nod and NodObjective1 then
|
if a.Owner == Nod and NodObjective2 then
|
||||||
Nod.MarkCompletedObjective(NodObjective2)
|
Nod.MarkCompletedObjective(NodObjective2)
|
||||||
Trigger.RemoveFootprintTrigger(id)
|
Trigger.RemoveFootprintTrigger(id)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user