1
0
Fork 0

Added Logo option

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-12-12 04:41:07 +11:00
parent 0822b86232
commit a360d3f62f
4 changed files with 3 additions and 1 deletions

View file

@ -20,7 +20,7 @@
<!-- Nasal code -->
<nasal>
<load><![CDATA[
var livery_update = aircraft.canvas_livery.new("Aircraft/A320-family/Models/Liveries/A320/CFM");
var livery_update = aircraft.canvas_livery_update.init("Aircraft/A320-family/Models/Liveries/A320/CFM");
var elements = ["Fuselage", "Wings", "Hstabs", "ElevatorL", "ElevatorR", "FlapL1", "FlapL2", "FlapR1", "FlapR2", "SpoilerL1", "SpoilerL2", "SpoilerL3", "SpoilerL4", "SpoilerL5", "SpoilerR1", "SpoilerR2", "SpoilerR3", "SpoilerR4", "SpoilerR5", "DoorL1", "DoorL4", "DoorR1", "DoorR4", "Cargo1", "Cargo2", "Cargo3", "MLGGearDoorR", "MLGGearDoorL", "MLGWingDoorR1", "MLGWingDoorL1", "MLGWingDoorR2", "MLGWingDoorL2", "NLGForewardDoorL", "NLGForewardDoorR", "NLGAftDoorL", "NLGAftDoorR", "GPUServiceDoor", "AvionicsVentDoor", "OutflowValveDoor1", "OutflowValveDoor2", "ApuFlap", "Rudder", "Sharklet", "WingtipFence"];
livery_update.createTarget("fuselage", elements, "/sim/model/livery/texture-fuselage", resolution=8192);

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -7,6 +7,7 @@
<name>Swiss (HB-JLS)</name>
<texture-fuselage>SWR-fuselage.png</texture-fuselage>
<texture-engine>SWR-engine.png</texture-engine>
<logo>SWR.png</logo>
</livery>
</model>
</sim>

View file

@ -7,6 +7,7 @@
<name>ICAO Airline Name (Extra Info)</name>
<texture-fuselage>Aircraft/A320-family/Models/Liveries/A320/CFM/texture.png</texture-fuselage>
<texture-engine>Aircraft/A320-family/Models/Liveries/A320/CFM/texture.png</texture-engine>
<logo>logo.png</logo>
</livery>
</model>
</sim>