From be0aaef6f1f6bdfc38f66c9ca04ca5d0c5de1f6e Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Sat, 29 Aug 2020 18:14:38 +0100 Subject: [PATCH] Livery support. Add missing objects to effects. --- Models/A320-100-CFM.xml | 10 + Models/A320-200-CFM.xml | 10 + Models/A320-200-IAE.xml | 10 + Models/A320neo-CFM.xml | 10 + Models/A320neo-PW.xml | 10 + Models/Engines/XMLs/a320.cfm.xml | 22 ++ Models/Engines/XMLs/a320.v2500.xml | 16 + Models/Fuselages/A320/fuselage-old.xml | 455 ------------------------- Models/Fuselages/A320/fuselage.xml | 77 ++++- Models/Liveries/A320/CFM/example.xml | 3 +- 10 files changed, 163 insertions(+), 460 deletions(-) delete mode 100644 Models/Fuselages/A320/fuselage-old.xml diff --git a/Models/A320-100-CFM.xml b/Models/A320-100-CFM.xml index 261cb8f5..8a31b832 100644 --- a/Models/A320-100-CFM.xml +++ b/Models/A320-100-CFM.xml @@ -15,4 +15,14 @@ EnginesCFM Aircraft/A320-family/Models/Engines/XMLs/a320.cfm.xml + + + + + var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320/CFM-100"); + + + livery_update.stop(); + + diff --git a/Models/A320-200-CFM.xml b/Models/A320-200-CFM.xml index 2cce6eec..532229b2 100644 --- a/Models/A320-200-CFM.xml +++ b/Models/A320-200-CFM.xml @@ -15,4 +15,14 @@ EnginesCFM Aircraft/A320-family/Models/Engines/XMLs/a320.cfm.xml + + + + + var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320/CFM"); + + + livery_update.stop(); + + diff --git a/Models/A320-200-IAE.xml b/Models/A320-200-IAE.xml index bfd21a17..689c28ea 100644 --- a/Models/A320-200-IAE.xml +++ b/Models/A320-200-IAE.xml @@ -15,4 +15,14 @@ EnginesCFM Aircraft/A320-family/Models/Engines/XMLs/a320.v2500.xml + + + + + var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320/IAE"); + + + livery_update.stop(); + + diff --git a/Models/A320neo-CFM.xml b/Models/A320neo-CFM.xml index dc04f5dc..f69fbbc4 100644 --- a/Models/A320neo-CFM.xml +++ b/Models/A320neo-CFM.xml @@ -15,4 +15,14 @@ EnginesCFM Aircraft/A320-family/Models/Engines/XMLs/a320.cfm.xml + + + + + var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320/CFM-NEO"); + + + livery_update.stop(); + + diff --git a/Models/A320neo-PW.xml b/Models/A320neo-PW.xml index 2e388d53..9f4f6df7 100644 --- a/Models/A320neo-PW.xml +++ b/Models/A320neo-PW.xml @@ -15,4 +15,14 @@ EnginesCFM Aircraft/A320-family/Models/Engines/XMLs/a320.cfm.xml + + + + + var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320/PW-NEO"); + + + livery_update.stop(); + + diff --git a/Models/Engines/XMLs/a320.cfm.xml b/Models/Engines/XMLs/a320.cfm.xml index 2092b6e9..9dbe852d 100644 --- a/Models/Engines/XMLs/a320.cfm.xml +++ b/Models/Engines/XMLs/a320.cfm.xml @@ -542,4 +542,26 @@ IntakeCFM56L IntakeCFM56R + + + material + + EngineCFM56L + EngineCFM56R + ReverserLDoor1 + ReverserLDoor2 + ReverserLDoor3 + ReverserLDoor4 + ReverserRDoor1 + ReverserRDoor2 + ReverserRDoor3 + ReverserRDoor4 + PylonCFM56L + PylonCFM56R + IntakeCFM56L + IntakeCFM56R + sim/model/livery + texture-engine + engine-CFM56.png + diff --git a/Models/Engines/XMLs/a320.v2500.xml b/Models/Engines/XMLs/a320.v2500.xml index f3b00473..7b528de2 100644 --- a/Models/Engines/XMLs/a320.v2500.xml +++ b/Models/Engines/XMLs/a320.v2500.xml @@ -426,4 +426,20 @@ IntakeIAEV2500L IntakeIAEV2500R + + + material + + EngineIAEV2500L + EngineIAEV2500R + ReverserLDoor + ReverserRDoor + PylonIAEV2500L + PylonIAEV2500R + IntakeIAEV2500L + IntakeIAEV2500R + sim/model/livery + texture-engine + engine-IAE-V2500.png + diff --git a/Models/Fuselages/A320/fuselage-old.xml b/Models/Fuselages/A320/fuselage-old.xml deleted file mode 100644 index 2f62f750..00000000 --- a/Models/Fuselages/A320/fuselage-old.xml +++ /dev/null @@ -1,455 +0,0 @@ - - - - - - Fuselage - res/fuselage.ac - - - - - PAX left-front door pick - pick - DoorL1 - DoorL1int - - - false - - nasal - - - - - - PAX left-front door x translate - translate - DoorL1 - DoorL1int - sim/model/door-positions/doorl1/position-norm - - 00 - 0.250 - 1-1 - - - 1 - 0 - 0 - - - - PAX left-front door y translate - translate - DoorL1 - DoorL1int - sim/model/door-positions/doorl1/position-norm - - 00 - 0.25-0.2 - 1-0.2 - - - 0 - 1 - 0 - - - - - PAX right-front door pick - pick - DoorR1 - DoorR1int - - - false - - nasal - - - - - - PAX right-front door x translate - translate - DoorR1 - DoorR1int - sim/model/door-positions/doorr1/position-norm - - 00 - 0.250 - 1-1 - - - 1 - 0 - 0 - - - - PAX right-front door y translate - translate - DoorR1 - DoorR1int - sim/model/door-positions/doorr1/position-norm - - 00 - 0.250.2 - 10.2 - - - 0 - 1 - 0 - - - - - PAX left-back door pick - pick - DoorL4 - DoorL4int - - - false - - nasal - - - - - - PAX left-back door x translate - translate - DoorL4 - DoorL4int - sim/model/door-positions/doorl4/position-norm - - 00 - 0.250 - 1-1 - - - 1 - 0 - 0 - - - - PAX left-back door y translate - translate - DoorL4 - DoorL4int - sim/model/door-positions/doorl4/position-norm - - 00 - 0.25-0.2 - 1-0.2 - - - 0 - 1 - 0 - - - - - PAX right-back door pick - pick - DoorR4 - DoorR4int - - - false - - nasal - - - - - - PAX right-back door x translate - translate - DoorR4 - DoorR4int - sim/model/door-positions/doorr4/position-norm - - 00 - 0.250 - 1-1 - - - 1 - 0 - 0 - - - - PAX right-back door y translate - translate - DoorR4 - DoorR4int - sim/model/door-positions/doorr4/position-norm - - 00 - 0.250.2 - 10.2 - - - 0 - 1 - 0 - - - - - - Cargo forward door pick - pick - Cargo1 - Cargo1int - - - false - - nasal - - - - - - Cargo forward door rotate - rotate - Cargo1 - Cargo1int - sim/model/door-positions/cargofwd/position-norm - 150 - - 1 - 0 - 0 - -
- 0 - 1.92 - -0.507 -
-
- - - Cargo aft door pick - pick - Cargo2 - Cargo2int - - - false - - nasal - - - - - - Cargo aft door rotate - rotate - Cargo2 - Cargo2int - sim/model/door-positions/cargoaft/position-norm - 150 - - 24.442 - 1.912 - -0.507 - 26.022 - 1.914 - -0.509 - - - - - Cargo bulk door pick - pick - Cargo3 - Cargo3int - - - false - - nasal - - - - - - Cargo bulk door rotate - rotate - Cargo3 - Cargo3int - sim/model/door-positions/cargobulk/position-norm - 150 - - 28.367 - 1.735 - -0.972 - 29.166 - 1.702 - -0.942 - - - - - - Main_Gear_Doors.Left - rotate - GearLDoor - gear/gear[1]/position-norm - - 0.00.0 - 0.284.0 - 0.884.0 - 1.00.0 - -
- -0.4646725 - -2.3824937 -
- - 1 - -
- - - Main_Gear_Doors.Right - rotate - GearRDoor - gear/gear[2]/position-norm - - 0.00.0 - 0.284.0 - 0.884.0 - 1.00.0 - -
- 0.4646725 - -2.3824937 -
- - -1 - -
- - - - Nose_Gear_Doors.Left.01 - rotate - GearNFwdDoorL - gear/gear[0]/position-norm - - 0.0z0.0 - 0.290.0 - 0.890.0 - 1.00.0 - - - - 7.599 - -0.5 - -2.0649564 - - 5.394 - -0.5 - -1.9179121 - - - - - - Nose_Gear_Doors.Left.02 - rotate - GearNAftDoorL - gear/gear[0]/position-norm - - 0.20.0 - 0.845.0 - - - - 8.077 - -0.5 - -2.0790732 - - 7.599 - -0.5 - -2.0649564 - - - - - - Nose_Gear_Doors.Right.01 - rotate - GearNFwdDoorR - gear/gear[0]/position-norm - - 0.00.0 - 0.290.0 - 0.890.0 - 1.00.0 - - - 5.394 - 0.5 - -1.9179121 - 7.599 - 0.5 - -2.0649564 - - - - - Nose_Gear_Doors.Right.02 - rotate - GearNAftDoorR - gear/gear[0]/position-norm - - 0.20.0 - 0.845.0 - - - 7.599 - 0.5 - -2.0649564 - 8.077 - 0.5 - -2.0790732 - - - - - RAT - Aircraft/A320-family/Models/RAT/RAT.xml - - 18 - -1 - -2.9 - - - -
diff --git a/Models/Fuselages/A320/fuselage.xml b/Models/Fuselages/A320/fuselage.xml index 36ee3a1b..2a306adf 100644 --- a/Models/Fuselages/A320/fuselage.xml +++ b/Models/Fuselages/A320/fuselage.xml @@ -30,6 +30,10 @@ RatDoorL RatDoorR ApuFlap + AvionicsVentDoor + OutflowValveDoor1 + OutflowValveDoor2 + GPUServiceDoor @@ -98,10 +102,75 @@ SideStayR1 - - Effects/glass - Windsheild - + + material + + AileronL + AileronR + Antenna1 + Antenna2 + ApuFlap + AvionicsVentDoor + Cargo1 + Cargo2 + Cargo3 + DoorL1 + DoorL4 + DoorR1 + DoorR4 + ElevatorL + ElevatorR + EngineFairingL + EngineFairingR + FairingL1 + FairingL2 + FairingL3 + FairingR1 + FairingR2 + FairingR3 + FlapL1 + FlapL2 + FlapR1 + FlapR2 + Fuselage + GPUServiceDoor + Hstabs + MLGGearDoorL + MLGGearDoorR + MLGWingDoorL1 + MLGWingDoorL2 + MLGWingDoorR1 + MLGWingDoorR1 + NLGAftDoorL + NLGAftDoorR + NLGFittingPanel + NLGForewardDoorL + NLGForewardDoorR + OutflowValveDoor1 + OutflowValveDoor2 + RatDoorL + RatDoorR + Sharklet + SlatL1 + SlatL2 + SlatR1 + SlatR2 + SpoilerL1 + SpoilerL2 + SpoilerL3 + SpoilerL4 + SpoilerL5 + SpoilerR1 + SpoilerR2 + SpoilerR3 + SpoilerR4 + SpoilerR5 + Wings + WingtipFence + sim/model/livery + texture-fuselage + Fuse-Main.png + diff --git a/Models/Liveries/A320/CFM/example.xml b/Models/Liveries/A320/CFM/example.xml index 324f2833..ea154502 100644 --- a/Models/Liveries/A320/CFM/example.xml +++ b/Models/Liveries/A320/CFM/example.xml @@ -5,7 +5,8 @@ ICAO Airline Name (Extra Info) - Liveries/A320/CFM/texture.png + Liveries/A320/CFM/texture.png + Liveries/A320/CFM/texture.png