Fix the C17 delivery plane doing a steep dive when trying to land

This commit is contained in:
Pavel Penev
2015-11-04 23:40:26 +02:00
parent e741e4300b
commit 5cf34f926b
4 changed files with 3 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Mods.Cnc.Traits
new FacingInit(64) new FacingInit(64)
}); });
actor.QueueActivity(new Fly(actor, Target.FromCell(w, self.Location + new CVec(9, 0)))); actor.QueueActivity(new Fly(actor, Target.FromCell(w, self.Location + new CVec(12, 0))));
actor.QueueActivity(new Land(actor, Target.FromActor(self))); actor.QueueActivity(new Land(actor, Target.FromActor(self)));
actor.QueueActivity(new CallFunc(() => actor.QueueActivity(new CallFunc(() =>
{ {

View File

@@ -153,6 +153,7 @@ C17:
Speed: 326 Speed: 326
Repulsable: False Repulsable: False
AirborneUpgrades: airborne AirborneUpgrades: airborne
MaximumPitch: 36
Health: Health:
HP: 25 HP: 25
Armor: Armor:

View File

@@ -401,7 +401,6 @@
RejectsOrders: RejectsOrders:
Aircraft: Aircraft:
CruiseAltitude: 2560 CruiseAltitude: 2560
MaximumPitch: 56
^Ship: ^Ship:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld

View File

@@ -64,6 +64,7 @@ frigate:
RepairBuildings: RepairBuildings:
RearmBuildings: RearmBuildings:
Repulsable: False Repulsable: False
MaximumPitch: 20
-AppearsOnRadar: -AppearsOnRadar:
Cargo: Cargo:
MaxWeight: 20 MaxWeight: 20