spitfireIIa.ac
print("LOAD Spitfire IIa ", cmdarg().getPath());
var self = cmdarg();
var aliases = [];
var generic_int = 0;
var generic_float = 0;
var generic_string = "";
for (i = 0; i < 3; i += 1) {
j = i + 1;
var tyre_smoke = self.getNode("gear/gear[" ~ i ~ "]/tyre-smoke", 1);
generic_int = self.getNode("sim/multiplay/generic/int[" ~ j ~ "]", 1);
tyre_smoke.alias(generic_int);
append(aliases, tyre_smoke);
}
for (i = 0; i < 3; i += 1) {
j = i ;
var spray_speed = self.getNode("gear/gear[" ~ i ~ "]/sprayspeed-ms", 1);
generic_float = self.getNode("sim/multiplay/generic/float[" ~ j ~ "]", 1);
spray_speed.alias(generic_float);
append(aliases, spray_speed);
}
for (i = 0; i < 3; i += 1) {
j = i + 3;
var spray_density = self.getNode("gear/gear[" ~ i ~ "]/spray-density", 1);
generic_float = self.getNode("sim/multiplay/generic/float[" ~ j ~ "]", 1);
spray_density.alias(generic_float);
append(aliases, spray_density);
}
var engine_running = self.getNode("engines/engine[0]/running", 1);
generic_int = self.getNode("sim/multiplay/generic/int[0]", 1);
engine_running.alias(generic_int);
append(aliases, engine_running);
var height_agl = self.getNode("position/altitude-agl-ft", 1);
generic_float = self.getNode("sim/multiplay/generic/float[6]", 1);
height_agl.alias(generic_float);
append(aliases, height_agl);
var caster_angle = self.getNode("gear/gear[0]/caster-angle-deg", 1);
generic_float = self.getNode("sim/multiplay/generic/float[7]", 1);
caster_angle.alias(generic_float);
append(aliases, caster_angle);
var throttle = self.getNode("controls/engines/engine[0]/throttle", 1);
generic_float = self.getNode("sim/multiplay/generic/float[8]", 1);
throttle.alias(generic_float);
append(aliases, throttle);
var canopy = self.getNode("gear/canopy/position-norm", 1);
generic_float = self.getNode("sim/multiplay/generic/float[9]", 1);
canopy.alias(generic_float);
append(aliases, canopy);
var door = self.getNode("controls/flight/door-position-norm", 1);
generic_float = self.getNode("sim/multiplay/generic/float[10]", 1);
door.alias(generic_float);
append(aliases, door);
var dirt = self.getNode("sim/time/hobbs/engine[0]", 1);
generic_float = self.getNode("sim/multiplay/generic/float[11]", 1);
dirt.alias(generic_float);
append(aliases, dirt);
var rad_flap = self.getNode("engines/engine/rad-flap-norm", 1);
generic_float = self.getNode("sim/multiplay/generic/float[12]", 1);
rad_flap.alias(generic_float);
append(aliases, rad_flap);
var landing_light = self.getNode("controls/lighting/landing-light[0]", 1);
generic_int = self.getNode("sim/multiplay/generic/int[6]", 1);
landing_light.alias(generic_int);
append(aliases, landing_light);
var i = 0;
var j = 0;
print("UNLOAD Spitfire IIa ", cmdarg().getPath());
foreach (var a; aliases)
a.unalias();
light-green.xml
Stbd-Light
2.35
5.4805
-0.26532
light-red.xml
Port-Light
2.35
-5.4805
-0.26532
light-white.xml
Tail-Light
9.05
0.0
0.837072
select
Canopy-Main
Canopy-Rear
Canopy-FP
sim/model/rain/raining-norm
0.01
rotate
Aileron-L
surface-positions/left-aileron-pos-norm
-30
3.49
-3.24
-0.54
3.27
-4.46
-0.39
rotate
Aileron-R
surface-positions/right-aileron-pos-norm
30
3.49
3.24
-0.54
3.27
4.46
-0.39
rotate
Flap-Inner-L
surface-positions/flap-pos-norm
-86
4.04
-0.37
-0.80
4.0
-0.77
-0.80
rotate
Flap-Inner-R
surface-positions/flap-pos-norm
86
4.04
0.37
-0.80
4.0
0.77
-0.80
rotate
Flap-Outer-L
surface-positions/flap-pos-norm
-86
4.0
-0.77
-0.80
3.89
-1.85
-0.71
rotate
Flap-Outer-R
surface-positions/flap-pos-norm
86
4.0
0.77
-0.80
3.89
1.85
-0.71
rotate
Elevator-L
surface-positions/elevator-pos-norm
-15
8.36
-0.05
0.23
8.37
-0.77
0.23
rotate
Elevator-R
surface-positions/elevator-pos-norm
15
8.36
0.05
0.23
8.37
0.77
0.23
rotate
Rudder
Tail-Light
surface-positions/rudder-pos-norm
-15
8.51
0.00
1.20
8.51
0.00
-0.29
select
Propeller
engines/engine[0]/rpm
1000
spin
Propeller
engines/engine[0]/rpm
0.477
-0.40
0.0
0.0
-1.0
0.0
0.0
spin
Spinner
engines/engine[0]/rpm
0.477
-0.40
0.0
0.0
-1.0
0.0
0.0
select
PropellerDisk
engines/engine[0]/rpm
900
blend
PropellerDisk
engines/engine[0]/rpm
0.0005
-0.5
0.0
1
rotate
Door-L
gear/gear[0]/position-norm
0
0
1
96
2.36
-0.67
-0.81
2.48
-0.64
-0.85
rotate
Door-R
gear/gear[1]/position-norm
0
0
1
-96
2.36
0.67
-0.81
2.48
0.64
-0.85
rotate
Leg-Assembly-L
gear/gear/position-norm
0
-90.4
1
0
2.43
-0.663
-0.75
2.53
-0.637
-0.785
rotate
Leg-Assembly-R
gear/gear[1]/position-norm
0
90.4
1
0
2.43
0.663
-0.75
2.53
0.637
-0.785
translate
Leg-Lower-Assembly-L
gear/gear/compression-norm
0.2
0.321
0.075
1
translate
Leg-Lower-Assembly-R
gear/gear[1]/compression-norm
0.2
0.321
-0.075
1
rotate
Tail-Wheel-Assembly
gear/gear[2]/caster-angle-deg
1
8.27781
0
-0.502272
0
0
1
spin
Wheel-T
gear/gear[2]/rollspeed-ms
67.24857
8.48803
0.0295732
-0.519478
8.48803
-0.0295656
-0.519002
spin
Wheel-L
gear/gear[0]/rollspeed-ms
29.794997
2.1962
-0.796587
-1.66508
2.1962
-0.929497
-1.67797
spin
Wheel-R
gear/gear[1]/rollspeed-ms
-29.794997
2.1962
0.796587
-1.66508
2.1962
0.929497
-1.67797
rotate
Flap
engines/engine/cowl-flaps-norm
90
3.46
0.52
-1.04
3.45
1.17
-1.03
translate
Canopy-Main
Frame-Main
gear/canopy/position-norm
0.575
1
0
0
rotate
Door
controls/flight/door-position-norm
0
0
1
-170
4.17
-0.42
-0.050
3.72
-0.42
-0.050
rotate
Lever-Rad-Flap
controls/engines/engine/cowl-flaps-norm
0
0
1
-90
3.74
0.19
-0.80
3.74
-0.19
-0.80
material
Dirt-Exhaust
sim/time/hobbs/engine[0]
0.00027
0
0.7
0.0075
material
Dirt-Oil
sim/time/hobbs/engine[0]
0.00027
0
0.9
0.0075
Aircraft/Generic/Effects/tyre-smoke-port.xml
tyre-smoke-p
2.3191
-0.831494
-1.96577
Aircraft/Generic/Effects/tyre-smoke-stbd.xml
tyre-smoke-s
2.3191
0.831494
-1.96577
Aircraft/Generic/Effects/rain-port.xml
rain-p
2.3191
-0.831494
-1.96577
Aircraft/Generic/Effects/rain-stbd.xml
rain-s
2.3191
0.831494
-1.96577
Aircraft/Generic/Effects/rain-tail.xml
rain-t
8.56606
0
-0.94651
shader
chrome
Aircraft/Generic/Effects/glass_shader.png
Canopy-Main
Canopy-Rear
Canopy-F