From 7e266b0b098630e9ce5229840dcc31df64ea4f84 Mon Sep 17 00:00:00 2001 From: Yves Tolosa-Joas Date: Sun, 5 Aug 2018 21:45:42 +1000 Subject: [PATCH] Replaced Billboard Navigation Lights with Procedural on ATR AI Aircrafts --- AI/Aircraft/AT5/AT5-main.xml | 10 - AI/Aircraft/AT5/Lights/AT5-NavLights.xml | 288 +++++++---------------- AI/Aircraft/AT7/AT7-main.xml | 117 +++++---- AI/Aircraft/AT7/Lights/AT7-NavLights.xml | 112 +++++++++ 4 files changed, 253 insertions(+), 274 deletions(-) create mode 100644 AI/Aircraft/AT7/Lights/AT7-NavLights.xml diff --git a/AI/Aircraft/AT5/AT5-main.xml b/AI/Aircraft/AT5/AT5-main.xml index 27cbeeadd..137ef0dee 100644 --- a/AI/Aircraft/AT5/AT5-main.xml +++ b/AI/Aircraft/AT5/AT5-main.xml @@ -92,14 +92,4 @@ Lights/AT5-NavLights.xml - - - - - \ No newline at end of file diff --git a/AI/Aircraft/AT5/Lights/AT5-NavLights.xml b/AI/Aircraft/AT5/Lights/AT5-NavLights.xml index 55805fbb7..5cb86c9b2 100644 --- a/AI/Aircraft/AT5/Lights/AT5-NavLights.xml +++ b/AI/Aircraft/AT5/Lights/AT5-NavLights.xml @@ -1,218 +1,94 @@ + - - ../../../Lights/NavLights.xml - - - translate - Left_Wing_Static_Red - 12.85 - - -0.4322 - -12.2028 - 3.84551 - - - - translate - Right_Wing_Static_Green - 12.85 - - -0.4322 - 12.2028 - 3.84551 - - - - translate - Tail_Static_White - 12.80 - - 12.5202 - 0 - 2.61542 - - - - - translate - Left_Wing_Strobe - 12.55 - - -0.80016 - -11.9058 - 3.83404 - - - - translate - Right_Wing_Strobe - 12.55 - - -0.80016 - 11.9058 - 3.83404 - - - - translate - Tail_Strobe - 12.85 - - 12.5202 - 0 - 2.61542 - - - - - translate - Top_Beacon_Red - 13.30 - - 10.9969 - 0 - 7.38903 - - - - translate - Bottom_Beacon_Red - 0.4 - - -0.09764 - 0 - 0.41179 - - + + + nav-right + AI/Lights/procedural_light_nav_right.xml + + -0.54813 + 12.0663 + 3.84024 + + + + nav-left + AI/Lights/procedural_light_nav_left.xml + + -0.54813 + -12.0663 + 3.84024 + + + + nav-tail + AI/Lights/procedural_light_nav_tail.xml + + 12.6 + 0 + 2.61542 + + + + + strobe-right + AI/Lights/procedural_light_strobe_right.xml + + -0.30779 + 12.233 + 3.9 + + + + strobe-left + AI/Lights/procedural_light_strobe_left.xml + + -0.30779 + -12.233 + 3.9 + + + + strobe-tail + AI/Lights/procedural_light_strobe_tail.xml + + 11.3423 + 0 + 7.35764 + + + + + beacon-bottom + AI/Lights/procedural_light_beacon_bottom.xml + + -0.99501 + 0 + 0.41179 + + StaticGrouped - Left_Wing_Static_Red - Right_Wing_Static_Green - Tail_Static_White + nav-right + nav-left + nav-tail StrobeGrouped - Left_Wing_Strobe - Right_Wing_Strobe - Tail_Strobe + strobe-right + strobe-left + strobe-tail BeaconGrouped - Top_Beacon_Red - Bottom_Beacon_Red + beacon-bottom - - - alpha-test - StaticGrouped - StrobeGrouped - BeaconGrouped - 0.4 - - - - Effects/model-transparent - - sim/rendering/rembrandt/enabled - - Left_Wing_Static_Red - Right_Wing_Static_Green - Tail_Static_White - - - - material - StaticGrouped - StrobeGrouped - BeaconGrouped - - 1 - 1 - 1 - - - - - billboard - StaticGrouped - StrobeGrouped - BeaconGrouped - true - - - - noshadow - StaticGrouped - StrobeGrouped - BeaconGrouped - - - - dist-scale - StaticGrouped - 0.0002 - 0.0 - 0.1 - 40 - - - - dist-scale - BeaconGrouped - 0.0002 - 0.0 - 0.1 - 40 - - - - dist-scale - StrobeGrouped - 0.0004 - 0.0 - 0.1 - 40 - - - - select - BeaconGrouped - - - - /sim/model/ATR/lighting/beacon/state - - transponder-id - 0 - - - valid - true - - - - - - - select - StrobeGrouped - - - - /sim/model/ATR/lighting/strobes/state - - velocities/true-airspeed-kt - 40 - - - - - + select StaticGrouped + BeaconGrouped @@ -221,4 +97,16 @@ + + + select + StrobeGrouped + + + + velocities/true-airspeed-kt + 40 + + + \ No newline at end of file diff --git a/AI/Aircraft/AT7/AT7-main.xml b/AI/Aircraft/AT7/AT7-main.xml index 1e1fbcd74..491c306e9 100644 --- a/AI/Aircraft/AT7/AT7-main.xml +++ b/AI/Aircraft/AT7/AT7-main.xml @@ -1,63 +1,52 @@ - ATR 72-500 - Ian Tolosa - Models/AT7.ac - + ATR 72-500 + Ian Tolosa + Models/AT7.ac - -0.75 + -0.75 - - - - select - Gear_Open - - - velocities/true-airspeed-kt - 120 - - - - - - select - Gear_Closed - - - velocities/true-airspeed-kt - 120 - - - - - - - - select - Prop_Blur_L - - - velocities/true-airspeed-kt - 15 - - - - - - select - Prop_Blur_R - - - velocities/true-airspeed-kt - 15 - - - - - - - + + select + Gear_Open + + + velocities/true-airspeed-kt + 120 + + + + + select + Gear_Closed + + + velocities/true-airspeed-kt + 120 + + + + + select + Prop_Blur_L + + + velocities/true-airspeed-kt + 15 + + + + + select + Prop_Blur_R + + + velocities/true-airspeed-kt + 15 + + + + spin Prop_L velocities/true-airspeed-kt @@ -72,9 +61,8 @@ 0.000 0.000 - - - + + spin Prop_R velocities/true-airspeed-kt @@ -89,8 +77,9 @@ 0.000 0.000 - - - - - + + + + Lights/AT7-NavLights.xml + + \ No newline at end of file diff --git a/AI/Aircraft/AT7/Lights/AT7-NavLights.xml b/AI/Aircraft/AT7/Lights/AT7-NavLights.xml new file mode 100644 index 000000000..dc4b7e128 --- /dev/null +++ b/AI/Aircraft/AT7/Lights/AT7-NavLights.xml @@ -0,0 +1,112 @@ + + + + + + nav-right + AI/Lights/procedural_light_nav_right.xml + + -0.8767 + 12.8882 + 3.77984 + + + + nav-left + AI/Lights/procedural_light_nav_left.xml + + -0.8767 + -12.8882 + 3.77984 + + + + nav-tail + AI/Lights/procedural_light_nav_tail.xml + + 14.7 + 0 + 2.60845 + + + + + strobe-right + AI/Lights/procedural_light_strobe_right.xml + + -0.28345 + 13.5226 + 3.80199 + + + + strobe-left + AI/Lights/procedural_light_strobe_left.xml + + -0.28345 + -13.5226 + 3.80199 + + + + strobe-tail + AI/Lights/procedural_light_strobe_tail.xml + + 13.4779 + 0 + 7.4 + + + + + beacon-bottom + AI/Lights/procedural_light_beacon_bottom.xml + + -1.133941 + 0 + 0.4 + + + + + StaticGrouped + nav-right + nav-left + nav-tail + + + StrobeGrouped + strobe-right + strobe-left + strobe-tail + + + BeaconGrouped + beacon-bottom + + + + select + StaticGrouped + BeaconGrouped + + + + transponder-id + 0 + + + + + + select + StrobeGrouped + + + + velocities/true-airspeed-kt + 40 + + + + \ No newline at end of file