Update mission gdi03

This commit is contained in:
Oliver Brakmann
2015-01-01 17:23:29 +01:00
parent 4aa97ec776
commit 479259b9d7
2 changed files with 30 additions and 10 deletions

View File

@@ -73,7 +73,7 @@ WorldLoaded = function()
Trigger.OnAllKilled(SamSites, function() Trigger.OnAllKilled(SamSites, function()
player.MarkCompletedObjective(gdiAirSupportObjective) player.MarkCompletedObjective(gdiAirSupportObjective)
Actor.Create("SamsDestroyed", true, { Owner = player }) Actor.Create("airstrike.proxy", true, { Owner = player })
end) end)
Utils.Do(Map.NamedActors, function(actor) Utils.Do(Map.NamedActors, function(actor)
@@ -95,7 +95,7 @@ WorldLoaded = function()
end) end)
InitialUnitsArrived = false InitialUnitsArrived = false
Trigger.AfterDelay(DateTime.Seconds(1), SendReinforcements) SendReinforcements()
Camera.Position = MCVwaypoint.CenterPosition Camera.Position = MCVwaypoint.CenterPosition

View File

@@ -823,15 +823,35 @@ Rules:
Amount: -10 Amount: -10
-Capturable: -Capturable:
HQ: HQ:
AirstrikePower: Buildable:
Prerequisites: ~airsupport Prerequisites: ~disabled
ChargeTime: 120 NOHQ:
SamsDestroyed: Inherits: HQ
ProvidesCustomPrerequisite: Buildable:
Prerequisite: airsupport Prerequisites: proc
AirSupport:
Tooltip: Tooltip:
Name: A10 Air Strike Description: Provides an overview of the battlefield.\n Requires power to operate.
-AirstrikePower:
RenderBuilding:
Image: hq
airstrike.proxy:
AirstrikePower:
Icon: airstrike
StartFullyCharged: True
ChargeTime: 120
SquadSize: 3
QuantizedFacings: 8
Description: Air Strike
LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line.
EndChargeSound: airredy1.aud
SelectTargetSound: select1.aud
InsufficientPowerSound: nopower1.aud
IncomingSound: enemya.aud
UnitType: a10
DisplayBeacon: True
BeaconPoster: airstrike
DisplayRadarPing: True
CameraActor: camera
Sequences: Sequences: