../../../../Aircraft/Hurricane/Models/hurricane-ver-25.ac
../../../../Aircraft/Hurricane/Models
print("LOAD Hurricane ", 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 Hurricane ", cmdarg().getPath());
foreach (var a; aliases)
a.unalias();
Aircraft/Hurricane/Models/warning-plate.xml
3.104
-0.198
0.401
Aircraft/Hurricane/Models/trim-knob-rudder.xml
Trim-Knob-Rudder
3.43
-0.29
-0.16
90
Aircraft/Hurricane/Models/trim-elev.xml
Trim-Elev
3.505
-0.387
-0.120
-54
Aircraft/Hurricane/Models/trim-wheel-elev.xml
3.505
-0.345
-0.120
Aircraft/Hurricane/Models/pitch.xml
3.453
-0.44
0.194
-9
Aircraft/Hurricane/Models/throttle.xml
3.538
-0.425
0.030
Aircraft/Hurricane/Models/flaps.xml
Flaps
3.372
0.379
-0.075
-54
32
-22
Aircraft/Hurricane/Models/hydraulic.xml
Hydraulic
3.276
0.37
-0.030
-54
32
-22
Aircraft/Hurricane/Models/fuel-cock.xml
3.22
-0.37
0.02
-52
Aircraft/Hurricane/Models/control-stick.xml
3.39
-0.0
-0.34
Aircraft/Hurricane/Models/rgs.xml
Gunsight
3.30
-0.0
0.69
Aircraft/Hurricane/Models/light-green.xml
Stbd-Light
2.675
5.7
-0.321788
Aircraft/Hurricane/Models/light-red.xml
Port-Light
2.675
-5.7
-0.321788
Aircraft/Hurricane/Models/light-white.xml
Tail-Light
9.85
0.0
0.632783
Aircraft/Generic/marker.xml
Covers
Pitot
Flap-Inner-R
Flap-Inner-L
Flap-Outer-R
Flap-Outer-L
UC-Tail
UC-Doors
Stub-Wing-B
Fuselage
Empennage
Spinner
Exhausts
Wing-B-L
Wing-B-R
Wing-C-L
Wing-C-R
Wing-Tip-B-L
Wing-Tip-B-R
Radiator
Carb-Air-Intake
Tail-Light
Port-Light
Stbd-Light
Stbd-Nav-Lt-Cover
Port-Nav-Lt-Cover
select
Cover-Engine-T
Cover-Tank-T
Escape-Hatch
Gunsight
Altimeter
Attitude
Gear-Indicator
Turn
Triple
Trim-Knob-Rudder
Flaps
Hydraulic
/sim/current-view/view-number
0
select
Pilot
Propeller
PropellerDisk
Front-Panel-O
Front-Panel-I
Canopy-Front
Canopy-Main
/sim/current-view/view-number
0
select
Front-Panel-O-Rain
sim/model/rain/raining-norm
0.01
select
Front-Panel-O
sim/model/rain/raining-norm
0.01
select
Canopy-Front-Rain-S
sim/model/rain/raining-norm
0.01
select
Canopy-Front-Rain-P
sim/model/rain/raining-norm
0.01
select
Canopy-Main-Rain
sim/model/rain/raining-norm
0.01
select
Canopy-Main
sim/model/rain/raining-norm
0.01
select
Head
sim/current-view/view-number
0
translate
Pilot
Seat
controls/seat/vertical-adjust
0
0
1
rotate
Aileron-L
surface-positions/left-aileron-pos-norm
30
3.72
-5.35
-0.36
3.99
-3.46
-0.50
rotate
Aileron-R
surface-positions/right-aileron-pos-norm
-30
3.72
5.35
-0.36
3.99
3.46
-0.50
rotate
Flap-Inner-L
surface-positions/flap-pos-norm
-80
4.30
-0.44
-0.75
4.30
-1.34
-0.74
rotate
Flap-Inner-R
surface-positions/flap-pos-norm
80
4.30
0.44
-0.75
4.30
1.34
-0.74
rotate
Flap-Outer-L
surface-positions/flap-pos-norm
-80
4.30
-1.34
-0.74
4.02
-3.30
-0.55
rotate
Flap-Outer-R
surface-positions/flap-pos-norm
80
4.30
1.34
-0.74
4.02
3.30
-0.55
rotate
Elevator-L
surface-positions/elevator-pos-norm
-22
9.06
-0.08
0.22
9.06
-1.34
0.22
rotate
Elevator-R
surface-positions/elevator-pos-norm
22
9.06
0.08
0.22
9.06
1.34
0.22
rotate
Rudder
Tail-Lt-Fairing
Tail-Lt-Cover
Tail-Light
surface-positions/rudder-pos-norm
30
9.12
0.00
1.35
9.12
0.00
-0.46
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.5
1.0
rotate
Door-L
gear/gear[1]/position-norm
0
0
1
-90
2.60
-1.28
-0.71
3.41
-1.28
-0.71
rotate
Door-R
gear/gear[2]/position-norm
0
0
1
90
2.60
1.28
-0.71
3.41
1.28
-0.71
rotate
Door-L
gear/gear[1]/position-norm
0
0
1
20
2.67
-1.28
-0.64
0
0
1
rotate
Door-R
gear/gear[2]/position-norm
0
0
1
-20
2.67
1.28
-0.64
0
0
1
rotate
Door-L-Aux
gear/gear[1]/position-norm
0
0
1
-90
3.11
-1.34
-0.78
3.41
-1.34
-0.78
rotate
Door-R-Aux
gear/gear[2]/position-norm
0
0
1
90
3.11
1.34
-0.78
3.41
1.34
-0.78
rotate
Leg-Assembly-L
gear/gear[1]/position-norm
0
89
1
0
2.60
-1.28
-0.71
3.41
-1.28
-0.71
rotate
Leg-Assembly-R
gear/gear[2]/position-norm
0
-89
1
0
2.60
1.28
-0.71
3.41
1.28
-0.71
rotate
Leg-Assembly-L
gear/gear[1]/position-norm
0
-20
1
0
2.67
-1.28
-0.64
0
1
0
rotate
Leg-Assembly-R
gear/gear[2]/position-norm
0
-20
1
0
2.67
1.28
-0.64
0
1
0
translate
Leg-Lower-Assembly-L
gear/gear[1]/compression-norm
0.2
0
0
1
translate
Leg-Lower-Assembly-R
gear/gear[2]/compression-norm
0.2
0
0
1
translate
UC-Tail
gear/gear[2]/compression-norm
0.1
0
0
1
rotate
UC-Tail
gear/gear[0]/caster-angle-deg
1
8.41
0
-0.69
8.37
0
-0.44
translate
Canopy-Main-Frame
Canopy-Main
gear/canopy/position-norm
0.575
1
0
0
translate
Step
controls/flight/door-position-norm
0
0.25
1
0
0.25
0.25
1
rotate
Handhold
controls/flight/door-position-norm
0
0
1
-120
4.7299
-0.3929
0.3055
4.8808
-0.3745
0.3303
rotate
Flap
engines/engine/rad-flap-norm
90
4.19
-0.34
-1.11
4.19
0.34
-1.11
material
Panels
controls/lighting/panel-norm
0.6
0.20
0.20
material
Member-F-C-U
controls/lighting/panel-norm
0.3
0.025
0.025
material
Exhaust-Dirt
sim/time/hobbs/engine[0]
0.00027
0
0.7
0.0075
material
Bottom-Oil-Streak
sim/time/hobbs/engine[0]
0.00027
0
0.9
0.0075
Aircraft/Generic/Effects/tyre-smoke-port.xml
tyre-smoke-p
2.63754
-1.17333
-2.03148
Aircraft/Generic/Effects/tyre-smoke-stbd.xml
tyre-smoke-s
2.63754
1.17333
-2.03148
Aircraft/Generic/Effects/rain-port.xml
rain-p
2.63754
-1.17333
-2.03148
Aircraft/Generic/Effects/rain-stbd.xml
rain-s
2.63754
1.17333
-2.03148
Aircraft/Generic/Effects/rain-tail.xml
rain-t
8.56606
0
-0.94651
textranslate
Front-Panel-O-Rain
sim/model/rain/flow-mps
1
1
0
0
textranslate
Canopy-Front-Rain-S
sim/model/rain/flow-mps
1
0.33
1
0
0
textranslate
Canopy-Front-Rain-P
sim/model/rain/flow-mps
1
0.66
1
0
0
textranslate
Canopy-Main-Rain
sim/model/rain/flow-mps
1
-1
0
0
material
Front-Panel-O-Rain
Canopy-Front-Rain-P
Canopy-Front-Rain-S
Canopy-Main-Rain
velocities/airspeed-kt
-0.00333
1
0.3
0.0075
material
Front-Panel-O-Rain
Canopy-Front-Rain-P
Canopy-Front-Rain-S
Canopy-Main-Rain
sim/model/rain/raining-norm
0.7
0
0.3
0.0075
select
markers
Aircraft/Hurricane/Models/Effects/light-cone.xml
2.46
3.18673
-0.444083
-15
2.5
Landing-Light-Stbd
Aircraft/Hurricane/Models/Effects/light-cone.xml
2.46
-3.18673
-0.444083
-15
-2.5
Landing-Light-Port
select
controls/lighting/landing-light
1
Landing-Light-Port
select
controls/lighting/landing-light
2
Landing-Light-Stbd