From 7dcdd8550ea29277498a9aaf02faa467577a8f6d Mon Sep 17 00:00:00 2001 From: Yves Tolosa-Joas Date: Mon, 6 Aug 2018 19:41:34 +1000 Subject: [PATCH] Replaced Billboard Navigation Lights with Procedural --- AI/Aircraft/E70/ERJ170-main.xml | 10 - AI/Aircraft/E70/ERJ175-main.xml | 34 +-- AI/Aircraft/E70/Lights/E70-NavLights.xml | 298 ++++++++--------------- AI/Aircraft/E70/Lights/E75-NavLights.xml | 122 ++++++++++ 4 files changed, 238 insertions(+), 226 deletions(-) create mode 100644 AI/Aircraft/E70/Lights/E75-NavLights.xml diff --git a/AI/Aircraft/E70/ERJ170-main.xml b/AI/Aircraft/E70/ERJ170-main.xml index e1efa28b8..4a6c8564b 100644 --- a/AI/Aircraft/E70/ERJ170-main.xml +++ b/AI/Aircraft/E70/ERJ170-main.xml @@ -28,14 +28,4 @@ Lights/E70-NavLights.xml - - - - - \ No newline at end of file diff --git a/AI/Aircraft/E70/ERJ175-main.xml b/AI/Aircraft/E70/ERJ175-main.xml index dc6570ad9..3c2eb4283 100644 --- a/AI/Aircraft/E70/ERJ175-main.xml +++ b/AI/Aircraft/E70/ERJ175-main.xml @@ -1,18 +1,20 @@ - - Embraer Regional Jet 175 - Yves (Ian) Tolosa. Feb 2016 - Models/ERJ175.ac - - - select - Gear - - - velocities/true-airspeed-kt - 150 - - - - + Embraer Regional Jet 175 + Ian(Yves) Tolosa. Feb 2016 + Models/ERJ175.ac + + select + Gear + + + velocities/true-airspeed-kt + 150 + + + + + + Lights/E75-NavLights.xml + + \ No newline at end of file diff --git a/AI/Aircraft/E70/Lights/E70-NavLights.xml b/AI/Aircraft/E70/Lights/E70-NavLights.xml index e442bf43d..c47e509de 100644 --- a/AI/Aircraft/E70/Lights/E70-NavLights.xml +++ b/AI/Aircraft/E70/Lights/E70-NavLights.xml @@ -1,218 +1,104 @@ + - - ../../../Lights/NavLights.xml - - - translate - Left_Wing_Static_Red - 12.85 - - 1.93072 - -12.3055 - 3.1682 - - - - translate - Right_Wing_Static_Green - 12.85 - - 1.93072 - 12.3055 - 3.1682 - - - - translate - Tail_Static_White - 15.60 - - 15.1477 - 0 - 4.04033 - - - - - translate - Left_Wing_Strobe - 14.40 - - 4.16188 - -12.9351 - 4.62991 - - - - translate - Right_Wing_Strobe - 14.40 - - 4.16188 - 12.9351 - 4.62991 - - - - translate - Tail_Strobe - 16 - - 15.1477 - 0 - 4.04033 - - - - - translate - Top_Beacon_Red - 8.01 - - -6.3054 - 0 - 4.93849 - - - - translate - Bottom_Beacon_Red - 1.76 - - -1.5305 - 0 - 0.863235 - - + + + nav-right + AI/Lights/procedural_light_nav_right.xml + + 1.93072 + 12.3055 + 3.1682 + + + + nav-left + AI/Lights/procedural_light_nav_left.xml + + 1.93072 + -12.3055 + 3.1682 + + + + nav-tail + AI/Lights/procedural_light_nav_tail.xml + + 15.1477 + 0 + 4.04033 + + + + + strobe-right + AI/Lights/procedural_light_strobe_right.xml + + 4.16188 + 12.9351 + 4.62991 + + + + strobe-left + AI/Lights/procedural_light_strobe_left.xml + + 4.16188 + -12.9351 + 4.62991 + + + + strobe-tail + AI/Lights/procedural_light_strobe_tail.xml + + 15.2 + 0 + 4.04033 + + + + + beacon-top + AI/Lights/procedural_light_beacon_top.xml + + -6.3054 + 0 + 4.93849 + + + + beacon-bottom + AI/Lights/procedural_light_beacon_bottom.xml + + -1.5305 + 0 + 0.863235 + + 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-top + 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.0003 - 0.0 - 0.1 - 40 - - - - select - BeaconGrouped - - - - /sim/model/Embraer/lighting/beacon/state - - transponder-id - 0 - - - valid - true - - - - - - - select - StrobeGrouped - - - - /sim/model/Embraer/lighting/strobes/state - - velocities/true-airspeed-kt - 40 - - - - - + select StaticGrouped + BeaconGrouped @@ -221,4 +107,16 @@ + + + select + StrobeGrouped + + + + velocities/true-airspeed-kt + 40 + + + \ No newline at end of file diff --git a/AI/Aircraft/E70/Lights/E75-NavLights.xml b/AI/Aircraft/E70/Lights/E75-NavLights.xml new file mode 100644 index 000000000..751f01adb --- /dev/null +++ b/AI/Aircraft/E70/Lights/E75-NavLights.xml @@ -0,0 +1,122 @@ + + + + + + nav-right + AI/Lights/procedural_light_nav_right.xml + + 1.90381 + 12.2143 + 3.12482 + + + + nav-left + AI/Lights/procedural_light_nav_left.xml + + 1.90381 + -12.2143 + 3.12482 + + + + nav-tail + AI/Lights/procedural_light_nav_tail.xml + + 16.2 + 0 + 3.88447 + + + + + strobe-right + AI/Lights/procedural_light_strobe_right.xml + + 4.1969 + 12.9351 + 4.57857 + + + + strobe-left + AI/Lights/procedural_light_strobe_left.xml + + 4.1969 + -12.9351 + 4.57857 + + + + strobe-tail + AI/Lights/procedural_light_strobe_tail.xml + + 17 + 0 + 3.88447 + + + + + beacon-top + AI/Lights/procedural_light_beacon_top.xml + + -6.3054 + 0 + 4.93849 + + + + beacon-bottom + AI/Lights/procedural_light_beacon_bottom.xml + + -1.5305 + 0 + 0.863235 + + + + + StaticGrouped + nav-right + nav-left + nav-tail + + + StrobeGrouped + strobe-right + strobe-left + strobe-tail + + + BeaconGrouped + beacon-top + beacon-bottom + + + + select + StaticGrouped + BeaconGrouped + + + + transponder-id + 0 + + + + + + select + StrobeGrouped + + + + velocities/true-airspeed-kt + 40 + + + + \ No newline at end of file