1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465 |
- <?xml version="1.0"?>
- <PropertyList>
- <path>CanberraBI8.ac</path>
- <!-- Rembrandt edition -->
- <!-- MP sound call -->
- <sound><path>Aircraft/CanberraBI8/Sounds/mp-sound.xml</path></sound>
- <!-- Skin switching code -->
- <nasal>
- <load>
- var livery_update = aircraft.livery_update.new("Aircraft/CanberraBI8/Models/Liveries", 10);
- var root = cmdarg();
- var rootindex = root.getIndex();
- var mpPath = "/ai/models/multiplayer["~ rootindex ~"]/";
- var lightsPath = mpPath~"lightpack/"; #path to the property node, where all internal values are placed
- props.globals.initNode(mpPath~"sim/is-MP-Aircraft", 1, "BOOL");
- srand();
- #wherever you want to add randomization of time, use something like: + rand()*0.05-0.025 (included by default where appropriate)
- #list of switches for lights - if you don't intend to use some light, assign it nil value instead, like whateverSwitch = nil; and you don't need to care about anything else
- #IMPORTANT: don't put / on the start of the string, it's already included in the mpPath property
- var navSwitch = mpPath~"controls/lighting/nav-lights-switch";
- var beaconSwitch = mpPath~"controls/lighting/beacon-switch";
- var strobeSwitch = mpPath~"controls/lighting/strobe-switch";
- var landingSwitch = mpPath~"controls/lighting/landing-lights-switch";
- var taxiSwitch = mpPath~"controls/lighting/taxi-light-switch";
- var probeSwitch = mpPath~"controls/lighting/probe-light-switch";
- var whiteSwitch = mpPath~"controls/lighting/white-light-switch";
- #switch this from 1 to 0 if you want to use advanced cyclical fading animation of the the nav lights instead of being stable on when the switch is on
- navStillOn = 1;
- #I need to set listener on some MP transferred properties; this doesn't seem to work well sometimes, so I mirror them to the original location on any change
- #This also simplifies work as I can use almost the same code for MP as is the local Nasal. Furthermore, I can use meaningful property names in the model XML files instead of referencing the MP properties.
- var mpVar = {
- new: func(propIn, propOut) {
- var m = { parents: [mpVar] };
- m.propIn = propIn;
- m.propOut = propOut;
- if(propIn==nil) return m;
- m.value = getprop(propIn);
- setprop(propOut, m.value);
- return m;
- },
- check: func {
- if(me.propIn==nil) return;
- var newValue = getprop(me.propIn);
- if(newValue != me.value) {
- setprop(me.propOut, newValue);
- me.value = newValue;
- #print("value of "~me.propOut~" changed: "~newValue);
- }
- },
- };
- #init any property copy object needed in this array (anything you need to transfer over MP, but you are using the original paths in your xmls)
- #also used for properties you are using a listener on, or properties which you maybe want to manipulate during the unload
- #if you're just using the pack, change the values according to the MP bindings in the -set.xml file
- #you don't need to delete the entries if the path is nil - it gets skipped automatically and the MP path is just ignored
- var mirrorValues = [
- mpVar.new(mpPath~"sim/multiplay/generic/int[7]", mpPath~"sim/crashed"),
- mpVar.new(mpPath~"sim/multiplay/generic/int[0]", navSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[1]", beaconSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[1]", strobeSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[3]", landingSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[4]", taxiSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[4]", probeSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[0]", whiteSwitch),
- ];
- #loop at the default MP transfer frequency (10Hz)
- var mirrorTimer = maketimer(0.1, func {
- foreach(var mir; mirrorValues) {
- mir.check();
- }
- });
- mirrorTimer.start();
- #### NAV LIGHTS ####
- #class for a periodic fade in/out animation - for flashing, use rather standard aircraft.light.new(), as in Beacon and Strobe section
- var lightCycle = {
- #constructor
- new: func(propSwitch, propOut) {
- m = { parents: [lightCycle] };
- props.globals.initNode(propOut, 0, "DOUBLE");
- props.globals.initNode(propSwitch, 1, "BOOL");
- m.fadeIn = 0.4 + rand()*0.05-0.025; #fade in time
- m.fadeOut = 0.4 + rand()*0.05-0.025; #fade out time
- m.stayOn = 1.5 + rand()*0.05-0.025; #stable on period
- m.stayOff = 1 + rand()*0.05-0.025; #stable off period
- m.turnOff = 0.12; #fade out time when turned off
- m.phase = 0; #phase to be run on next timer call: 0 -> fade in, 1 -> stay on, 2 -> fade out, 3 -> stay off
- m.cycleTimer = maketimer(0.1, func {
- if(getprop(propSwitch)) {
- if(m.phase == 0) {
- interpolate(propOut, 1, m.fadeIn);
- m.phase = 1;
- m.cycleTimer.restart(m.fadeIn);
- }
- else if(m.phase == 1){
- m.phase = 2;
- m.cycleTimer.restart(m.stayOn);
- }
- else if(m.phase == 2){
- interpolate(propOut, 0, m.fadeOut);
- m.phase = 3;
- m.cycleTimer.restart(m.fadeOut);
- }
- else if(m.phase == 3){
- m.phase = 0;
- m.cycleTimer.restart(m.stayOff);
- }
- }
- else {
- interpolate(propOut, 0, m.turnOff); #kills any currently ongoing interpolation
- m.phase = 0;
- }
- });
- m.cycleTimer.singleShot = 1;
- if(propSwitch==nil) {
- m.listen = nil;
- return m;
- }
- m.listen = setlistener(propSwitch, func{m.cycleTimer.restart(0);}); #handle switch changes
- m.cycleTimer.restart(0); #start the looping
- return m;
- },
- #destructor
- del: func {
- if(me.listen!=nil) removelistener(me.listen);
- me.cycleTimer.stop();
- },
- };
- #By default, the switch property is initialized to 1 (only if no value is already assigned). Don't change the class implementation! To override this, set the property manually. You don't need to care if any other code already does it for you.
- var navLights = nil;
- if(!navStillOn) {
- navLights = lightCycle.new(navSwitch, lightsPath~"nav-lights-intensity");
- ### Uncomment and tune those to customize times ###
- #navLights.fadeIn = 0.4; #fade in time
- #navLights.fadeOut = 0.4; #fade out time
- #navLights.stayOn = 3 + rand()*0.05-0.025; #stable on period
- #navLights.stayOff = 0.6; #stable off period
- #navLights.turnOff = 0.12; #fade out time when turned off
- }
- ### BEACON ###
- var beacon = nil;
- if(beaconSwitch!=nil) {
- props.globals.initNode(beaconSwitch, 1, "BOOL");
- beacon = aircraft.light.new(lightsPath~"beacon-state",
- [0.0, 1.0 + rand()*0.05-0.025], beaconSwitch);
- }
- ### STROBE ###
- var strobe = nil;
- if(strobeSwitch!=nil) {
- props.globals.initNode(strobeSwitch, 1, "BOOL");
- strobe = aircraft.light.new(lightsPath~"strobe-state",
- [0.0, 0.87 + rand()*0.05-0.025], strobeSwitch);
- }
- ### LIGHT FADING ###
- #class for controlling fade in/out behavior - propIn is a control property (handled as a boolean) and propOut is interpolated
- #all light brightness animations in xmls depend on propOut (Rembrandt brightness, material emission, flares transparency, ...)
- var lightFadeInOut = {
- #constructor
- new: func(propSwitch, propOut) {
- m = { parents: [lightFadeInOut] };
- m.fadeIn = 0.3; #some sane defaults
- m.fadeOut = 0.4;
- if(propSwitch==nil) {
- m.listen = nil;
- return m;
- }
- props.globals.initNode(propSwitch, 1, "BOOL");
- m.isOn = getprop(propSwitch);
- props.globals.initNode(propOut, m.isOn, "DOUBLE");
- m.listen = setlistener(propSwitch,
- func {
- if(m.isOn and !getprop(propSwitch)) {
- interpolate(propOut, 0, m.fadeOut);
- m.isOn = 0;
- }
- if(!m.isOn and getprop(propSwitch)) {
- interpolate(propOut, 1, m.fadeIn);
- m.isOn = 1;
- }
- }
- );
- return m;
- },
- #destructor
- del: func {
- if(me.listen!=nil) removelistener(me.listen);
- },
- };
- fadeLanding = lightFadeInOut.new(landingSwitch, lightsPath~"landing-lights-intensity");
- fadeTaxi = lightFadeInOut.new(taxiSwitch, lightsPath~"taxi-light-intensity");
- fadeProbe = lightFadeInOut.new(probeSwitch, lightsPath~"probe-light-intensity");
- fadeWhite = lightFadeInOut.new(whiteSwitch, lightsPath~"white-light-intensity");
- if(navStillOn) {
- navLights = lightFadeInOut.new(navSwitch, lightsPath~"nav-lights-intensity");
- navLights.fadeIn = 0.1;
- navLights.fadeOut = 0.12;
- }
- #manipulate times if defaults don't fit your needs:
- #fadeLanding.fadeIn = 0.5;
- #fadeLanding.fadeOut = 0.8;
- ### the rest of your model load embedded Nasal code ###
- </load>
- <unload>
- stopFire();
- disintegrated = 0;
- removelistener(listenCrash);
- #prevent multiple timers and listeners from running and fighting on next connect
- #cleanly destroy MP property mirroring
- mirrorTimer.stop();
- mirrorTimer = nil;
- mirrorValues = nil;
- #cleanly destroy nav lights
- if(navStillOn) {
- navLights.del();
- }
- else {
- if(navSwitch!=nil) setprop(navSwitch, 0);
- navLights.del();
- if(navSwitch!=nil) navLights.cycleTimer = nil;
- navLights = nil;
- }
- #cleanly destroy beacon
- if(beaconSwitch!=nil) setprop(beaconSwitch, 0);
- beacon.del();
- beacon = nil;
- #cleanly destroy strobe
- if(strobeSwitch!=nil) setprop(strobeSwitch, 0);
- strobe.del();
- strobe = nil;
- #cleanly destroy light fade in/out animation objects
- fadeLanding.del();
- fadeTaxi.del();
- fadeProbe.del();
- fadeWhite.del();
- ### the rest of your model unload embedded Nasal code ###
- livery_update.stop();
- </unload>
- </nasal>
- <animation>
- <!-- Objets opaques -->
- <type>material</type>
- <object-name>Low-Rez-Body</object-name>
- <object-name>FUS-Hull</object-name>
-
- <object-name>CP-F-Canopy-Frame</object-name>
-
- <object-name>WNG-L</object-name>
- <object-name>WNG-R</object-name>
- <object-name>WNG-R-Aileron</object-name>
- <object-name>WNG-L-Aileron</object-name>
- <object-name>WNG-F-Tip-Tank</object-name>
- <object-name>WNG-R-Tip-Tank</object-name>
- <object-name>ENG-L-Nacelle</object-name>
- <object-name>ENG-R-Nacelle</object-name>
- <object-name>EMP-Tail-Plane</object-name>
- <object-name>EMP-L-Elev</object-name>
- <object-name>EMP-R-Elev</object-name>
- <object-name>EMP-Fin</object-name>
- <object-name>EMP-Rudder</object-name>
- <object-name>UC-L-Door</object-name>
- <object-name>UC-LI-Door-Outside</object-name>
- <object-name>UC-RI-Door-Outside</object-name>
- <object-name>UC-R-Door</object-name>
- <object-name>WNG-R-Inner-Flap</object-name>
- <object-name>WNG-L-Inner-Flap</object-name>
- <object-name>WNG-R-Outer-Flap</object-name>
- <object-name>WNG-L-Outer-Flap</object-name>
- <object-name>FUS-LO-Bomb-Door</object-name>
- <object-name>FUS-RO-Bomb-Door</object-name>
- <object-name>UC-RF-Door.002</object-name>
- <object-name>UC-RF-Door.001</object-name>
- <object-name>FUS-Hatch-Outside</object-name>
-
- <property-base>sim/model/livery</property-base>
- <texture-prop>texture</texture-prop>
- <texture>texture.png</texture>
- </animation>
-
-
- <!-- Pilot -->
- <animation>
- <type>material</type>
- <object-name>tete</object-name>
- <object-name>corps</object-name>
- <object-name>bras</object-name>
- <object-name>avantbras</object-name>
- <object-name>main</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>texture-pilot</texture-prop>
- <texture>fighter_pilot.png</texture>
- </animation>
-
- <!-- fuselage reflection -->
- <effect>
- <inherits-from>Aircraft/CanberraBI8/Models/Effects/reflect-uber</inherits-from>
-
- <object-name>Low-Rez-Body</object-name>
- <object-name>FUS-Hull</object-name>
- <object-name>CP-R-Frame-Inside</object-name>
- <object-name>CP-F-Canopy-Frame</object-name>
-
- <object-name>WNG-L</object-name>
- <object-name>WNG-R</object-name>
- <object-name>WNG-R-Aileron</object-name>
- <object-name>WNG-L-Aileron</object-name>
- <object-name>WNG-F-Tip-Tank</object-name>
- <object-name>WNG-R-Tip-Tank</object-name>
- <object-name>ENG-L-Nacelle</object-name>
- <object-name>ENG-R-Nacelle</object-name>
- <object-name>EMP-Tail-Plane</object-name>
- <object-name>EMP-L-Elev</object-name>
- <object-name>EMP-R-Elev</object-name>
- <object-name>EMP-Fin</object-name>
- <object-name>EMP-Rudder</object-name>
- <object-name>UC-L-Door</object-name>
- <object-name>UC-LI-Door-Outside</object-name>
- <object-name>UC-RI-Door-Outside</object-name>
- <object-name>UC-R-Door</object-name>
- <object-name>WNG-R-Inner-Flap</object-name>
- <object-name>WNG-L-Inner-Flap</object-name>
- <object-name>WNG-R-Outer-Flap</object-name>
- <object-name>WNG-L-Outer-Flap</object-name>
- <object-name>FUS-LO-Bomb-Door</object-name>
- <object-name>FUS-RO-Bomb-Door</object-name>
- <object-name>UC-RF-Door.002</object-name>
- <object-name>UC-RF-Door.001</object-name>
- <object-name>FUS-Hatch-Outside</object-name>
-
- </effect>
-
- <!-- Bump Map Effect -->
- <!--
- <effect>
- <inherits-from>Aircraft/CanberraBI8/Models/Effects/eec_bumpspec</inherits-from>
- <object-name>Low-Rez-Body</object-name>
- <object-name>FUS-Hull</object-name>
- <object-name>CP-R-Frame-Inside</object-name>
- <object-name>CP-F-Canopy-Frame</object-name>
- <object-name>WNG-L</object-name>
- <object-name>WNG-R</object-name>
- <object-name>WNG-R-Aileron</object-name>
- <object-name>WNG-L-Aileron</object-name>
- <object-name>WNG-F-Tip-Tank</object-name>
- <object-name>WNG-R-Tip-Tank</object-name>
- <object-name>ENG-L-Nacelle</object-name>
- <object-name>ENG-R-Nacelle</object-name>
- <object-name>EMP-Tail-Plane</object-name>
- <object-name>EMP-L-Elev</object-name>
- <object-name>EMP-R-Elev</object-name>
- <object-name>EMP-Fin</object-name>
- <object-name>EMP-Rudder</object-name>
- <object-name>UC-L-Door</object-name>
- <object-name>UC-LI-Door-Outside</object-name>
- <object-name>UC-RI-Door-Outside</object-name>
- <object-name>UC-R-Door</object-name>
- <object-name>WNG-R-Inner-Flap</object-name>
- <object-name>WNG-L-Inner-Flap</object-name>
- <object-name>WNG-R-Outer-Flap</object-name>
- <object-name>WNG-L-Outer-Flap</object-name>
- <object-name>FUS-LO-Bomb-Door</object-name>
- <object-name>FUS-RO-Bomb-Door</object-name>
- <object-name>UC-RF-Door.002</object-name>
- <object-name>UC-RF-Door.001</object-name>
- <object-name>FUS-Hatch-Outside</object-name>
- </effect>
- -->
-
-
-
- <!-- Transparent Surfaces for Rembrandt rendering -->
- <effect>
- <inherits-from>Aircraft/CanberraBI8/Models/Effects/bk117reflectglas-uber</inherits-from>
- <!--<object-name>hatch</object-name>
- <object-name>main</object-name>
- <object-name>Low-Rez-Glass</object-name>-->
- <object-name>CP-R-Glass</object-name>
- <object-name>wCP-F-Glass</object-name>
- <object-name>CP-F-Glass</object-name>
- <object-name>FUS-Windows</object-name>
- <object-name>WNG-R-Lens</object-name>
- <object-name>WNG-L-Lens</object-name>
- </effect>
-
-
- <effect>
- <inherits-from>Effects/glass</inherits-from>
- <object-name>CP-R-Glassin</object-name>
- <object-name>hud</object-name>
- <object-name>CP-F-Glassin</object-name>
- <object-name>FUS-Windowsin</object-name>
- </effect>
-
-
- <!-- Solid Surfaces for Rembrandt rendering -->
- <animation>
-
- <object-name>FUS-Top</object-name>
- <object-name>Low-Rez-Body</object-name>
- <object-name>FUS-Hull</object-name>
- <object-name>CP-R-Frame-Inside</object-name>
- <object-name>CP-F-Canopy-Frame</object-name>
- <object-name>WNG-L</object-name>
- <object-name>WNG-R</object-name>
- <object-name>WNG-R-Aileron</object-name>
- <object-name>WNG-L-Aileron</object-name>
- <object-name>WNG-F-Tip-Tank</object-name>
- <object-name>WNG-R-Tip-Tank</object-name>
- <object-name>ENG-L-Nacelle</object-name>
- <object-name>ENG-R-Nacelle</object-name>
- <object-name>EMP-Tail-Plane</object-name>
- <object-name>EMP-L-Elev</object-name>
- <object-name>EMP-R-Elev</object-name>
- <object-name>EMP-Fin</object-name>
- <object-name>EMP-Rudder</object-name>
- <object-name>UC-L-Door</object-name>
- <object-name>UC-LI-Door-Outside</object-name>
- <object-name>UC-RI-Door-Outside</object-name>
- <object-name>UC-R-Door</object-name>
- <object-name>WNG-R-Inner-Flap</object-name>
- <object-name>WNG-L-Inner-Flap</object-name>
- <object-name>WNG-R-Outer-Flap</object-name>
- <object-name>WNG-L-Outer-Flap</object-name>
- <object-name>FUS-LO-Bomb-Door</object-name>
- <object-name>FUS-RO-Bomb-Door</object-name>
- <object-name>UC-RF-Door.002</object-name>
- <object-name>UC-RF-Door.001</object-name>
- <object-name>FUS-Hatch-Outside</object-name>
-
- </animation>
- <!-- ** Control Surfaces ** -->
- <animation>
- <type>rotate</type>
- <object-name>WNG-L-Aileron</object-name>
- <property>surface-positions/left-aileron-pos-norm</property>
- <factor>-25</factor>
- <axis>
- <x1-m>10.143</x1-m> <x2-m>9.315</x2-m>
- <y1-m>-5.7</y1-m> <y2-m>-9.134</y2-m>
- <z1-m>0.502</z1-m> <z2-m>0.881</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>WNG-R-Aileron</object-name>
- <property>surface-positions/right-aileron-pos-norm</property>
- <factor>25</factor>
- <axis>
- <x1-m>10.143</x1-m> <x2-m>9.315</x2-m>
- <y1-m>5.7</y1-m> <y2-m>9.134</y2-m>
- <z1-m>0.502</z1-m> <z2-m>0.881</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>WNG-L-Outer-Flap</object-name>
- <property>surface-positions/left-flap-pos-norm</property>
- <factor>45</factor>
- <axis>
- <x1-m>10.143</x1-m> <x2-m>11.067</x2-m>
- <y1-m>-5.7</y1-m> <y2-m>-3.542</y2-m>
- <z1-m>0.396</z1-m> <z2-m>0.15</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>WNG-L-Inner-Flap</object-name>
- <property>surface-positions/left-flap-pos-norm</property>
- <factor>45</factor>
- <axis>
- <x1-m>11.122</x1-m> <x2-m>11.129</x2-m>
- <y1-m>-2.646</y1-m> <y2-m>-1</y2-m>
- <z1-m>0.098</z1-m> <z2-m>0.012</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>WNG-R-Inner-Flap</object-name>
- <property>surface-positions/right-flap-pos-norm</property>
- <factor>-45</factor>
- <axis>
- <x1-m>11.122</x1-m> <x2-m>11.129</x2-m>
- <y1-m>2.646</y1-m> <y2-m>1</y2-m>
- <z1-m>0.098</z1-m> <z2-m>0.012</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>WNG-R-Outer-Flap</object-name>
- <property>surface-positions/right-flap-pos-norm</property>
- <factor>-45</factor>
- <axis>
- <x1-m>10.143</x1-m> <x2-m>11.067</x2-m>
- <y1-m>5.7</y1-m> <y2-m>3.542</y2-m>
- <z1-m>0.396</z1-m> <z2-m>0.15</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>EMP-L-Elev</object-name>
- <property>surface-positions/left-elevator-pos-norm</property>
- <factor>25</factor>
- <axis>
- <x1-m>18.67</x1-m> <x2-m>18.74</x2-m>
- <y1-m>-3.79</y1-m> <y2-m>-0.56</y2-m>
- <z1-m>1.40</z1-m> <z2-m>0.87</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>EMP-R-Elev</object-name>
- <property>surface-positions/right-elevator-pos-norm</property>
- <factor>-25</factor>
- <axis>
- <x1-m>18.67</x1-m> <x2-m>18.74</x2-m>
- <y1-m>3.79</y1-m> <y2-m>0.56</y2-m>
- <z1-m>1.40</z1-m> <z2-m>0.87</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>EMP-Rudder</object-name>
- <property>surface-positions/rudder-pos-norm</property>
- <factor>-25</factor>
- <axis>
- <x1-m>17.97</x1-m> <x2-m>17.96</x2-m>
- <y1-m>0</y1-m> <y2-m>0</y2-m>
- <z1-m>1.38</z1-m> <z2-m>2.98</z2-m>
- </axis>
- </animation>
- <!--
- <animation>
- <type>translate</type>
- <object-name>WNG- -Spoiler</object-name>
- <property>surface-positions/-spoiler-pos-norm</property>
- <factor>0.18</factor>
- <axis>
- <y></y>
- <z></z>
- </axis>
- </animation>
- -->
- <animation>
- <type>translate</type>
- <object-name>WNG-UL-Spoiler</object-name>
- <property>surface-positions/left-spoiler-pos-norm</property>
- <factor>0.18</factor>
- <axis>
- <x>0.017</x>
- <y>-0.033</y>
- <z>0.191</z>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>WNG-UR-Spoiler</object-name>
- <property>surface-positions/right-spoiler-pos-norm</property>
- <factor>0.18</factor>
- <axis>
- <x>0.017</x>
- <y>0.033</y>
- <z>0.191</z>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>WNG-LL-Spoiler</object-name>
- <property>surface-positions/left-spoiler-pos-norm</property>
- <factor>0.18</factor>
- <axis>
- <x>-0.024</x>
- <y>0.033</y>
- <z>-0.191</z>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>WNG-LR-Spoiler</object-name>
- <property>surface-positions/right-spoiler-pos-norm</property>
- <factor>0.18</factor>
- <axis>
- <x>-0.024</x>
- <y>-0.033</y>
- <z>-0.191</z>
- </axis>
- </animation>
- <!-- ** Misc Body Parts ** -->
- <!-- Canopy-->
- <animation>
- <type>rotate</type>
- <object-name>CP-Canopy</object-name>
- <property>controls/canopy/canopy-pos-norm</property>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.01</ind> <dep>2</dep> </entry>
- <entry> <ind>0.05</ind> <dep>1</dep> </entry>
- <entry> <ind>0.3</ind> <dep>1</dep> </entry>
- <entry> <ind>1</ind> <dep>40</dep> </entry>
- </interpolation>
- <center>
- <x-m>4.93</x-m>
- <z-m>1.44</z-m>
- </center>
- <axis>
- <y>1</y>
- </axis>
- </animation>
- <animation>
- This one is seperate, because it has been sorted for layering
- <type>rotate</type>
- <object-name>CP-R-Glass</object-name>
- <object-name>CP-R-Glassin</object-name>
- <property>controls/canopy/canopy-pos-norm</property>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.01</ind> <dep>2</dep> </entry>
- <entry> <ind>0.05</ind> <dep>1</dep> </entry>
- <entry> <ind>0.3</ind> <dep>1</dep> </entry>
- <entry> <ind>1</ind> <dep>40</dep> </entry>
- </interpolation>
- <center>
- <x-m>4.93</x-m>
- <z-m>1.44</z-m>
- </center>
- <axis>
- <y>1</y>
- </axis>
- </animation>
- <!-- Crew entry hatch -->
- <animation>
- <type>rotate</type>
- <object-name>FUS-Hatch</object-name>
- <property>controls/hatch/hatch-pos-norm</property>
- <factor>100</factor>
- <axis>
- <x1-m>1.992</x1-m> <x2-m>2.457</x2-m>
- <y1-m>0.743</y1-m> <y2-m>0.822</y2-m>
- <z1-m>0.361</z1-m> <z2-m>0.368</z2-m>
- </axis>
- </animation>
- <!-- Bomb bay doors -->
- <animation>
- <type>rotate</type>
- <object-name>FUS-L-Bomb-Door</object-name>
- <property>controls/bb-doors/left-bb-door-pos-norm</property>
- <factor>60</factor>
- <center>
- <y-m>-0.37</y-m>
- <z-m>-0.18</z-m>
- </center>
- <axis>
- <x>-1</x>
- </axis>
- <!--axis>
- <x1-m>11.999</x1-m> <x2-m>5.299</x2-m>
- <y1-m>-0.397</y1-m> <y2-m>-0.427</y2-m>
- <z1-m>-0.293</z1-m> <z2-m>-0.382</z2-m>
- </axis-->
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>FUS-R-Bomb-Door</object-name>
- <property>controls/bb-doors/right-bb-door-pos-norm</property>
- <factor>60</factor>
- <center>
- <y-m>0.37</y-m>
- <z-m>-0.18</z-m>
- </center>
- <axis>
- <x>1</x>
- </axis>
- <!--axis>
- <x1-m>11.999</x1-m> <x2-m>5.299</x2-m>
- <y1-m>0.397</y1-m> <y2-m>0.427</y2-m>
- <z1-m>-0.293</z1-m> <z2-m>-0.382</z2-m>
- </axis-->
- </animation>
- <!-- *** Misc *** -->
- <!-- Bomb Drop -->
- <animation>
- <type>select</type>
- <object-name>RedBeard</object-name>
- <condition>
- <not>
- <property>/ai/submodels/red-beard-released</property>
- </not>
- </condition>
- </animation>
- <!-- ** Landing Gear ** -->
- <animation>
- <type>select</type>
- <object-name>Low-Rez-Gear</object-name>
- <property>/controls/gear/gear-down</property>
- </animation>
- <!-- Nose gear Rolling -->
- <animation>
- <type>spin</type>
- <object-name>UC-Nose-Roll</object-name>
- <property>gear/gear[0]/rollspeed-ms</property>
- <!-- 0.68m * pi * 2 ?? -->
- <!--factor>2.136283</factor-->
- <!--factor>4.272566</factor-->
- <factor>28.086166</factor>
- <center>
- <x-m>4.34</x-m>
- <z-m>-0.29</z-m>
- </center>
- <axis>
- <y>-1</y>
- </axis>
- </animation>
- <!-- Nose Gear Compression -->
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/compression-norm</property>
- <object-name>UC-Nose-Compress</object-name>
- <factor>45</factor>
- <center>
- <x-m>4.2</x-m>
- <z-m>-0.58</z-m>
- </center>
- <axis>
- <y>-1</y>
- </axis>
- </animation>
- <!-- Nose Gear Steering -->
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/steering-norm</property>
- <object-name>UC-Nose-Steer</object-name>
- <factor>60</factor>
- <center>
- <z-m>-0.355</z-m>
- </center>
- <axis>
- <x>1</x>
- </axis>
- </animation>
- <!-- Nose Gear Retraction -->
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/position-norm</property>
- <object-name>UC-Nose-Link</object-name>
- <axis>
- <y>1</y>
- </axis>
- <center>
- <x-m>3.825</x-m>
- <z-m>-0.247</z-m>
- </center>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.166</ind> <dep>-23.3</dep> </entry>
- <entry> <ind>0.333</ind> <dep>-42.6</dep> </entry>
- <entry> <ind>0.499</ind> <dep>-58.6</dep> </entry>
- <entry> <ind>0.666</ind> <dep>-67.4</dep> </entry>
- <entry> <ind>0.832</ind> <dep>-70.9</dep> </entry>
- <entry> <ind>1</ind> <dep>-55</dep> </entry>
- </interpolation>
- </animation>
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/position-norm</property>
- <object-name>UC-Nose-Retract</object-name>
- <axis>
- <y>1</y>
- </axis>
- <center>
- <x-m>3.645</x-m>
- <z-m>-0.46</z-m>
- </center>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.166</ind> <dep>15</dep> </entry>
- <entry> <ind>0.333</ind> <dep>30</dep> </entry>
- <entry> <ind>0.499</ind> <dep>45</dep> </entry>
- <entry> <ind>0.666</ind> <dep>60</dep> </entry>
- <entry> <ind>0.832</ind> <dep>75</dep> </entry>
- <entry> <ind>1</ind> <dep>90</dep> </entry>
- </interpolation>
- </animation>
- <animation>
- <type>shader</type>
- <shader>chrome</shader>
- <texture>chrome2.rgb</texture>
- <object-name>UC-Nose-Piston</object-name>
- </animation>
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/position-norm</property>
- <object-name>UC-Nose-Piston</object-name>
- <axis>
- <y>1</y>
- </axis>
- <center>
- <x-m>3.969</x-m>
- <z-m>-0.005</z-m>
- </center>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.166</ind> <dep>-0.7</dep> </entry>
- <entry> <ind>0.333</ind> <dep>-0.1</dep> </entry>
- <entry> <ind>0.499</ind> <dep>0.3</dep> </entry>
- <entry> <ind>0.666</ind> <dep>0.7</dep> </entry>
- <entry> <ind>0.832</ind> <dep>0.8</dep> </entry>
- <entry> <ind>1</ind> <dep>0.5</dep> </entry>
- </interpolation>
- </animation>
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/position-norm</property>
- <object-name>UC-Nose-DL-Rotate</object-name>
- <axis>
- <y>1</y>
- </axis>
- <center>
- <x-m>4.751</x-m>
- <z-m>0.115</z-m>
- </center>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.166</ind> <dep>-4.1</dep> </entry>
- <entry> <ind>0.333</ind> <dep>-8.1</dep> </entry>
- <entry> <ind>0.499</ind> <dep>-12.8</dep> </entry>
- <entry> <ind>0.666</ind> <dep>-17.8</dep> </entry>
- <entry> <ind>0.832</ind> <dep>-24.2</dep> </entry>
- <entry> <ind>1</ind> <dep>-37.6</dep> </entry>
- </interpolation>
- </animation>
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/position-norm</property>
- <object-name>UC-Nose-Retractor</object-name>
- <axis>
- <y>1</y>
- </axis>
- <center>
- <x-m>4.762</x-m>
- <z-m>-0.269</z-m>
- </center>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.166</ind> <dep>-2.8</dep> </entry>
- <entry> <ind>0.333</ind> <dep>-7.4</dep> </entry>
- <entry> <ind>0.499</ind> <dep>-12.0</dep> </entry>
- <entry> <ind>0.666</ind> <dep>-16.2</dep> </entry>
- <entry> <ind>0.832</ind> <dep>-22.6</dep> </entry>
- <entry> <ind>1</ind> <dep>-37.2</dep> </entry>
- </interpolation>
- </animation>
- <!-- Nose Gear Doors -->
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/position-norm</property>
- <object-name>UC-LF-Door</object-name>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.3</ind> <dep>125</dep> </entry>
- </interpolation>
- <axis>
- <x1-m>4.82</x1-m> <x2-m>3.51</x2-m>
- <y1-m>-0.42</y1-m> <y2-m>-0.4</y2-m>
- <z1-m>-0.65</z1-m> <z2-m>-0.65</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <property>gear/gear[0]/position-norm</property>
- <object-name>UC-RF-Door</object-name>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.3</ind> <dep>-125</dep> </entry>
- </interpolation>
- <axis>
- <x1-m>4.82</x1-m> <x2-m>3.51</x2-m>
- <y1-m>0.42</y1-m> <y2-m>0.4</y2-m>
- <z1-m>-0.65</z1-m> <z2-m>-0.65</z2-m>
- </axis>
- </animation>
- <!-- Left Gear Roll -->
- <animation>
- <type>spin</type>
- <property>gear/gear[1]/rollspeed-ms</property>
- <object-name>UC-Left-Roll</object-name>
- <!-- 60 / (1.06m * pi) -->
- <factor>-18.017541</factor>
- <axis>
- <x1-m>7.517</x1-m> <x2-m>7.731</x2-m>
- <y1-m>-1.686</y1-m> <y2-m>-1.609</y2-m>
- <z1-m>-0.607</z1-m> <z2-m>1.547</z2-m>
- </axis>
- </animation>
- <!-- Left Gear Compression -->
- <animation>
- <type>shader</type>
- <shader>chrome</shader>
- <texture>chrome2.rgb</texture>
- <object-name>UC-Left-Oleo</object-name>
- </animation>
- <animation>
- <type>translate</type>
- <property>gear/gear[1]/compression-norm</property>
- <object-name>UC-Left-Compress</object-name>
- <factor>0.18</factor>
- <axis>
- <y>-1</y>
- <!--x1-m>8.13</x1-m> <x2-m>7.79</x2-m>
- <y1-m>-2.68</y1-m> <y2-m>-1.96</y2-m>
- <z1-m>0.23</z1-m> <z2-m>0.24</z2-m-->
- </axis>
- </animation>
- <!-- Left Gear Retraction -->
- <animation>
- <type>rotate</type>
- <property>gear/gear[1]/position-norm</property>
- <object-name>UC-Left-Retract</object-name>
- <interpolation>
- <entry> <ind>0.05</ind> <dep>0</dep> </entry>
- <entry> <ind>1</ind> <dep>-90.9</dep> </entry>
- </interpolation>
- <axis>
- <x1-m>7.59</x1-m> <x2-m>8.64</x2-m>
- <y1-m>-2.83</y1-m> <y2-m>-2.59</y2-m>
- <z1-m>0.09</z1-m> <z2-m>0.22</z2-m>
- </axis>
- </animation>
- <!-- Left Gear Doors -->
- <animation>
- <type>rotate</type>
- <property>gear/gear[1]/position-norm</property>
- <object-name>UC-LI-Door</object-name>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.25</ind> <dep>-90</dep> </entry>
- </interpolation>
- <axis>
- <x1-m>8.00</x1-m> <x2-m>7.34</x2-m>
- <y1-m>-1.00</y1-m> <y2-m>-1.00</y2-m>
- <z1-m>0.02</z1-m> <z2-m>0.09</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <property>gear/gear[1]/position-norm</property>
- <object-name>UC-LO-Door</object-name>
- <interpolation>
- <entry> <ind>0.05</ind> <dep>0</dep> </entry>
- <entry> <ind>1</ind> <dep>130</dep> </entry>
- </interpolation>
- <axis>
- <x1-m>8.385</x1-m> <x2-m>7.933</x2-m>
- <y1-m>-2.910</y1-m> <y2-m>-2.919</y2-m>
- <z1-m>-0.076</z1-m> <z2-m>-0.067</z2-m>
- </axis>
- </animation>
- <!-- Right Gear Roll -->
- <animation>
- <type>spin</type>
- <property>gear/gear[2]/rollspeed-ms</property>
- <object-name>UC-Right-Roll</object-name>
- <!-- 60 / (1.06m * pi) -->
- <factor>18.017541</factor>
- <axis>
- <x1-m>7.507</x1-m> <x2-m>7.731</x2-m>
- <y1-m>1.686</y1-m> <y2-m>1.609</y2-m>
- <z1-m>-0.607</z1-m> <z2-m>1.546</z2-m>
- </axis>
- </animation>
- <!-- Right Gear Compression -->
- <animation>
- <type>shader</type>
- <shader>chrome</shader>
- <texture>chrome2.rgb</texture>
- <object-name>UC-Right-Oleo</object-name>
- </animation>
- <animation>
- <type>translate</type>
- <property>gear/gear[2]/compression-norm</property>
- <object-name>UC-Right-Compress</object-name>
- <factor>0.18</factor>
- <axis>
- <y>1</y>
- <!--x1-m>8.13</x1-m> <x2-m>7.79</x2-m>
- <y1-m>-2.68</y1-m> <y2-m>1.96</y2-m>
- <z1-m>0.23</z1-m> <z2-m>0.24</z2-m-->
- </axis>
- </animation>
- <!-- Right Gear Retraction -->
- <animation>
- <type>rotate</type>
- <property>gear/gear[2]/position-norm</property>
- <object-name>UC-Right-Retract</object-name>
- <interpolation>
- <entry> <ind>0.05</ind> <dep>0</dep> </entry>
- <entry> <ind>1</ind> <dep>90.9</dep> </entry>
- </interpolation>
- <axis>
- <x1-m>7.59</x1-m> <x2-m>8.64</x2-m>
- <y1-m>2.83</y1-m> <y2-m>2.59</y2-m>
- <z1-m>0.09</z1-m> <z2-m>0.22</z2-m>
- </axis>
- </animation>
- <!-- Right Gear Doors -->
- <animation>
- <type>rotate</type>
- <property>gear/gear[2]/position-norm</property>
- <object-name>UC-RI-Door</object-name>
- <interpolation>
- <entry> <ind>0</ind> <dep>0</dep> </entry>
- <entry> <ind>0.25</ind> <dep>90</dep> </entry>
- </interpolation>
- <axis>
- <x1-m>8.00</x1-m> <x2-m>7.34</x2-m>
- <y1-m>1.00</y1-m> <y2-m>1.00</y2-m>
- <z1-m>0.02</z1-m> <z2-m>0.09</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <property>gear/gear[2]/position-norm</property>
- <object-name>UC-RO-Door</object-name>
- <interpolation>
- <entry> <ind>0.05</ind> <dep>0</dep> </entry>
- <entry> <ind>1</ind> <dep>-130</dep> </entry>
- </interpolation>
- <axis>
- <x1-m>8.385</x1-m> <x2-m>7.933</x2-m>
- <y1-m>2.910</y1-m> <y2-m>2.919</y2-m>
- <z1-m>-0.076</z1-m> <z2-m>-0.067</z2-m>
- </axis>
- </animation>
- <!-- FGUK added effects -->
- <!-- LIGHTS -->
- <model>
- <path>Aircraft/CanberraBI8/Models/Lights/LightPack.xml</path>
- <offsets>
- <x-m>0</x-m>
- <y-m> 0</y-m>
- <z-m>0</z-m>
- </offsets>
- </model>
- <!--
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/beacon.xml</path>
- <offsets>
- <x-m>13.15</x-m>
- <y-m> 0</y-m>
- <z-m> 1.35</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/beacon.xml</path>
- <offsets>
- <x-m>13.7</x-m>
- <y-m> 0</y-m>
- <z-m> -0.6</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/GreenLight.xml</path>
- <offsets>
- <x-m> 19.5</x-m>
- <y-m> 0</y-m>
- <z-m> 1.3</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/RedLight.xml</path>
- <offsets>
- <x-m> 7.75 </x-m>
- <y-m> -9.51 </y-m>
- <z-m> 1.0</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/GreenLight.xml</path>
- <offsets>
- <x-m> 7.75 </x-m>
- <y-m> 9.51 </y-m>
- <z-m> 1.0</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/StrobeWhite.xml</path>
- <offsets>
- <x-m> 7.6 </x-m>
- <y-m> -9.3 </y-m>
- <z-m> 1.0</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/StrobeWhite.xml</path>
- <offsets>
- <x-m> 7.6 </x-m>
- <y-m> 9.3 </y-m>
- <z-m> 1.0</z-m>
- </offsets>
- </model>
- -->
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/smoke/smokeL.xml</path>
- <offsets>
- <x-m> 11.7 </x-m>
- <y-m> -3.0</y-m>
- <z-m> -0.2</z-m>
- </offsets>
- </model>
-
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/smoke/smokeR.xml</path>
- <offsets>
- <x-m> 11.7</x-m>
- <y-m> 3.0</y-m>
- <z-m> -0.2</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/trail/trailL.xml</path>
- <offsets>
- <x-m> 11.7 </x-m>
- <y-m> -3.0</y-m>
- <z-m> 0</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/trail/trailR.xml</path>
- <offsets>
- <x-m> 11.7</x-m>
- <y-m> 3.0</y-m>
- <z-m> 0</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/tiptrail/tiptrail.xml</path>
- <offsets>
- <x-m> 7.6 </x-m>
- <y-m> 9.3 </y-m>
- <z-m> 1.0</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/tiptrail/tiptrail.xml</path>
- <offsets>
- <x-m> 7.6 </x-m>
- <y-m> -9.3 </y-m>
- <z-m> 1.0</z-m>
- </offsets>
- </model>
- <!-- Interior -->
- <model>
- <path>Aircraft/CanberraBI8/Models/Interior/interior.xml</path>
- <offsets>
- <x-m> 0 </x-m>
- <y-m> 0 </y-m>
- <z-m> 0 </z-m>
- </offsets>
- </model>
-
- <!-- aircraft wash modeled in the lines below -->
- <model>
- <name>aircraft_wash_l</name>
- <path>Aircraft/CanberraBI8/Models/wash/aircraft_wash.xml</path>
- <condition>
- <equals>
- <property>controls/state/low_level</property>
- <value>1</value>
- </equals>
- </condition>
- <offsets>
- <x-m> 25.00 </x-m>
- <y-m> 4.50 </y-m>
- <z-m> 0.00 </z-m>
- <pitch-deg> 0 </pitch-deg>
- </offsets>
- </model>
-
- <model>
- <name>aircraft_wash_r</name>
- <path>Aircraft/CanberraBI8/Models/wash/aircraft_wash.xml</path>
- <condition>
- <equals>
- <property>controls/state/low_level</property>
- <value>1</value>
- </equals>
- </condition>
- <offsets>
- <x-m> 25.00 </x-m>
- <y-m> -4.50 </y-m>
- <z-m> 0.00 </z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- </model>
-
- <animation>
- <type>translate</type>
- <object-name>aircraft_wash_l</object-name>
- <object-name>aircraft_wash_r</object-name>
- <property>position/altitude-agl-ft</property>
- <condition>
- <equals>
- <property>controls/state/low_level</property>
- <value>1</value>
- </equals>
- </condition>
- <interpolation>
- <entry><ind> 0 </ind><dep> 0 </dep></entry>
- <entry><ind> 300 </ind><dep> -90 </dep></entry>
- </interpolation>
- <axis>
- <x> -1 </x>
- <y> 0 </y>
- <z> 1 </z>
- </axis>
- </animation>
-
- <!-- Taxi light cone
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/light-cone.xml</path>
- <name>NoseGearLandinglightL</name>
- <offsets>
- <x-m> 7.6 </x-m>
- <y-m> -9.1 </y-m>
- <z-m> 1.0</z-m>
- <pitch-deg> -10 </pitch-deg>
- <heading-deg>0 </heading-deg>
- </offsets>
- </model>
- <model>
- <path>Aircraft/CanberraBI8/Models/lights/light-cone.xml</path>
- <name>NoseGearLandinglightR</name>
- <offsets>
- <x-m> 7.6 </x-m>
- <y-m> 9.1 </y-m>
- <z-m> 1.0</z-m>
- <pitch-deg> -10 </pitch-deg>
- <heading-deg> 0 </heading-deg>
- </offsets>
- </model> -->
-
-
- <!-- pilot -->
- <model>
- <path>Aircraft/CanberraBI8/Models/pilot/Pilot.xml</path>
- <offsets>
- <x-m> 3.85 </x-m>
- <y-m> -0.22 </y-m>
- <z-m> 0.9 </z-m>
- </offsets>
- </model>
-
- <!-- pilot invisible from internally -->
- <animation>
- <type>select</type>
- <object-name>pilot</object-name>
- <condition>
- <not>
- <property>sim/current-view/internal</property>
- </not>
- </condition>
- </animation>
-
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/Vapour/Vapour.xml</path>
- <offsets>
- <x-m>7.5</x-m>
- <y-m>-1.0</y-m>
- <z-m>0.9</z-m>
- <roll-deg>0</roll-deg>
- <pitch-deg>0</pitch-deg>
- <heading-deg>-25</heading-deg>
- </offsets>
- </model>
-
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/Vapour/Vapour.xml</path>
- <offsets>
- <x-m>7.5</x-m>
- <y-m>1.0</y-m>
- <z-m>0.9</z-m>
- <roll-deg>0</roll-deg>
- <pitch-deg>0</pitch-deg>
- <heading-deg>25</heading-deg>
- </offsets>
- </model>
-
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/Vapour/Vapour2.xml</path>
- <offsets>
- <x-m>8.5</x-m>
- <y-m>-5</y-m>
- <z-m>0.9</z-m>
- <roll-deg>0</roll-deg>
- <pitch-deg>0</pitch-deg>
- <heading-deg>45</heading-deg>
- </offsets>
- </model>
-
- <model>
- <path>Aircraft/CanberraBI8/Models/Effects/Vapour/Vapour2.xml</path>
- <offsets>
- <x-m>8.5</x-m>
- <y-m>5</y-m>
- <z-m>0.9</z-m>
- <roll-deg>0</roll-deg>
- <pitch-deg>0</pitch-deg>
- <heading-deg>-45</heading-deg>
- </offsets>
- </model>
-
- </PropertyList>
|