922a09ebcf
-new better panel -added lights and made them switchable -doors can be open now (pick animation) -added some liveries by Brett Harrison -added paintkit by Brett Harrison -converted liveries to png -replaced radio stack with 3d-radios, DME and marker-lights yet missing -minor bugfixes -added glass shader with fresnel effect still work on the interior to do like the seats, walls and so on...
8 lines
No EOL
464 B
Text
8 lines
No EOL
464 B
Text
# strobes ===========================================================
|
|
var strobe_switch = props.globals.getNode("controls/lighting/strobe", 1);
|
|
aircraft.light.new("sim/model/c172p/lighting/strobes", [0.015, 1.985], strobe_switch);
|
|
|
|
|
|
# beacons ===========================================================
|
|
var beacon_switch = props.globals.getNode("controls/lighting/beacon", 1);
|
|
aircraft.light.new("sim/model/c172p/lighting/beacon-top", [0.10, 0.90], beacon_switch); |