SeaHawk-FGA6-WV859.ac false print("LOAD seahawk ", cmdarg().getPath()); var self = cmdarg(); var aliases = []; var generic_int = 0; var generic_float = 0; var i = 0; var j = 0; 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 + 4; var spray = self.getNode("gear/gear[" ~ i ~ "]/spray", 1); generic_int = self.getNode("sim/multiplay/generic/int[" ~ j ~ "]", 1); spray.alias(generic_int); append(aliases, spray); } 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-damped", 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 nav_lights = self.getNode("controls/lighting/nav-lights[1]", 1); generic_int = self.getNode("sim/multiplay/generic/int[4]", 1); nav_lights.alias(generic_int); append(aliases, nav_lights); print("UNLOAD seahawk ", cmdarg().getPath()); foreach (var a; aliases) a.unalias(); Aircraft/seahawk/Models/light-green.xml Stbd-Light -1.01589 5.71232 0.238584 Aircraft/seahawk/Models/light-red.xml Port-Light -1.01589 -5.71232 0.238584 Aircraft/seahawk/Models/light-white.xml Tail-Light 5.86 0.0 0.707172 Fuselage Rudder UC-Nose UC-Main-L UC-Main-R Tailplane-L Elevator-R Elevator-L Flap-R Flap-L Flap-Inner-1-L Flap-Inner-1-R Flap-Inner-2-L Flap-Inner-2-R Tailplane-R Pilot Ejection-Seat Port-Light Stbd-Light Tail-Light Wing-R Wing-L Stub-Wing-R Stub-Wing-L noshadow.Markings Turn Gunsight Undercarriage-Control Gear-Indicator Nav-Light-Cover-Port Nav-Light-Cover-Stbd Tail-Lt-Cover Canopy select FCanopy-Rain sim/model/rain/raining 0.01 select FCanopy sim/model/rain/raining 0.01 select SCanopy-Stbd-Rain sim/model/rain/raining 0.01 select SCanopy-Port-Rain sim/model/rain/raining 0.01 select MCanopy-Rain sim/model/rain/raining 0.01 select MCanopy sim/model/rain/raining 0.01 rotate Throttle controls/engines/engine/throttle 0 -30 0.5 0 1 30
-3.5362 -0.428434 0.0203291
0 -1 0
rotate Pilot-LLArm controls/engines/engine/throttle 0 -30 0.5 0 1 30
-3.5362 -0.428434 0.0203291
0 -1 0
rotate Pilot-LLArm controls/engines/engine/throttle 0 -20 0.5 0 1 20
-3.5362 -0.428434 0.168633
0 1 0
rotate Pilot-LUArm controls/engines/engine/throttle 0 -12 0.5 0 1 12
-3.09126 -0.119662 0.445183
0 1 0
rotate C-Stick Pilot-RLArm surface-positions/elevator-pos-norm 0 -10
-3.60048 0.0 -0.326249
0 1 0
rotate Pilot-RLArm surface-positions/elevator-pos-norm -1 -5 0 0 1 5
-3.46354 0.0240734 0.227171
0 1 0
rotate Pilot-RUArm surface-positions/elevator-pos-norm -1 -9 0 0 1 12
-3.08552 0.117351 0.446164
0 1 .7
rotate Pilot-RUArm surface-positions/elevator-pos-norm -1 -7 0 0 1 0
-3.08552 0.117351 0.446164
-1 0 0
rotate C-Stick Pilot-RLArm surface-positions/left-aileron-pos-norm 0 -10
-3.60048 0.0 -0.326249
1 0 0
rotate Pilot-RLArm surface-positions/left-aileron-pos-norm -1 -10 0 0 1 7
-3.46354 0.0240734 0.227171
0 0 -1
rotate Pilot-RUArm surface-positions/left-aileron-pos-norm -1 10 0 0 1 -3
-3.08552 0.117351 0.446164
0 1 0.7
rotate Pilot-RUArm surface-positions/left-aileron-pos-norm -1 -3 0 0 1 7
-3.08552 0.117351 0.446164
1 0 0
rotate Pilot-RLArm surface-positions/elevator-pos-norm -1 -15 0 0 1 7.5
-3.46354 0.0240734 0.227171
0 0 -1
rotate Pilot-RLArm surface-positions/left-aileron-pos-norm -1 -2 0 0 1 2
-3.46354 0.0240734 0.227171
0 0 -1
translate Pedal-L surface-positions/rudder-pos-norm -1 -0.045 0 0 1 0.045 1 0 0 translate Boot-L surface-positions/rudder-pos-norm -1 -0.045 0 0 1 0.045 1 0 0 translate Pilot-LLLeg surface-positions/rudder-pos-norm -1 -0.045 0 0 1 0.045 1 0 0 rotate Pilot-LLLeg surface-positions/rudder-pos-norm -1 -5 0 0 1 5
-3.87 -0.22 -0.28
0 -1 0
rotate Pilot-LULeg surface-positions/rudder-pos-norm -1 -5 0 0 1 5
-3.25 0.13 -0.06
0 1 0
translate Pedal-R surface-positions/rudder-pos-norm -1 0.045 0 0 1 -0.045 1 0 0 translate Boot-R surface-positions/rudder-pos-norm -1 0.045 0 0 1 -0.045 1 0 0 translate Pilot-RLLeg surface-positions/rudder-pos-norm -1 0.045 0 0 1 -0.045 1 0 0 rotate Pilot-RLLeg surface-positions/rudder-pos-norm -1 -5 0 0 1 5
-3.87 -0.22 -0.28
0 1 0
rotate Pilot-RULeg surface-positions/rudder-pos-norm -1 -5 0 0 1 5
-3.25 0.13 -0.06
0 -1 0
translate noshadow.MCanopy Canopy-Frame canopy/position-norm 0.55 1 0 0.125 rotate Port-Light Wing-L Flap-L MK-L-Wing-T MK-L-Wing-B canopy/position-norm -108
-0.435976 -1.76211 0.118847
1 0 0
rotate Stbd-Light Wing-R Flap-R MK-R-Wing-T MK-R-Wing-B canopy/position-norm 108
-0.435976 1.76211 0.118847
1 0 0
rotate Rudder-L Rudder-R Rudder-C Tail-Lt-Fairing Tail-Light Tail-Lt-Cover noshadow.MK-L-Rudder noshadow.MK-R-Rudder surface-positions/rudder-pos-norm -30
5.38 0.0 0.0
0.0 0 1
rotate L-Elevator-T L-Elevator-B L-Elevator-C surface-positions/elevator-pos-norm 30
5.39 0.0 0.70
0 1.0 0.0
rotate R-Elevator-T R-Elevator-B R-Elevator-C surface-positions/elevator-pos-norm 30
5.39 0.0 0.70
0.0 1.0 0.0
rotate L-Aileron-T L-Aileron-B L-Aileron-C surface-positions/left-aileron-pos-norm 20
0.24 -3.39 0.04
0.17 1 -0.065
rotate R-Aileron-T R-Aileron-B R-Aileron-C surface-positions/right-aileron-pos-norm -20
0.24 3.39 0.04
0.17 -1 -0.065
rotate L-Flap-T L-Flap-B L-Flap-C surface-positions/flap-pos-norm 55
0.37 -1.67 -0.10
0.17 1 -0.065
rotate R-Flap-T R-Flap-B R-Flap-C surface-positions/flap-pos-norm -55
0.37 1.67 -0.10
0.17 -1 -0.065
rotate Flap-Inner-1-R surface-positions/flap-pos-norm -55
0.3903 1.7569 -0.1048
0.17 -1 -0.065
rotate Flap-Inner-1-L surface-positions/flap-pos-norm 55
0.3903 -1.7569 -0.1048
0.17 1 -0.065
rotate Flap-Inner-2-R surface-positions/flap-pos-norm -55
0.41 1.34 -0.13
0.03 -1 -0.13
rotate Flap-Inner-2-L surface-positions/flap-pos-norm 55
0.41 -1.34 -0.13
0.03 1 -0.13
rotate Airbrake-R surface-positions/speedbrake-pos-norm 25
0.37 1.66 -0.02
0.15 -1 -0.065
rotate Airbrake-L surface-positions/speedbrake-pos-norm -25
0.37 -1.66 -0.02
0.15 1 -0.065
rotate UC-F-Assembly gear/gear[0]/position-norm 0 120 0.4 120 1 0
-4.0 0.0 -0.40
0 1 0
rotate UC-F-FDoor-OS UC-F-FDoor-IS noshadow.MK-UC-F-FD-SN gear/gear/position-norm 0 0 0.6 70 1 70
-5.05 0.0 -0.06
0 1 0
rotate UC-F-RDoor-OS UC-F-RDoor-IS gear/gear/position-norm 0 0 0.4 0 1 -160
-4.07 0.0 -0.45
0 1 0
select UC-F-Assembly gear/gear[0]/position-norm 0.02 translate UC-L-Door2-OS UC-L-Door2-IS gear/gear[1]/compression-norm 0 0 1 0.60 0 -0.123 1 rotate UC-L-Upper-Leg UC-L-Lower-Leg UC-L-Hub UC-L-Tyre UC-L-Axle gear/gear[1]/position-norm 0 65 0.1 65 1 0
0.10 -1.40 -0.00
1 0 0
rotate UC-L-Door1-OS UC-L-Door1-IS gear/gear[1]/position-norm 0 0 0.1 0 1 72.5
0.12 -1.50 -0.16
-1 0 0
rotate UC-L-Door2-OS UC-L-Door2-IS gear/gear[1]/position-norm 0 0 0.1 0 1 65
0.10 -1.40 -0.0
-1 0 0
rotate UC-L-Door2-OS UC-L-Door2-IS gear/gear[1]/position-norm 0 0 0.1 0 1 15
0.30 -0.73 -0.39
1 0 0
translate UC-L-Door2-OS UC-L-Door2-IS gear/gear[1]/position-norm 0 0 1 0.15 0 0 1 translate UC-L-Door2-OS UC-L-Door2-IS gear/gear[1]/position-norm 0 0 1 0.125 0 -1 0 rotate Door3-L gear/gear[1]/position-norm 0 0 0.4 90 0.6 90 1 0
-0.37 -0.12 -0.78
1 0 0
translate UC-L-Lower-Leg UC-L-Hub UC-L-Tyre UC-L-Axle gear/gear[1]/compression-norm 0 0 1 0.40 0 -0.123 1 select UC-L-Assembly gear/gear[1]/position-norm 0.02 translate UC-R-Door2-OS UC-R-Door2-IS gear/gear[2]/compression-norm 0 0 1 0.60 0 0.123 1 rotate UC-R-Upper-Leg UC-R-Lower-Leg UC-R-Hub UC-R-Tyre UC-R-Axle gear/gear[2]/position-norm 0 70 0.1 70 1 0
0.10 1.40 -0.0
-1 0 0
rotate UC-R-Door1-OS UC-R-Door1-IS gear/gear[2]/position-norm 0 0 1 72.5
0.12 1.50 -0.16
1 0 0
rotate UC-R-Door2-OS UC-R-Door2-IS gear/gear[1]/position-norm 0 0 0.1 0 1 65
0.10 1.40 -0.0
1 0 0
rotate UC-R-Door2-OS UC-R-Door2-IS gear/gear[1]/position-norm 0 0 0.1 0 1 15
0.30 0.73 -0.39
-1 0 0
translate UC-R-Door2-OS UC-R-Door2-IS gear/gear[1]/position-norm 0 0 1 0.15 0 0 1 translate UC-R-Door2-OS UC-R-Door2-IS gear/gear[1]/position-norm 0 0 1 0.125 0 1 0 rotate Door3-R gear/gear[2]/position-norm 0 0 0.4 90 0.6 90 1 0
-0.37 0.12 -0.78
-1 0 0
translate UC-R-Lower-Leg UC-R-Hub UC-R-Tyre UC-R-Axle gear/gear[2]/compression-norm 0 0 1 0.40 0 0.123 1 select UC-R-Assembly gear/gear[2]/position-norm 0.02 rotate UC-F-Lower-Leg UC-F-Arm UC-F-DArm UC-F-Hub UC-F-Tyre gear/gear[0]/caster-angle-deg-damped 0 1
-4.14984 0.0 -0.7
0 0 1
translate UC-F-Lower-Leg gear/gear[0]/compression-norm 0.4 0 0 1 rotate UC-F-Arm UC-F-Hub UC-F-Tyre gear/gear[0]/compression-norm -8 -60
-4.33 0 -0.86
0 1 0
rotate L-Hull-Upper-Vents controls/flight/flaps-lever 50
-0.7 -0.27 0.59
1 0 0
rotate L-Hull-Lower-Vents controls/flight/flaps-lever 50
-0.7 -0.44 0.46
1 0 0
rotate R-Hull-Upper-Vents controls/flight/flaps-lever -50
-0.7 0.27 0.59
1 0 0
rotate R-Hull-Lower-Vents controls/flight/flaps-lever -50
-0.7 0.44 0.46
1 0 0
rotate AHook gear/tailhook/position-norm 0 0 0.5 45 1 90
4.67 0 -0.34
0 1 0
material Panel-Upper Panel-Lower Panel-L controls/lighting/panel-norm 0.6 0.20 0.20 rotate Holdback gear/launchbar/holdback-position-norm 0 0 0.5 45 1 90
4.63 0 -0.41
0 1 0
select Holdback gear/launchbar/state Engaged Aircraft/seahawk/Models/droptank.xml Drop-Tank-Port -0.7094 -1.6900 -0.5715 -2.0 Aircraft/seahawk/Models/droptank.xml Drop-Tank-Stbd -0.7094 1.6900 -0.5715 -2.0 select Drop-Tank-Port controls/armament/station[0]/jettison-all 1 select Drop-Tank-Stbd controls/armament/station[0]/jettison-all 1 Aircraft/Generic/Effects/tyre-smoke-nose.xml tyre-smoke-n -3.97144 0 -1.43238 Aircraft/Generic/Effects/tyre-smoke-port.xml tyre-smoke-p -0.0935892 -1.243720 -1.2934 Aircraft/Generic/Effects/tyre-smoke-stbd.xml tyre-smoke-s -0.0935892 1.243720 -1.2934 Aircraft/Generic/Effects/rain-nose.xml rain-n -3.97144 0 -1.43238 Aircraft/Generic/Effects/rain-port.xml rain-p -0.0935892 -1.243720 -1.2934 Aircraft/Generic/Effects/rain-stbd.xml rain-s -0.0935892 1.243720 -1.2934 Aircraft/Generic/Effects/rain-tail.xml rain-t 10.0 0 -1.43238 shader chrome Aircraft/Generic/Effects/glass_shader.png MCanopy FCanopy SCanopy-Port SCanopy-Stbd