From d53cfafde9339f3e026e5aee10b174b4214d21f6 Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Fri, 3 Apr 2015 16:15:07 +0200 Subject: [PATCH] Lower aircraft altitude In order to work around a problem where the game does not take aircrafts' altitude into account when deciding whether a unit should be rendered or not, leading to aircrafts seemingly (dis)appearing a couple of cells into the map instead of right at the lower edge of the map. Planes will now fly at the default altitude of 1280, helicopters slightly below at 1024. --- mods/ra/rules/aircraft.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/mods/ra/rules/aircraft.yaml b/mods/ra/rules/aircraft.yaml index df78ba8f6e..4e8a3eb5de 100644 --- a/mods/ra/rules/aircraft.yaml +++ b/mods/ra/rules/aircraft.yaml @@ -7,11 +7,9 @@ BADR: Armor: Type: Light Plane: - CruiseAltitude: 2560 ROT: 5 Speed: 149 Repulsable: False - MaximumPitch: 56 RenderUnit: Cargo: MaxWeight: 10 @@ -46,11 +44,9 @@ BADR.Bomber: Armor: Type: Light Plane: - CruiseAltitude: 2560 ROT: 5 Speed: 149 Repulsable: False - MaximumPitch: 56 AmmoPool: Ammo: 7 RenderUnit: @@ -100,13 +96,11 @@ MIG: AttackPlane: FacingTolerance: 20 Plane: - CruiseAltitude: 2560 InitialFacing: 192 ROT: 4 Speed: 223 RearmBuildings: afld RepulsionSpeed: 40 - MaximumPitch: 56 AutoTarget: TargetWhenIdle: false TargetWhenDamaged: false @@ -158,13 +152,11 @@ YAK: AttackPlane: FacingTolerance: 20 Plane: - CruiseAltitude: 2560 RearmBuildings: afld InitialFacing: 192 ROT: 4 Speed: 178 RepulsionSpeed: 40 - MaximumPitch: 56 AutoTarget: TargetWhenIdle: false TargetWhenDamaged: false @@ -206,6 +198,7 @@ TRAN: RevealsShroud: Range: 12c0 Helicopter: + CruiseAltitude: 1024 RearmBuildings: hpad InitialFacing: 0 ROT: 5 @@ -254,6 +247,7 @@ HELI: AttackHeli: FacingTolerance: 20 Helicopter: + CruiseAltitude: 1024 RearmBuildings: hpad LandWhenIdle: false InitialFacing: 20 @@ -303,6 +297,7 @@ HIND: AttackHeli: FacingTolerance: 20 Helicopter: + CruiseAltitude: 1024 RearmBuildings: hpad LandWhenIdle: false InitialFacing: 20 @@ -331,7 +326,6 @@ U2: Armor: Type: Heavy Plane: - CruiseAltitude: 2560 ROT: 7 Speed: 373 Repulsable: False