WORKING airstrike
This commit is contained in:
@@ -55,6 +55,7 @@ namespace OpenRA.Mods.Cnc
|
||||
var a = w.CreateActor("a10", startPos, Owner);
|
||||
a.traits.Get<Unit>().Facing = Util.GetFacing(order.TargetLocation - startPos, 0);
|
||||
a.traits.Get<Unit>().Altitude = a.Info.Traits.Get<PlaneInfo>().CruiseAltitude;
|
||||
a.traits.Get<CarpetBomb>().SetTarget(order.TargetLocation);
|
||||
|
||||
a.CancelActivity();
|
||||
a.QueueActivity(new Fly(order.TargetLocation));
|
||||
|
||||
@@ -123,8 +123,11 @@
|
||||
<unit name="ionsfx">
|
||||
<sequence name="idle" start="0" length="15" />
|
||||
</unit>
|
||||
<unit name="atomic">
|
||||
<sequence name="up" start="0" length="*" src="atomicup" />
|
||||
<sequence name="down" start="0" length="*" src="atomicdn" />
|
||||
</unit>
|
||||
<unit name="atomic">
|
||||
<sequence name="up" start="0" length="*" src="atomicup" />
|
||||
<sequence name="down" start="0" length="*" src="atomicdn" />
|
||||
</unit>
|
||||
<unit name="bomblet">
|
||||
<sequence name="idle" start="0" length="7" />
|
||||
</unit>
|
||||
</sequences>
|
||||
@@ -482,3 +482,4 @@ A10:
|
||||
Ammo: 10
|
||||
CarpetBomb:
|
||||
Weapon: Napalm
|
||||
Range: 3
|
||||
|
||||
Reference in New Issue
Block a user