From 906bbc5439ed3a20c80d6c48136a7f4023ca4f22 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sat, 18 Jun 2016 23:14:54 +0200 Subject: [PATCH] Give TD/RA aircraft custom shadow offsets To a) match 'light direction' of other actor art, and b) make the shadow still a little visible for landed aircraft. --- mods/cnc/rules/defaults.yaml | 6 ++++++ mods/ra/rules/defaults.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/mods/cnc/rules/defaults.yaml b/mods/cnc/rules/defaults.yaml index 10a23a9828..8096acdb46 100644 --- a/mods/cnc/rules/defaults.yaml +++ b/mods/cnc/rules/defaults.yaml @@ -153,6 +153,8 @@ GenericName: Helicopter WithFacingSpriteBody: WithShadow: + Offset: 43, 128, 0 + ZOffset: -129 Hovers@CRUISING: UpgradeTypes: cruising UpgradeMinEnabledLevel: 1 @@ -427,6 +429,8 @@ ActorLostNotification: AttackMove: WithShadow: + Offset: 43, 128, 0 + ZOffset: -129 WithFacingSpriteBody: FlyAwayOnIdle: RejectsOrders: @@ -746,6 +750,8 @@ ^HelicopterHusk: Inherits: ^CommonHuskDefaults WithShadow: + Offset: 43, 128, 0 + ZOffset: -129 Aircraft: AirborneUpgrades: airborne CanHover: True diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index bca4783423..2b23090d49 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -386,6 +386,8 @@ Tooltip: GenericName: Plane WithShadow: + Offset: 43, 128, 0 + ZOffset: -129 WithFacingSpriteBody: MustBeDestroyed: Voiced: @@ -690,6 +692,8 @@ ^PlaneHusk: Inherits: ^BasicHusk WithShadow: + Offset: 43, 128, 0 + ZOffset: -129 Tooltip: GenericName: Destroyed Plane Aircraft: @@ -703,6 +707,8 @@ ^HelicopterHusk: Inherits: ^BasicHusk WithShadow: + Offset: 43, 128, 0 + ZOffset: -129 Tooltip: GenericName: Destroyed Helicopter Aircraft: