123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520 |
- <!-- A wrapper file for the FGR.2 3D model REMBRANDT VERSION -->
- <PropertyList>
- <path>FGR2.ac</path>
-
- <animation>
- <type>range</type>
- <min-m>0</min-m>
- <max-m>30000</max-m>
- </animation>
-
- <!-- MP sound call -->
- <sound><path>Aircraft/FGR-2/Sounds/mp-sound.xml</path></sound>
-
- <!-- Skin switching code -->
- <nasal>
- <load>
- var livery_update = aircraft.livery_update.new("Aircraft/FGR-2/Models/liveries", 30);
-
- var self = cmdarg();
-
- var aliases = [];
- for (var i = 0; i < 6; i += 1) {
- var door = self.getNode("sim/model/bo105/doors/door[" ~ i ~ "]/position-norm", 1);
- var generic = self.getNode("sim/multiplay/generic/float[" ~ i ~ "]", 1);
- door.alias(generic);
- append(aliases, door);
-
- }
-
- <![CDATA[
- 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";
- var searchSwitch = mpPath~"controls/lighting/search-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 or propOut==nil) return m;
- m.value = getprop(propIn);
- setprop(propOut, m.value);
- return m;
- },
- check: func {
- if(me.propIn==nil or me.propOut==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[2]", landingSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[3]", taxiSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[3]", probeSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[0]", whiteSwitch),
- mpVar.new(mpPath~"sim/multiplay/generic/int[8]", searchSwitch),
- ];
- #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");
- fadeLanding = lightFadeInOut.new(searchSwitch, lightsPath~"search-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>
- #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>
- <!-- *********************livery selection **********************-->
- <!-- MidFuselageSides -->
- <animation>
- <type>material</type>
- <object-name>MidFuselageSides</object-name>
- <object-name>PortCoolingDoorOutside</object-name>
- <object-name>StarCoolingDoorOutside</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>MidFuselageSides</texture-prop>
- <texture>F2L_T.jpg</texture>
- </animation>
- <!-- FrontFuselageSides -->
- <animation>
- <type>material</type>
- <object-name>FrontFuselageSides</object-name>
- <object-name>OuterFuelDoor</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>FrontFuselageSides</texture-prop>
- <texture>F1L_T.jpg</texture>
- </animation>
- <!-- MidFuselageTop -->
- <animation>
- <type>material</type>
- <object-name>MidFuselageTop</object-name>
- <object-name>PortBellyCoolingDoor</object-name>
- <object-name>StarBellyCoolingDoor</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>MidFuselageTop</texture-prop>
- <texture>F2B_T.jpg</texture>
- </animation>
- <!-- FrontFuselageTop -->
- <animation>
- <type>material</type>
- <object-name>FrontFuselageTop</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>FrontFuselageTop</texture-prop>
- <texture>F1B_T.jpg</texture>
- </animation>
- <!-- RearFuselage -->
- <animation>
- <type>material</type>
- <object-name>RearFuselage</object-name>
- <object-name>FrontCanopyFrame</object-name>
- <object-name>RearCanopyFrame</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>RearFuselage</texture-prop>
- <texture>F3L_T.jpg</texture>
- </animation>
- <!-- VertStabRoot -->
- <animation>
- <type>material</type>
- <object-name>VertStabRoot</object-name>
- <object-name>PortPeriscope</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>VertStabRoot</texture-prop>
- <texture>f3b_T.jpg</texture>
- </animation>
- <!-- PortVertStab -->
- <animation>
- <type>material</type>
- <object-name>PortVertStab</object-name>
- <object-name>PortRudder</object-name>
- <object-name>PortElevator</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>PortVertStab</texture-prop>
- <texture>TEX1_T.jpg</texture>
- </animation>
- <!-- StarVertStab -->
- <animation>
- <type>material</type>
- <object-name>StarVertStab</object-name>
- <object-name>StarRudder</object-name>
- <object-name>StarElevator</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>StarVertStab</texture-prop>
- <texture>TEX3_T.jpg</texture>
- </animation>
- <!-- PortWingTop -->
- <animation>
- <type>material</type>
- <object-name>PortWingTop</object-name>
- <object-name>PortWingTipTop</object-name>
- <object-name>PortFlapTop</object-name>
- <object-name>PortAileronTop</object-name>
- <object-name>PortOuterSlatTop</object-name>
- <object-name>PortInnerSlatTop</object-name>
- <object-name>PortSpoilerTop</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>PortWingTop</texture-prop>
- <texture>LEFT WING_T.jpg</texture>
- </animation>
- <!-- StarWingTop -->
- <animation>
- <type>material</type>
- <object-name>StarWingTop</object-name>
- <object-name>StarWingTipTop</object-name>
- <object-name>StarFlapTop</object-name>
- <object-name>StarAileronTop</object-name>
- <object-name>StarOuterSlatTop</object-name>
- <object-name>StarInnerSlatTop</object-name>
- <object-name>StarSpoilerTop</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>StarWingTop</texture-prop>
- <texture>RIGHT WING_T.jpg</texture>
- </animation>
- <!-- PortWingBottom -->
- <animation>
- <type>material</type>
- <object-name>PortWingBottom</object-name>
- <object-name>PortWingTipBottom</object-name>
- <object-name>PortFlapBottom</object-name>
- <object-name>PortAileronBottom</object-name>
- <object-name>PortGearDoor</object-name>
- <object-name>PortOuterGearDoorOutside</object-name>
- <object-name>PortSpeedBrakeBottom</object-name>
- <object-name>PortInnerSlatBottom</object-name>
- <object-name>PortOuterSlatBottom</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>PortWingBottom</texture-prop>
- <texture>LEFT WING BOTTOM_T.jpg</texture>
- </animation>
- <!-- StarWingBottom -->
- <animation>
- <type>material</type>
- <object-name>StarWingBottom</object-name>
- <object-name>StarWingTipBottom</object-name>
- <object-name>StarFlapBottom</object-name>
- <object-name>StarAileronBottom</object-name>
- <object-name>StarGearDoor</object-name>
- <object-name>StarOuterGearDoorOutside</object-name>
- <object-name>StarSpeedBrakeBottom</object-name>
- <object-name>StarInnerSlatBottom</object-name>
- <object-name>StarOuterSlatBottom</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>StarWingBottom</texture-prop>
- <texture>RIGHT WING BOTTOM_T.jpg</texture>
- </animation>
- <!-- Gears -->
- <animation>
- <type>material</type>
- <object-name>PortOuterGearDoorOutside</object-name>
- <object-name>StarOuterGearDoorOutside</object-name>
- <object-name>PortInnerGearDoor</object-name>
- <object-name>StarInnerGearDoor</object-name>
- <object-name>RearNoseDoor</object-name>
- <object-name>FrontNoseDoor</object-name>
- <property-base>sim/model/livery</property-base>
- <texture-prop>Gears</texture-prop>
- <texture>GEAR_T.jpg</texture>
- </animation>
-
-
-
- <!-- Transparent Surfaces for Rembrandt rendering -->
-
- <animation>
- <type>shader</type>
- <shader>chrome</shader>
- <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
- <object-name>HUDGlass</object-name>
-
- </animation>
-
- <effect>
- <inherits-from>Aircraft/FGR-2/Models/Effects/reflect-uber</inherits-from>
- <object-name>PortOuterGearDoorOutside</object-name>
- <object-name>StarOuterGearDoorOutside</object-name>
- <object-name>PortInnerGearDoor</object-name>
- <object-name>StarInnerGearDoor</object-name>
- <object-name>RearNoseDoor</object-name>
- <object-name>FrontNoseDoor</object-name>
- <object-name>PortWingBottom</object-name>
- <object-name>PortWingTipBottom</object-name>
- <object-name>PortFlapBottom</object-name>
- <object-name>PortAileronBottom</object-name>
- <object-name>PortGearDoor</object-name>
- <object-name>PortOuterGearDoorOutside</object-name>
- <object-name>PortSpeedBrakeBottom</object-name>
- <object-name>PortInnerSlatBottom</object-name>
- <object-name>PortOuterSlatBottom</object-name>
- <object-name>StarWingBottom</object-name>
- <object-name>StarWingTipBottom</object-name>
- <object-name>StarFlapBottom</object-name>
- <object-name>StarAileronBottom</object-name>
- <object-name>StarGearDoor</object-name>
- <object-name>StarOuterGearDoorOutside</object-name>
- <object-name>StarSpeedBrakeBottom</object-name>
- <object-name>StarInnerSlatBottom</object-name>
- <object-name>StarOuterSlatBottom</object-name>
- <object-name>StarWingTop</object-name>
- <object-name>StarWingTipTop</object-name>
- <object-name>StarFlapTop</object-name>
- <object-name>StarAileronTop</object-name>
- <object-name>StarOuterSlatTop</object-name>
- <object-name>StarInnerSlatTop</object-name>
- <object-name>StarSpoilerTop</object-name>
- <object-name>PortWingTop</object-name>
- <object-name>PortWingTipTop</object-name>
- <object-name>PortFlapTop</object-name>
- <object-name>PortAileronTop</object-name>
- <object-name>PortOuterSlatTop</object-name>
- <object-name>PortInnerSlatTop</object-name>
- <object-name>PortSpoilerTop</object-name>
- <object-name>StarVertStab</object-name>
- <object-name>StarRudder</object-name>
- <object-name>StarElevator</object-name>
- <object-name>PortVertStab</object-name>
- <object-name>PortRudder</object-name>
- <object-name>PortElevator</object-name>
- <object-name>VertStabRoot</object-name>
- <object-name>PortPeriscope</object-name>
- <object-name>RearFuselage</object-name>
- <object-name>FrontCanopyFrame</object-name>
- <object-name>RearCanopyFrame</object-name>
- <object-name>FrontFuselageTop</object-name>
- <object-name>MidFuselageTop</object-name>
- <object-name>PortBellyCoolingDoor</object-name>
- <object-name>StarBellyCoolingDoor</object-name>
- <object-name>FrontFuselageSides</object-name>
- <object-name>OuterFuelDoor</object-name>
- <object-name>MidFuselageSides</object-name>
- <object-name>PortCoolingDoorOutside</object-name>
- <object-name>StarCoolingDoorOutside</object-name>
- </effect>
-
-
- <!-- ALS mirror reflecton -->
- <effect>
- <inherits-from>Aircraft/FGR-2/Models/Effects/mirror/mirror</inherits-from>
- <object-name>retro.001</object-name>
- <object-name>retro</object-name>
- <object-name>retro.002</object-name>
- <object-name>retro.004</object-name>
- <object-name>retro.005</object-name>
-
- </effect>
-
-
- <effect>
- <inherits-from>Aircraft/FGR-2/Models/Effects/bk117reflectglas-uber</inherits-from>
- <object-name>FrontCanopyGlass</object-name>
- <object-name>RearCanopyGlass</object-name>
- <object-name>CenterWindscreenGlass</object-name>
- <object-name>WindscreenGlass</object-name>
- <object-name>StarSideGlass</object-name>
- </effect>
-
- <animation>
- <type>select</type>
- <object-name>FrontCanopyGlass</object-name>
- <object-name>RearCanopyGlass</object-name>
- <object-name>CenterWindscreenGlass</object-name>
- <object-name>WindscreenGlass</object-name>
- <object-name>StarSideGlass</object-name>
- <condition>
-
- <equals>
- <property>sim/current-view/internal</property>
- <value>false</value>
- </equals>
-
- </condition>
- </animation>
-
-
- <effect>
- <inherits-from>Effects/glass</inherits-from>
- <object-name>FrontCanopyGlassin</object-name>
- <object-name>RearCanopyGlassin</object-name>
- <object-name>CenterWindscreenGlassin</object-name>
- <object-name>WindscreenGlassin</object-name>
- <object-name>StarSideGlassin</object-name>
- </effect>
-
- <animation>
- <type>select</type>
- <object-name>FrontCanopyGlassin</object-name>
- <object-name>RearCanopyGlassin</object-name>
- <object-name>CenterWindscreenGlassin</object-name>
- <object-name>WindscreenGlassin</object-name>
- <object-name>StarSideGlassin</object-name>
- <condition>
- <equals>
- <property>sim/current-view/internal</property>
- <value>true</value>
- </equals>
-
- </condition>
- </animation>
-
-
- <!-- ******************** instruments ******************* -->
- <model>
- <path>Aircraft/FGR-2/Models/interior.xml</path>
- <offsets>
- <x-m>0</x-m>
- <y-m>0</y-m>
- <z-m>0</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- </model>
-
- <!-- ********************** stores **********************
- <model>
- <path>Aircraft/FGR-2/Models/Stores/loads.xml</path>
- <offsets>
- <x-m></x-m>
- <y-m></y-m>
- <z-m></z-m>
- </offsets>
- </model>-->
- <!-- ********************** effects **********************-->
-
- <model>
- <path>Aircraft/FGR-2/Models/Effects/tiptrail/tiptrail.xml</path>
- <offsets>
- <x-m>3.9</x-m>
- <y-m>-6.3</y-m>
- <z-m>0.3</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- </model>
- <model>
- <path>Aircraft/FGR-2/Models/Effects/tiptrail/tiptrail.xml</path>
- <offsets>
- <x-m>3.9</x-m>
- <y-m>6.3</y-m>
- <z-m>0.3</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- </model>
-
- <!-- ******************** Gear Animations ******************** -->
- <!-- Gear Animations -->
- <!-- De-select non-visibile parts when retracted -->
- <animation>
- <type>select</type>
- <object-name>PortUpperStrut</object-name>
- <object-name>StarUpperStrut</object-name>
- <object-name>PortLowerStrut</object-name>
- <object-name>StarLowerStrut</object-name>
- <condition>
- <greater-than>
- <property>gear/gear[1]/position-norm</property>
- <value>0.1</value>
- </greater-than>
- </condition>
- </animation>
- <!-- Port Gear -->
- <animation>
- <type>rotate</type>
- <object-name>PortActuator2Mount</object-name>
- <object-name>PortLowerActuator</object-name>
- <object-name>PortUpperStrut</object-name>
- <object-name>PortLowerSpring</object-name>
- <object-name>PortUpperSpring</object-name>
- <object-name>PortMidStrut</object-name>
- <object-name>PortLowerStrut</object-name>
- <object-name>PortTireAxle</object-name>
- <object-name>PortWheel</object-name>
- <object-name>PortTire</object-name>
- <object-name>PortLowerSpringBlock</object-name>
- <object-name>PortLowerActuator2</object-name>
- <object-name>PortUpperActuator2</object-name>
- <object-name>PortUpperActuator</object-name>
- <object-name>PortLowerActuator</object-name>
- <object-name>PortUpperCouplers</object-name>
- <property>gear/gear[0]/position-norm</property>
- <interpolation>
- <entry><ind> 0 </ind><dep>-96</dep></entry>
- <entry><ind> 1 </ind><dep> 0 </dep></entry>
- </interpolation>
- <center>
- <x-m>0.665</x-m>
- <y-m>-2.693</y-m>
- <z-m>-0.196</z-m>
- </center>
- <axis>
- <x>-1</x>
- <y>-0.295</y>
- <z>-0.295</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>PortLowerActuator2</object-name>
- <object-name>PortUpperActuator2</object-name>
- <property>gear/gear[0]/position-norm</property>
- <interpolation>
- <entry><ind> 0 </ind><dep>-115</dep></entry>
- <entry><ind> 1 </ind><dep> 0 </dep></entry>
- </interpolation>
- <center>
- <x-m>0.587</x-m>
- <y-m>-2.699</y-m>
- <z-m>-0.491</z-m>
- </center>
- <axis>
- <x>1</x>
- <y>0</y>
- <z>0.10</z>
- </axis>
- </animation>
- <!-- Star Gear -->
- <animation>
- <type>rotate</type>
- <object-name>StarActuator2Mount</object-name>
- <object-name>StarLowerActuator</object-name>
- <object-name>StarUpperStrut</object-name>
- <object-name>StarLowerSpring</object-name>
- <object-name>StarUpperSpring</object-name>
- <object-name>StarMidStrut</object-name>
- <object-name>StarLowerStrut</object-name>
- <object-name>StarTireAxle</object-name>
- <object-name>StarWheel</object-name>
- <object-name>StarTire</object-name>
- <object-name>StarLowerSpringBlock</object-name>
- <object-name>StarLowerActuator2</object-name>
- <object-name>StarUpperActuator2</object-name>
- <object-name>StarUpperActuator</object-name>
- <object-name>StarLowerActuator</object-name>
- <object-name>StarUpperCouplers</object-name>
- <property>gear/gear[1]/position-norm</property>
- <interpolation>
- <entry><ind> 0 </ind><dep>-96</dep></entry>
- <entry><ind> 1 </ind><dep> 0 </dep></entry>
- </interpolation>
- <center>
- <x-m>0.665</x-m>
- <y-m>2.693</y-m>
- <z-m>-0.196</z-m>
- </center>
- <axis>
- <x>1</x>
- <y>-0.295</y>
- <z>0.295</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarLowerActuator2</object-name>
- <object-name>StarUpperActuator2</object-name>
- <property>gear/gear[1]/position-norm</property>
- <interpolation>
- <entry><ind> 0 </ind><dep>115</dep></entry>
- <entry><ind> 1 </ind><dep> 0 </dep></entry>
- </interpolation>
- <center>
- <x-m>0.587</x-m>
- <y-m>2.699</y-m>
- <z-m>-0.491</z-m>
- </center>
- <axis>
- <x>1</x>
- <y>0</y>
- <z>0.10</z>
- </axis>
- </animation>
- <!-- Nose Gear -->
- <animation>
- <type>rotate</type>
- <object-name>NoseUpperStrut</object-name>
- <object-name>NoseActuatorMount</object-name>
- <object-name>NoseHosesandBlock</object-name>
- <object-name>NoseLowerActuator</object-name>
- <object-name>NoseUpperActuator</object-name>
- <object-name>NoseLowerStrut</object-name>
- <object-name>NoseAxlePlus</object-name>
- <object-name>NoseUpperSpring</object-name>
- <object-name>NoseGearCollar</object-name>
- <object-name>NoseLowerSpring</object-name>
- <object-name>StarNoseWheel</object-name>
- <object-name>PortNoseWheel</object-name>
- <object-name>NoseWheelMount</object-name>
- <object-name>UpperSpringMount</object-name>
- <property>gear/gear[2]/position-norm</property>
- <interpolation>
- <entry><ind> 0 </ind><dep>98</dep></entry>
- <entry><ind> 1 </ind><dep> 0 </dep></entry>
- </interpolation>
- <center>
- <x-m>-6.486</x-m>
- <y-m>0.0</y-m>
- <z-m>0.049</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>-1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>NoseLowerActuator</object-name>
- <object-name>NoseUpperActuator</object-name>
- <property>gear/gear[2]/position-norm</property>
- <interpolation>
- <entry><ind> 0 </ind><dep>105</dep></entry>
- <entry><ind> 1 </ind><dep> 0 </dep></entry>
- </interpolation>
- <center>
- <x-m>-6.469</x-m>
- <y-m>0.0</y-m>
- <z-m>-0.598</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>NoseLowerStrut</object-name>
- <object-name>NoseAxlePlus</object-name>
- <object-name>NoseUpperSpring</object-name>
- <object-name>NoseGearCollar</object-name>
- <object-name>NoseLowerSpring</object-name>
- <object-name>StarNoseWheel</object-name>
- <object-name>PortNoseWheel</object-name>
- <object-name>PortWheelMount</object-name>
- <property>surface-positions/rudder-pos-norm</property>
- <offset-deg>0</offset-deg>
- <factor>-45</factor>
- <axis>
- <x1-m>-6.479</x1-m>
- <y1-m>0</y1-m>
- <z1-m>-1.077</z1-m>
- <x2-m>-6.479</x2-m>
- <y2-m>0</y2-m>
- <z2-m>-1.435</z2-m>
- </axis>
- </animation>
- <!-- Nose Gear Door Animations -->
- <animation>
- <type>rotate</type>
- <object-name>FrontNoseDoor</object-name>
- <object-name>FrontNoseDoorFrame</object-name>
- <object-name>GearDoorActuator</object-name>
- <object-name>FrontNoseDoorFrame</object-name>
- <object-name>NoseAntenna</object-name>
- <object-name>LandingLightCenter</object-name>
- <property>gear/gear[2]/position-norm</property>
- <interpolation>
- <entry><ind> 0 </ind><dep>103</dep></entry>
- <entry><ind> 1 </ind><dep> 0 </dep></entry>
- </interpolation>
- <center>
- <x-m>-6.701</x-m>
- <y-m>0.0</y-m>
- <z-m>-0.245</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>-1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>GearDoorActuator</object-name>
- <property>gear/gear[2]/position-norm</property>
- <interpolation>
- <entry><ind> 0 </ind><dep>103</dep></entry>
- <entry><ind> 1 </ind><dep> 0 </dep></entry>
- </interpolation>
- <center>
- <x-m>-6.766</x-m>
- <y-m>0.0</y-m>
- <z-m>-0.860</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>RearNoseDoor</object-name>
- <object-name>RearNoseDoorFrame</object-name>
- <property>gear/gear[2]/position-norm</property>
- <interpolation>
- <entry><ind> 0.0 </ind><dep> 0 </dep></entry>
- <entry><ind> 0.2 </ind><dep> -95 </dep></entry>
- <entry><ind> 1.0 </ind><dep> -95 </dep></entry>
- </interpolation>
- <axis>
- <x1-m>-4.411</x1-m>
- <y1-m>0.266</y1-m>
- <z1-m>-0.185</z1-m>
- <x2-m>-5.932</x2-m>
- <y2-m>0.273</y2-m>
- <z2-m>-0.193</z2-m>
- </axis>
- </animation>
-
- <!-- Port Door Animations -->
- <animation>
- <type>rotate</type>
- <object-name>PortGearDoor</object-name>
- <object-name>PortGearDoorInside</object-name>
- <object-name>PortGearDoorFrame</object-name>
- <property>gear/gear[0]/position-norm</property>
- <interpolation>
- <entry>
- <ind>0.0</ind>
- <dep>0.0</dep>
- </entry>
- <entry>
- <ind>20.0</ind>
- <dep>99</dep>
- </entry>
- <entry>
- <ind>1.00</ind>
- <dep>99</dep>
- </entry>
- <entry>
- <ind>1</ind>
- <dep>99</dep>
- </entry>
- </interpolation>
- <center>
- <x-m>0.665</x-m>
- <y-m>-2.693</y-m>
- <z-m>-0.196</z-m>
- </center>
- <axis>
- <x>-1</x>
- <y>-0.295</y>
- <z>-0.295</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarGearDoor</object-name>
- <object-name>StarGearDoorInside</object-name>
- <object-name>StarGearDoorFrame</object-name>
- <property>gear/gear[0]/position-norm</property>
- <interpolation>
- <entry>
- <ind>0.0</ind>
- <dep>0.0</dep>
- </entry>
- <entry>
- <ind>20.0</ind>
- <dep>99</dep>
- </entry>
- <entry>
- <ind>1.00</ind>
- <dep>99</dep>
- </entry>
- <entry>
- <ind>1</ind>
- <dep>99</dep>
- </entry>
- </interpolation>
- <center>
- <x-m>0.665</x-m>
- <y-m>2.693</y-m>
- <z-m>-0.196</z-m>
- </center>
- <axis>
- <x>1</x>
- <y>-0.295</y>
- <z>0.295</z>
- </axis>
- </animation>
- <!-- Inside Gear Door Animation -->
- <animation>
- <type>rotate</type>
- <object-name>PortInnerGearDoor</object-name>
- <object-name>PortInnerGearDoorFrame</object-name>
- <property>gear/gear[0]/position-norm</property>
- <interpolation>
- <entry>
- <ind>0.0</ind>
- <dep>0.0</dep>
- </entry>
- <entry>
- <ind>0.1</ind>
- <dep>92.0</dep>
- </entry>
- <entry>
- <ind>0.75</ind>
- <dep>92.0</dep>
- </entry>
- <entry>
- <ind>1.0</ind>
- <dep>92.0</dep>
- </entry>
- </interpolation>
- <axis>
- <x1-m>-0.474</x1-m>
- <y1-m>-1.100</y1-m>
- <z1-m>-0.276</z1-m>
- <x2-m>0.222</x2-m>
- <y2-m>-1.105</y2-m>
- <z2-m>-0.334</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarInnerGearDoor</object-name>
- <object-name>StarInnerGearDoorFrame</object-name>
- <property>gear/gear[1]/position-norm</property>
- <interpolation>
- <entry>
- <ind>0.0</ind>
- <dep>0.0</dep>
- </entry>
- <entry>
- <ind>0.1</ind>
- <dep>-92.0</dep>
- </entry>
- <entry>
- <ind>0.75</ind>
- <dep>-92.0</dep>
- </entry>
- <entry>
- <ind>1.0</ind>
- <dep>-92.0</dep>
- </entry>
- </interpolation>
- <axis>
- <x1-m>-0.474</x1-m>
- <y1-m>1.100</y1-m>
- <z1-m>-0.276</z1-m>
- <x2-m>0.222</x2-m>
- <y2-m>1.105</y2-m>
- <z2-m>-0.334</z2-m>
- </axis>
- </animation>
- <!-- Outside Gear Door Animations -->
- <animation>
- <type>rotate</type>
- <object-name>PortOuterGearDoorInside</object-name>
- <object-name>PortOuterGearDoorOutside</object-name>
- <object-name>PortOuterGearDoorFrame</object-name>
- <property>gear/gear[0]/position-norm</property>
- <interpolation>
- <entry>
- <ind>0.0</ind>
- <dep>0.0</dep>
- </entry>
- <entry>
- <ind>0.1</ind>
- <dep>130.0</dep>
- </entry>
- <entry>
- <ind>0.75</ind>
- <dep>130.0</dep>
- </entry>
- <entry>
- <ind>1.0</ind>
- <dep>130</dep>
- </entry>
- </interpolation>
- <axis>
- <x1-m>0.918</x1-m>
- <y1-m>-2.748</y1-m>
- <z1-m>-0.260</z1-m>
- <x2-m>0.759</x2-m>
- <y2-m>-2.826</y2-m>
- <z2-m>-0.260</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarOuterGearDoorTop</object-name>
- <object-name>StarOuterGearDoorOutside</object-name>
- <property>gear/gear[1]/position-norm</property>
- <interpolation>
- <entry>
- <ind>0.0</ind>
- <dep>0.0</dep>
- </entry>
- <entry>
- <ind>0.1</ind>
- <dep>-130.0</dep>
- </entry>
- <entry>
- <ind>0.75</ind>
- <dep>-130.0</dep>
- </entry>
- <entry>
- <ind>1.0</ind>
- <dep>-130.0</dep>
- </entry>
- </interpolation>
- <axis>
- <x1-m>0.918</x1-m>
- <y1-m>2.748</y1-m>
- <z1-m>-0.260</z1-m>
- <x2-m>0.759</x2-m>
- <y2-m>2.826</y2-m>
- <z2-m>-0.260</z2-m>
- </axis>
- </animation>
- <!-- ******************** Control Surface Animations ******************** -->
- <animation>
- <type>rotate</type>
- <object-name>PortElevator</object-name>
- <object-name>PortElevator2</object-name>
- <object-name>PortElevatorPivot</object-name>
- <property>surface-positions/elevator-pos-norm</property>
- <factor>15</factor>
- <offset-deg>0</offset-deg>
- <center>
- <x-m>6.888</x-m>
- <y-m>-0.313</y-m>
- <z-m>1.276</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarElevator</object-name>
- <object-name>StarElevator2</object-name>
- <object-name>StarElevatorPivot</object-name>
- <property>surface-positions/elevator-pos-norm</property>
- <factor>-15</factor>
- <offset-deg>0</offset-deg>
- <center>
- <x-m>6.888</x-m>
- <y-m>0.313</y-m>
- <z-m>1.276</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>-1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>PortAileronTop</object-name>
- <object-name>PortAileronBottom</object-name>
- <object-name>PortAileronFrame</object-name>
- <property>sim/multiplay/generic/float[4]</property>
- <factor>15</factor>
- <min-deg>0</min-deg>
- <axis>
- <x1-m>2.312</x1-m>
- <y1-m>-4.047</y1-m>
- <z1-m>-0.262</z1-m>
- <x2-m>1.826</x2-m>
- <y2-m>-2.647</y2-m>
- <z2-m>-0.260</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>PortSpoilerTop</object-name>
- <object-name>PortSpoilerBottom</object-name>
- <object-name>PortSpoilerFrame</object-name>
- <property>sim/multiplay/generic/float[4]</property>
- <factor>30</factor>
- <max-deg>0</max-deg>
- <axis>
- <x1-m>1.986</x1-m>
- <y1-m>-4.045</y1-m>
- <z1-m>-0.185</z1-m>
- <x2-m>1.383</x2-m>
- <y2-m>-2.782</y2-m>
- <z2-m>-0.136</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarAileronTop</object-name>
- <object-name>StarAileronBottom</object-name>
- <object-name>StarAileronFrame</object-name>
- <property>sim/multiplay/generic/float[4]</property>
- <factor>15</factor>
- <max-deg>0</max-deg>
- <axis>
- <x1-m>2.312</x1-m>
- <y1-m>4.047</y1-m>
- <z1-m>-0.262</z1-m>
- <x2-m>1.826</x2-m>
- <y2-m>2.647</y2-m>
- <z2-m>-0.260</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarSpoilerTop</object-name>
- <object-name>StarSpoilerBottom</object-name>
- <object-name>StarSpoilerFrame</object-name>
- <property>sim/multiplay/generic/float[4]</property>
- <factor>30</factor>
- <min-deg>0</min-deg>
- <axis>
- <x1-m>1.986</x1-m>
- <y1-m>4.045</y1-m>
- <z1-m>-0.185</z1-m>
- <x2-m>1.383</x2-m>
- <y2-m>2.782</y2-m>
- <z2-m>-0.136</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>PortRudder</object-name>
- <object-name>StarRudder</object-name>
- <object-name>RudderFrame</object-name>
- <property>surface-positions/rudder-pos-norm</property>
- <factor>-15</factor>
- <axis>
- <x1-m>7.145</x1-m>
- <y1-m>0</y1-m>
- <z1-m>1.529</z1-m>
- <x2-m>7.933</x2-m>
- <y2-m>0</y2-m>
- <z2-m>3.184</z2-m>
- </axis>
- </animation>
- <!-- ******************** Flap Animations ******************** -->
- <animation>
- <type>rotate</type>
- <object-name>PortFlapTop</object-name>
- <object-name>PortFlapBottom</object-name>
- <object-name>PortFlapFrame</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <factor>45</factor>
- <axis>
- <x1-m>1.810</x1-m>
- <y1-m>-2.648</y1-m>
- <z1-m>-0.250</z1-m>
- <x2-m>1.352</x2-m>
- <y2-m>-1.289</y2-m>
- <z2-m>-0.231</z2-m>
- </axis>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>StarFlapTop</object-name>
- <object-name>StarFlapBottom</object-name>
- <object-name>StarFlapFrame</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <factor>-45</factor>
- <axis>
- <x1-m>1.810</x1-m>
- <y1-m>2.648</y1-m>
- <z1-m>-0.250</z1-m>
- <x2-m>1.352</x2-m>
- <y2-m>1.289</y2-m>
- <z2-m>-0.231</z2-m>
- </axis>
- </animation>
- <!-- ******************** Cooling Door Animations ******************** -->
- <animation>
- <type>rotate</type>
- <object-name>PortCoolingDoorOutside</object-name>
- <object-name>PortCoolingDoorInside</object-name>
- <object-name>PortCoolingDoorFrame</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <factor>-25</factor>
- <center>
- <x-m>2.249</x-m>
- <y-m>-1.113</y-m>
- <z-m>0.881</z-m>
- </center>
- <axis>
- <x>1</x>
- <y>0</y>
- <z>-0.14</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarCoolingDoorOutside</object-name>
- <object-name>StarCoolingDoorInside</object-name>
- <object-name>StarCoolingDoorFrame</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <factor>25</factor>
- <center>
- <x-m>2.249</x-m>
- <y-m>1.113</y-m>
- <z-m>0.881</z-m>
- </center>
- <axis>
- <x>1</x>
- <y>0.1</y>
- <z>-0.14</z>
- </axis>
- </animation>
- <!-- Belly Cooling Doors Animations -->
- <animation>
- <type>rotate</type>
- <object-name>PortBellyCoolingDoor</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>0.5</ind><dep>-80</dep></entry>
- </interpolation>
- <axis>
- <x1-m>0.553</x1-m>
- <y1-m>-0.192</y1-m>
- <z1-m>-0.306</z1-m>
- <x2-m>-0.350</x2-m>
- <y2-m>-0.188</y2-m>
- <z2-m>-0.284</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarBellyCoolingDoor</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>0.5</ind><dep>80</dep></entry>
- </interpolation>
- <axis>
- <x1-m>0.553</x1-m>
- <y1-m>0.192</y1-m>
- <z1-m>-0.306</z1-m>
- <x2-m>-0.350</x2-m>
- <y2-m>0.188</y2-m>
- <z2-m>-0.284</z2-m>
- </axis>
- </animation>
- <!-- ******************** Slat Animations *************************** -->
- <animation>
- <type>rotate</type>
- <object-name>PortInnerSlatTop</object-name>
- <object-name>PortInnerSlatBottom</object-name>
- <object-name>PortInnerSlatFrame</object-name>
- <object-name>PortInnerSlatBulkheads</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>0.5</ind><dep>-14</dep></entry>
- </interpolation>
- <axis>
- <x1-m>0.524</x1-m>
- <y1-m>-4.139</y1-m>
- <z1-m>-0.143</z1-m>
- <x2-m>-1.452</x2-m>
- <y2-m>-2.223</y2-m>
- <z2-m>-0.135</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>PortOuterSlatTop</object-name>
- <object-name>PortOuterSlatBottom</object-name>
- <object-name>PortOuterSlatFrame</object-name>
- <object-name>PortOuterSlatBulkheads</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>0.5</ind><dep>-14.00</dep></entry>
- </interpolation>
- <axis>
- <x1-m>2.037</x1-m>
- <y1-m>-5.565</y1-m>
- <z1-m>0.113</z1-m>
- <x2-m>0.403</x2-m>
- <y2-m>-4.141</y2-m>
- <z2-m>-0.137</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarInnerSlatTop</object-name>
- <object-name>StarInnerSlatBottom</object-name>
- <object-name>StarInnerSlatFrame</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>0.5</ind><dep>14</dep></entry>
- </interpolation>
- <axis>
- <x1-m>0.524</x1-m>
- <y1-m>4.139</y1-m>
- <z1-m>-0.143</z1-m>
- <x2-m>-1.452</x2-m>
- <y2-m>2.223</y2-m>
- <z2-m>-0.135</z2-m>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarOuterSlatTop</object-name>
- <object-name>StarOuterSlatBottom</object-name>
- <object-name>StarOuterSlatFrame</object-name>
- <property>surface-positions/flap-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>0.5</ind><dep>14.00</dep></entry>
- </interpolation>
- <axis>
- <x1-m>2.037</x1-m>
- <y1-m>5.565</y1-m>
- <z1-m>0.113</z1-m>
- <x2-m>0.403</x2-m>
- <y2-m>4.141</y2-m>
- <z2-m>-0.137</z2-m>
- </axis>
- </animation>
- <!-- ************** Speedbrake Animations ******************-->
- <animation>
- <type>rotate</type>
- <object-name>PortUpperSpeedBrakeActuator</object-name>
- <object-name>PortLowerSpeedBrakeActuator</object-name>
- <property>surface-positions/speedbrake-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>0.99</ind><dep>39</dep></entry>
- </interpolation>
- <center>
- <x-m>1.521</x-m>
- <y-m>-2.005</y-m>
- <z-m>-0.248</z-m>
- </center>
- <axis>
- <x>0.12</x>
- <y>-1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>PortSpeedBrakeTop</object-name>
- <object-name>PortSpeedBrakeBottom</object-name>
- <object-name>PortSpeedBrakeFrame</object-name>
- <object-name>PortSpeedBrakeActuatorMount</object-name>
- <property>surface-positions/speedbrake-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>2.2</ind><dep>104</dep></entry>
- </interpolation>
- <axis>
- <x1-m>0.847</x1-m>
- <y1-m>-2.402</y1-m>
- <z1-m>-0.295</z1-m>
- <x2-m>0.578</x2-m>
- <y2-m>-1.777</y2-m>
- <z2-m>-0.363</z2-m>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>PortLowerSpeedBrakeActuator</object-name>
- <property>surface-positions/speedbrake-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>8.0</ind><dep>-2.00</dep></entry>
- </interpolation>
- <center>
- <x-m>1.314</x-m>
- <y-m>-2.085</y-m>
- <z-m>-0.252</z-m>
- </center>
- <axis>
- <x>0.460</x>
- <y>0.150</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarUpperSpeedBrakeActuator</object-name>
- <object-name>StarLowerSpeedBrakeActuator</object-name>
- <property>surface-positions/speedbrake-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>0.99</ind><dep>39</dep></entry>
- </interpolation>
- <center>
- <x-m>1.521</x-m>
- <y-m>2.005</y-m>
- <z-m>-0.248</z-m>
- </center>
- <axis>
- <x>0.12</x>
- <y>-1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarSpeedBrakeTop</object-name>
- <object-name>StarSpeedBrakeBottom</object-name>
- <object-name>StarSpeedBrakeFrame</object-name>
- <object-name>StarSpeedBrakeActuatorMount</object-name>
- <property>surface-positions/speedbrake-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>2.2</ind><dep>-104</dep></entry>
- </interpolation>
- <axis>
- <x1-m>0.847</x1-m>
- <y1-m>2.402</y1-m>
- <z1-m>-0.295</z1-m>
- <x2-m>0.578</x2-m>
- <y2-m>1.777</y2-m>
- <z2-m>-0.363</z2-m>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>StarLowerSpeedBrakeActuator</object-name>
- <property>surface-positions/speedbrake-pos-norm</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>8.0</ind><dep>-2.0</dep></entry>
- </interpolation>
- <center>
- <x-m>1.314</x-m>
- <y-m>2.085</y-m>
- <z-m>-0.252</z-m>
- </center>
- <axis>
- <x>0.460</x>
- <y>-0.150</y>
- <z>0</z>
- </axis>
- </animation>
-
- <!-- yasim anim -->
- <animation>
- <name>thook</name>
- <object-name>TailHook</object-name>
- <object-name>TailHook.002</object-name>
- <object-name>TailHook.001</object-name>
- <object-name>part_73_LOD_100</object-name>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>thook</object-name>
- <property>sim/multiplay/generic/float[6]</property>
- <factor>-70</factor>
- <offset-deg>0</offset-deg>
- <center>
- <x-m>4.342</x-m>
- <y-m>0</y-m>
- <z-m>-0.229</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>-1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>OuterFuelDoor</object-name>
- <object-name>FuelProbe2</object-name>
- <object-name>FuelProbe1</object-name>
- <object-name>FuelDoorFrame</object-name>
- <object-name>FuelProbeActuator2</object-name>
- <object-name>FuelProbeActuator</object-name>
- <property>sim/multiplay/generic/float[13]</property>
- <factor>30</factor>
- <center>
- <x-m>-3.670</x-m>
- <y-m>0.557</y-m>
- <z-m>1.328</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>0.5</y>
- <z>-0.4</z>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>FuelProbe1</object-name>
- <property>sim/multiplay/generic/float[13]</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>12.0</ind><dep>-2.5</dep></entry>
- </interpolation>
- <center>
- <x-m>-4.741</x-m>
- <y-m>0.517</y-m>
- <z-m>1.154</z-m>
- </center>
- <axis>
- <x>1</x>
- <y>0</y>
- <z>0.16</z>
- </axis>
- </animation>
- <!-- Pilots
-
- <model>
- <name>Pilot</name>
- <path>Aircraft/FGR-2/Models/pilot/Pilot.xml</path>
- <offsets>
- <x-m> -5.58 </x-m>
- <y-m> -00 </y-m>
- <z-m> 0.89 </z-m>
- <pitch-deg>-0</pitch-deg>
- </offsets>
- </model>
-
- <model>
- <name>WSO</name>
- <path>Aircraft/FGR-2/Models/pilot/Pilot.xml</path>
- <offsets>
- <x-m> -4.15 </x-m>
- <y-m> -00 </y-m>
- <z-m> 1.15 </z-m>
- <pitch-deg>-0</pitch-deg>
- </offsets>
- </model>-->
- <!-- Suppress Pilot/Seat Model in Cockpit View
-
- <animation>
- <type>select</type>
- <object-name>Pilot</object-name>
- <object-name>WSO</object-name>
- <object-name>RearGlass</object-name>
- <object-name>FwdCanopyGlass</object-name>
- <object-name>windscreen-glass</object-name>
- <condition>
- <not>
- <property>sim/current-view/internal</property>
- </not>
- </condition>
- </animation> -->
- <!-- Lights -->
- <model>
- <path>Aircraft/FGR-2/Models/Lights/LightPack.xml</path>
- <offsets>
- <x-m>0</x-m>
- <y-m>0</y-m>
- <z-m>0</z-m>
- </offsets>
- </model>
-
- <!-- Front Canopy -->
- <animation>
- <type>rotate</type>
-
- <object-name>FrontCanopyGlassin</object-name>
- <object-name>FrontCanopyFrameInside</object-name>
- <object-name>FrontCanopyFrame</object-name>
- <object-name>FrontGlassFrame</object-name>
- <object-name>baseL</object-name>
- <object-name>retro.001</object-name>
- <object-name>baseC</object-name>
- <object-name>retro</object-name>
- <object-name>baseR</object-name>
- <object-name>retro.002</object-name>
- <object-name>FrontCanopyFrame2</object-name>
- <object-name>FrontCanopyGlass</object-name>
-
-
- <property>sim/multiplay/generic/float[10]</property>
- <factor>50</factor>
- <interpolation>
- <entry><ind> 0 </ind><dep> 0 </dep></entry>
- <entry><ind> 1 </ind><dep> 40</dep></entry>
- </interpolation>
- <center>
- <x-m>-4.706</x-m>
- <y-m>0</y-m>
- <z-m>1.792</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
- <!-- Rear Canopy -->
- <animation>
- <type>rotate</type>
- <object-name>RearCanopyGlassin</object-name>
- <object-name>RearCanopyGlass</object-name>
- <object-name>RearCanopyFrame</object-name>
- <object-name>RearCanopyFrameInside</object-name>
- <object-name>RearCanopyGlassLiner</object-name>
- <object-name>base.004</object-name>
- <object-name>retro.004</object-name>
- <object-name>base.005</object-name>
- <object-name>retro.005</object-name>
-
-
- <property>sim/multiplay/generic/float[10]</property>
- <factor>50</factor>
- <interpolation>
- <entry><ind> 0 </ind><dep> 0 </dep></entry>
- <entry><ind> 1 </ind><dep> 40 </dep></entry>
- </interpolation>
- <center>
- <x-m>-3.173</x-m>
- <y-m>0</y-m>
- <z-m>1.817</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
-
-
- <!--*************** AfterBurner Effects**************** -->
-
- <model>
- <path>Aircraft/FGR-2/Models/Effects/flammes/flammesD.xml</path>
- <offsets>
- <x-m>4.408</x-m>
- <y-m>-0.70</y-m>
- <z-m>-0.038</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- <overlay>
- <animation n="100">
- <type>scale</type>
- <property>constants/zero</property>
- <x-offset>1.040</x-offset>
- <y-offset>1.040</y-offset>
- <z-offset>1.040</z-offset>
- </animation>
- </overlay>
- </model>
-
- <model>
- <path>Aircraft/FGR-2/Models/Effects/flammes/flammesG.xml</path>
- <offsets>
- <x-m>4.408</x-m>
- <y-m>0.700</y-m>
- <z-m>-0.038</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- <overlay>
- <animation n="100">
- <type>scale</type>
- <property>constants/zero</property>
- <x-offset>1.040</x-offset>
- <y-offset>1.040</y-offset>
- <z-offset>1.040</z-offset>
- </animation>
- </overlay>
- </model>
- <!--**************** Nozzles **********************-->
-
- <model>
- <path>Aircraft/FGR-2/Models/Effects/nozzles/Nozzles.xml</path>
- <offsets>
- <x-m>-6.690</x-m>
- <y-m>0.000</y-m>
- <z-m>0.100</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- <overlay>
- <animation n="100">
- <type>scale</type>
- <property>constants/zero</property>
- <x-offset>0.76</x-offset>
- <y-offset>0.76</y-offset>
- <z-offset>0.76</z-offset>
- </animation>
- </overlay>
- </model>
- <model>
- <path>Aircraft/FGR-2/Models/Effects/nozzles/Nozzles.xml</path>
- <offsets>
- <x-m>-6.690</x-m>
- <y-m>1.420</y-m>
- <z-m>0.100</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- <overlay>
- <animation n="100">
- <type>scale</type>
- <property>constants/zero</property>
- <x-offset>0.76</x-offset>
- <y-offset>0.76</y-offset>
- <z-offset>0.76</z-offset>
- </animation>
- </overlay>
- </model>
-
-
-
- <model>
- <path>Aircraft/FGR-2/Models/Effects/smoke/smokeL.xml</path>
- <offsets>
- <x-m> 4.2</x-m>
- <y-m> -0.71</y-m>
- <z-m> 0.16</z-m>
- </offsets>
- </model>
-
- <model>
- <path>Aircraft/FGR-2/Models/Effects/smoke/smokeR.xml</path>
- <offsets>
- <x-m> 4.2</x-m>
- <y-m> 0.71</y-m>
- <z-m> 0.16</z-m>
- </offsets>
- </model>
- <model>
- <path>Aircraft/FGR-2/Models/Effects/Contrail/contrail.xml</path>
- <offsets>
- <x-m> 4.2</x-m>
- <y-m> -0.71</y-m>
- <z-m> 0.16</z-m>
- </offsets>
- </model>
-
- <model>
- <path>Aircraft/FGR-2/Models/Effects/Contrail/contrail.xml</path>
- <offsets>
- <x-m> 4.2</x-m>
- <y-m> 0.71</y-m>
- <z-m> 0.16</z-m>
- </offsets>
- </model>
-
-
- <model>
- <path>Aircraft/FGR-2/Models/Effects/Vapour/Vapour.xml</path>
- <offsets>
- <x-m>-2.0</x-m>
- <y-m>-1.5</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/FGR-2/Models/Effects/Vapour/Vapour.xml</path>
- <offsets>
- <x-m>-2.0</x-m>
- <y-m>1.5</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/FGR-2/Models/Effects/Vapour/Vapour2.xml</path>
- <offsets>
- <x-m>1.0</x-m>
- <y-m>-4</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/FGR-2/Models/Effects/Vapour/Vapour2.xml</path>
- <offsets>
- <x-m>1.0</x-m>
- <y-m>4</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>
-
-
- <!-- aircraft wash modeled in the lines below
-
- <model>
- <name>aircraft_wash_l</name>
- <path>Aircraft/FGR-2/Models/Effects/aircraft_wash.xml</path>
- <condition>
- <equals>
- <property>controls/state/low_level</property>
- <value>1</value>
- </equals>
- </condition>
- <offsets>
- <x-m>25.000</x-m>
- <y-m>4.50</y-m>
- <z-m>0.0</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- </model>
-
- <model>
- <name>aircraft_wash_r</name>
- <path>Aircraft/FGR-2/Models/Effects/aircraft_wash.xml</path>
- <condition>
- <equals>
- <property>controls/state/low_level</property>
- <value>1</value>
- </equals>
- </condition>
- <offsets>
- <x-m>25.000</x-m>
- <y-m>-4.50</y-m>
- <z-m>0.0</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.0</ind>
- <dep>0.0</dep>
- </entry>
- <entry>
- <ind>300.0</ind>
- <dep>-90</dep>
- </entry>
- </interpolation>
-
- <axis>
- <x>-1</x>
- <y>0</y>
- <z>1.0</z>
- </axis>
-
- </animation> -->
- <model>
- <name>fire</name>
- <path>Aircraft/FGR-2/Models/Effects/Engine/Fire.xml</path>
- <condition>
- <equals>
- <property>sim/crashed</property>
- <value type="bool">true</value>
- </equals>
- </condition>
- <offsets>
- <x-m>1.05</x-m>
- <y-m>0.00</y-m>
- <z-m>1.75</z-m>
- <heading-deg>0</heading-deg>
- <roll-deg>0</roll-deg>
- <pitch-deg>0</pitch-deg>
- </offsets>
- </model>
- <model>
- <path>Aircraft/FGR-2/Models/Effects/boom/fx.xml</path>
- <offsets>
- <x-m>-2</x-m>
- <y-m>0</y-m>
- <z-m>0</z-m>
- <pitch-deg>0</pitch-deg>
- </offsets>
- </model>
- <!-- ****************Ground Effects ********************** -->
- <!-- Nose Wheel -->
- <model>
- <path>Aircraft/FGR-2/Models/Effects/ground/ground0.xml</path>
- <offsets>
- <x-m>-6.209</x-m>
- <y-m>0</y-m>
- <z-m>-1.805</z-m>
- </offsets>
- </model>
- <!-- Port Wheel -->
- <model>
- <path>Aircraft/FGR-2/Models/Effects/ground/ground1.xml</path>
- <offsets>
- <x-m>1.029</x-m>
- <y-m>-2.695</y-m>
- <z-m>-1.760</z-m>
- </offsets>
- </model>
- <!-- Star Wheel -->
- <model>
- <path>Aircraft/FGR-2/Models/Effects/ground/ground2.xml</path>
- <offsets>
- <x-m>1.029</x-m>
- <y-m>2.695</y-m>
- <z-m>-1.760</z-m>
- </offsets>
- </model>
- <!-- ******************* Fan Animations ******************* -->
- <!-- Port Fan -->
- <animation>
- <type>spin</type>
- <object-name>PortFan</object-name>
- <property>engines/engine[1]/n2</property>
- <factor>-10</factor>
- <center>
- <x-m>-0.695</x-m>
- <y-m>-0.658</y-m>
- <z-m>0.433</z-m>
- </center>
- <axis>
- <x>1.0</x>
- <y>0.0</y>
- <z>0</z>
- </axis>
- </animation>
- <!-- Star Fan -->
- <animation>
- <type>spin</type>
- <object-name>StarFan</object-name>
- <property>engines/engine[1]/n2</property>
- <factor>10</factor>
- <center>
- <x-m>-0.695</x-m>
- <y-m>0.658</y-m>
- <z-m>0.433</z-m>
- </center>
- <axis>
- <x>1.0</x>
- <y>0.0</y>
- <z>0</z>
- </axis>
- </animation>
- <!--******************** Parachute and Door Animation *********************** -->
- <model>
- <path>Aircraft/FGR-2/Models/Effects/Chute/parachute.xml</path>
- <offsets>
- <x-m>14.8</x-m>
- <y-m> 0.0 </y-m>
- <z-m>1.500</z-m>
- <pitch-deg>89</pitch-deg>
- </offsets>
- </model>
- <animation>
- <type>rotate</type>
- <object-name>ChuteDoor</object-name>
- <property>sim/multiplay/generic/float[32]</property>
- <factor>170</factor>
- <center>
- <x-m>7.995</x-m>
- <y-m>0.145</y-m>
- <z-m>1.125</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>0</y>
- <z>1</z>
- </axis>
- </animation>
- <!--******************** Folding Wings *********************** -->
- <!-- Port Wing fold. -->
- <animation>
- <name>PortWingTip</name>
- <object-name>PortWingTipTop</object-name>
- <object-name>PortWingTipBottom</object-name>
- <object-name>PortWingLightHousing</object-name>
- <object-name>PortWingLights</object-name>
- <object-name>PortOuterSlatTop</object-name>
- <object-name>PortOuterSlatBottom</object-name>
- <object-name>PortOuterSlatBulkheads</object-name>
- <object-name>PortOuterSlatFrame</object-name>
- <object-name>PortWingTipBulkhead</object-name>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>PortWingTip</object-name>
- <property>sim/multiplay/generic/float[9]</property>
- <factor> -90 </factor>
- <axis>
- <x1-m>-0.028</x1-m>
- <y1-m>-4.130</y1-m>
- <z1-m>-0.087</z1-m>
- <x2-m>3.112</x2-m>
- <y2-m>-4.138</y2-m>
- <z2-m>-0.325</z2-m>
- </axis>
- </animation>
- <!-- Star Wing fold. -->
- <animation>
- <name>StarWingTip</name>
- <object-name>StarWingTipTop</object-name>
- <object-name>StarWingTipBottom</object-name>
- <object-name>StarWingLightHousing</object-name>
- <object-name>StarWingLights</object-name>
- <object-name>StarOuterSlatTop</object-name>
- <object-name>StarOuterSlatBottom</object-name>
- <object-name>StarOuterSlatBulkheads</object-name>
- <object-name>StarOuterSlatFrame</object-name>
- <object-name>StarWingTipBulkhead</object-name>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>StarWingTip</object-name>
- <property>sim/multiplay/generic/float[9]</property>
- <factor> 90 </factor>
- <axis>
- <x1-m>-0.028</x1-m>
- <y1-m>4.130</y1-m>
- <z1-m>-0.087</z1-m>
- <x2-m>3.112</x2-m>
- <y2-m>4.138</y2-m>
- <z2-m>-0.325</z2-m>
- </axis>
- </animation>
- <!-- ***************************** Suspensions Compression ************************* -->
- <animation>
- <name>PortGearAssy</name>
- <object-name>PortWheel</object-name>
- <object-name>PortTire</object-name>
- <object-name>PortLowerStrut</object-name>
- <object-name>PortMidStrut</object-name>
- <object-name>PortLowerSpring</object-name>
- <object-name>PortLowerActuator</object-name>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>PortUpperSpring</object-name>
- <property>sim/multiplay/generic/float[21]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> 0 </dep></entry>
- <entry><ind> 0.235 </ind><dep> 0 </dep></entry>
- <entry><ind> 1.000 </ind><dep> 27 </dep></entry>
- </interpolation>
- <center>
- <x-m>0.758</x-m>
- <y-m>-2.696</y-m>
- <z-m>-0.772</z-m>
- </center>
- <axis>
- <x> 0 </x>
- <y>1 </y>
- <z> 0 </z>
- </axis>
- </animation>
-
- <animation>
- <type>translate</type>
- <object-name>PortGearAssy</object-name>
- <property>sim/multiplay/generic/float[27]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> -0.02 </dep></entry>
- <entry><ind> 0.235 </ind><dep> 0.00 </dep></entry>
- <entry><ind> 1.000 </ind><dep> 0.10 </dep></entry>
- </interpolation>
- <axis>
- <x> 0 </x>
- <y> 0 </y>
- <z> 1 </z>
- </axis>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>PortLowerSpring</object-name>
- <property>sim/multiplay/generic/float[27]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> 0 </dep></entry>
- <entry><ind> 0.235 </ind><dep> 0 </dep></entry>
- <entry><ind> 1.000 </ind><dep> -50 </dep></entry>
- </interpolation>
- <center>
- <x-m>0.741</x-m>
- <y-m>-2.696</y-m>
- <z-m>-1.102</z-m>
- </center>
- <axis>
- <x> 0 </x>
- <y>-1</y>
- <z> 0 </z>
- </axis>
- </animation>
- <!-- Star Compression -->
-
- <animation>
- <name>StarGearAssy</name>
- <object-name>StarWheel</object-name>
- <object-name>StarTire</object-name>
- <object-name>StarLowerStrut</object-name>
- <object-name>StarMidStrut</object-name>
- <object-name>StarLowerSpring</object-name>
- <object-name>StarLowerActuator</object-name>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>StarUpperSpring</object-name>
- <property>sim/multiplay/generic/float[28]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> 0 </dep></entry>
- <entry><ind> 0.235 </ind><dep> 0 </dep></entry>
- <entry><ind> 1.000 </ind><dep> 20 </dep></entry>
- </interpolation>
- <center>
- <x-m>0.758</x-m>
- <y-m>2.696</y-m>
- <z-m>-0.772</z-m>
- </center>
- <axis>
- <x> 0 </x>
- <y> 1 </y>
- <z> 0 </z>
- </axis>
- </animation>
-
- <animation>
- <type>translate</type>
- <object-name>StarGearAssy</object-name>
- <property>sim/multiplay/generic/float[28]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> -0.02 </dep></entry>
- <entry><ind> 0.235 </ind><dep> 0.00 </dep></entry>
- <entry><ind> 1.000 </ind><dep> 0.10 </dep></entry>
- </interpolation>
- <axis>
- <x> 0 </x>
- <y> 0 </y>
- <z> 1 </z>
- </axis>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>StarLowerSpring</object-name>
- <property>sim/multiplay/generic/float[28]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> 0 </dep></entry>
- <entry><ind> 0.235 </ind><dep> 0 </dep></entry>
- <entry><ind> 1.000 </ind><dep> 50 </dep></entry>
- </interpolation>
- <center>
- <x-m>0.741</x-m>
- <y-m>2.696</y-m>
- <z-m>-1.102</z-m>
- </center>
- <axis>
- <x> 0 </x>
- <y> 1 </y>
- <z> 0 </z>
- </axis>
- </animation>
- <!-- Nose Compression -->
- <animation>
- <name>NoseGearAssy</name>
- <object-name>PortNoseWheel</object-name>
- <object-name>StarNoseWheel</object-name>
- <object-name>NoseAxlePlus</object-name>
- <object-name>NoseLowerStrut</object-name>
- <object-name>NoseLowerSpring</object-name>
- <object-name>NoseWheelMount</object-name>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>NoseUpperSpring</object-name>
- <property>sim/multiplay/generic/float[26]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> 0 </dep></entry>
- <entry><ind>0.235 </ind><dep> 0 </dep></entry>
- <entry><ind> 1.000 </ind><dep> 35 </dep></entry>
- </interpolation>
- <center>
- <x-m>-6.584</x-m>
- <y-m>-0.042</y-m>
- <z-m> -1.094</z-m>
- </center>
- <axis>
- <x> 0 </x>
- <y>1 </y>
- <z> 0 </z>
- </axis>
- </animation>
-
- <animation>
- <type>translate</type>
- <object-name>NoseGearAssy</object-name>
- <property>sim/multiplay/generic/float[26]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> -0.02 </dep></entry>
- <entry><ind> 0.235 </ind><dep> 0.00 </dep></entry>
- <entry><ind> 1.000 </ind><dep> 0.10 </dep></entry>
- </interpolation>
- <axis>
- <x> 0 </x>
- <y> 0 </y>
- <z> 1 </z>
- </axis>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>NoseLowerSpring</object-name>
- <property>sim/multiplay/generic/float[26]</property>
- <interpolation>
- <entry><ind> 0.000 </ind><dep> 0 </dep></entry>
- <entry><ind> 0.235 </ind><dep> 0 </dep></entry>
- <entry><ind> 1.000 </ind><dep> -35 </dep></entry>
- </interpolation>
- <center>
- <x-m>-6.566</x-m>
- <y-m>-0.033</y-m>
- <z-m> -1.415</z-m>
- </center>
- <axis>
- <x> 0 </x>
- <y> 1 </y>
- <z> 0 </z>
- </axis>
- </animation>
- <!--********************** Rolling Wheels *********************-->
- <!-- Port Wheel -->
- <animation>
- <type>spin</type>
- <object-name>PortTire</object-name>
- <object-name>PortWheel</object-name>
- <property>sim/multiplay/generic/float[19]</property>
- <factor>-20</factor>
- <center>
- <x-m>0.664</x-m>
- <y-m>-2.697</y-m>
- <z-m>-1.522</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
- <!-- Star Wheel -->
- <animation>
- <type>spin</type>
- <object-name>StarWheel</object-name>
- <object-name>StarWheel</object-name>
- <property>sim/multiplay/generic/float[20]</property>
- <factor>-20</factor>
- <center>
- <x-m>0.664</x-m>
- <y-m>2.697</y-m>
- <z-m>-1.522</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>spin</type>
- <object-name>PortNoseWheel</object-name>
- <object-name>StarNoseWheel</object-name>
- <property>sim/multiplay/generic/float[18]</property>
- <factor>15</factor>
- <center>
- <x-m>-6.423</x-m>
- <y-m>0.000</y-m>
- <z-m>-1.653</z-m>
- </center>
- <axis>
- <x> 0 </x>
- <y> -1 </y>
- <z> 0 </z>
- </axis>
- </animation>
-
- </PropertyList>
-
|