diff --git a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs index b10c0d2737..9adb07ed5e 100644 --- a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs +++ b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs @@ -95,7 +95,7 @@ namespace OpenRA.Mods.Common.Traits return WVec.Zero; return self.World.FindActorsInCircle(self.CenterPosition, info.IdealSeparation) - .Where(a => !a.IsDead && a.HasTrait()) + .Where(a => !a.IsDead && a.HasTrait() && a.Info.Traits.Get().CruiseAltitude == info.CruiseAltitude) .Select(GetRepulsionForce) .Aggregate(WVec.Zero, (a, b) => a + b); } diff --git a/OpenRA.Mods.Common/Traits/SupportPowers/AirstrikePower.cs b/OpenRA.Mods.Common/Traits/SupportPowers/AirstrikePower.cs index 69c6af5492..f75d831fa3 100644 --- a/OpenRA.Mods.Common/Traits/SupportPowers/AirstrikePower.cs +++ b/OpenRA.Mods.Common/Traits/SupportPowers/AirstrikePower.cs @@ -168,7 +168,7 @@ namespace OpenRA.Mods.Common.Traits beacon = new Beacon( self.Owner, - target, + target - new WVec(0, 0, altitude), Info.BeaconPalettePrefix, Info.BeaconPoster, Info.BeaconPosterPalette, diff --git a/OpenRA.Mods.RA/Traits/SupportPowers/ParatroopersPower.cs b/OpenRA.Mods.RA/Traits/SupportPowers/ParatroopersPower.cs index 7951cf67e3..580c6e1d43 100644 --- a/OpenRA.Mods.RA/Traits/SupportPowers/ParatroopersPower.cs +++ b/OpenRA.Mods.RA/Traits/SupportPowers/ParatroopersPower.cs @@ -198,7 +198,7 @@ namespace OpenRA.Mods.RA.Traits beacon = new Beacon( self.Owner, - target, + target - new WVec(0, 0, altitude), Info.BeaconPalettePrefix, Info.BeaconPoster, Info.BeaconPosterPalette, diff --git a/mods/ra/rules/aircraft.yaml b/mods/ra/rules/aircraft.yaml index 762f747cbb..2128a90ce6 100644 --- a/mods/ra/rules/aircraft.yaml +++ b/mods/ra/rules/aircraft.yaml @@ -7,9 +7,11 @@ BADR: Armor: Type: Light Plane: + CruiseAltitude: 2560 ROT: 5 Speed: 149 Repulsable: False + MaximumPitch: 56 RenderUnit: Cargo: MaxWeight: 10 @@ -43,9 +45,11 @@ BADR.Bomber: Armor: Type: Light Plane: + CruiseAltitude: 2560 ROT: 5 Speed: 149 Repulsable: False + MaximumPitch: 56 LimitedAmmo: Ammo: 7 RenderUnit: @@ -95,11 +99,13 @@ MIG: AttackPlane: FacingTolerance: 20 Plane: + CruiseAltitude: 2560 InitialFacing: 192 ROT: 4 Speed: 223 RearmBuildings: afld RepulsionSpeed: 40 + MaximumPitch: 56 AutoTarget: TargetWhenIdle: false TargetWhenDamaged: false @@ -151,11 +157,13 @@ YAK: AttackPlane: FacingTolerance: 20 Plane: + CruiseAltitude: 2560 RearmBuildings: afld InitialFacing: 192 ROT: 4 Speed: 178 RepulsionSpeed: 40 + MaximumPitch: 56 AutoTarget: TargetWhenIdle: false TargetWhenDamaged: false @@ -322,9 +330,11 @@ U2: Armor: Type: Heavy Plane: + CruiseAltitude: 2560 ROT: 7 Speed: 373 Repulsable: False + MaximumPitch: 56 RenderUnit: AttackBomber: -Selectable: diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index ef99f6e77d..3cdefbd12a 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -148,6 +148,7 @@ Upgrade: invulnerability MustBeDestroyed: Parachutable: + FallRate: 26 ParachuteOffset: 0,0,200 KilledOnImpassableTerrain: true ParachuteSequence: parach @@ -227,6 +228,7 @@ DeathSound: Zapped DeathTypes: 6 Parachutable: + FallRate: 26 ParachuteOffset: 0,0,427 KilledOnImpassableTerrain: true ParachuteSequence: parach @@ -705,6 +707,7 @@ Types: Crate BodyOrientation: Parachutable: + FallRate: 26 KilledOnImpassableTerrain: false ParachuteSequence: parach Passenger: diff --git a/mods/ra/weapons.yaml b/mods/ra/weapons.yaml index c787f46c2f..84dc480633 100644 --- a/mods/ra/weapons.yaml +++ b/mods/ra/weapons.yaml @@ -1093,7 +1093,7 @@ ParaBomb: Report: CHUTE1.AUD Projectile: GravityBomb Image: PARABOMB - Velocity: 43 + Velocity: 86 Acceleration: 0 Warhead@1Dam: SpreadDamage Spread: 768