Jump to content

Optilium

Frozen-Inactivity
  • Content Count

    10
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

Flight Sim Profile

  • Commercial Member
    No
  • Online Flight Organization Membership
    none
  • Virtual Airlines
    No
  1. YAHAHAAAAAA!! Success ! In fact, it doesn't work for default fsx aircraft. Howewer, I tried with my L-1011 from CaptainSim. Everything works perfectly ! The Xml vars, doesn't work as well with default aircraft. I only had flight controls variable. With the l1011, it works perfectly. I have all the switchs (more than 3000 variables...) Actually, I had to move a file ( l112.sys.dll ) which init the aircraft when loaded. So even with an init gauge, it started the aircraft. Well, thank you very much for your patience BudSurf and n4gix. I learned quite lot of things and I should be able to do it with all my aircraft now. Thanks !
  2. Yep. So I place the Gauge_C172.xml in the C172_logic folder, which is in the Gauge Folder of FSX. I correct the line as required, correcting the title, putting a comma. Howewer, buttons aren't on the right configuration...But, by using XML_Vars, I've lines, similar to those in the Gauge_C172.xml which have been added: ID=1 KEY_TOGGLE_TAXI_LIGHTS 1.0000000 0X1 ID=2 KEY_TOGGLE_NAV_LIGHTS 1.0000000 0X1 ID=3 KEY_STROBES_TOGGLE 1.0000000 0X1 D=4 KEY_LANDING_LIGHT_TOGGLE 1.0000000 0X1 So the values have been detected. Howewer, it doesn't appear to work in the cockpit. Don't understand... According to https://www.fsdeveloper.com/forum/threads/initialise-set-variable-values-on-aircraft-load-up.443571/ I put a gauge19=C172_logic!Gauge_C172, 0, 0, 1, 1 ...in [VCockpit01]. I check as well by changing L by a K in... <Gauge Name="Gauge_C172" Version="1.0"> <Element> <Select> <Value> (L:FirstLoad,bool) ! if{ 1 (>K:KEY_TOGGLE_ELECT_FUEL_PUMP,bool) 0 (>L:KEY_LANDING_LIGHTS_TOGGLE, bool) 1 (>L:KEY_TOGGLE_TAXI_LIGHTS, bool) 0 (>L:KEY_TOGGLE_NAV_LIGHTS, bool) 1 (>L:KEY_STROBES_TOGGLE, bool) 0 (>K:KEY_PITOT_HEAT_TOGGLE, bool) } 1 (>L:FirstLoad,bool) } </Value> </Select> </Element> </Gauge>
  3. Well... So ! I'm back. After several weeks... -I open notepad and made a gauge for the C172: <Gauge Name="AA5_Logic" Version="1.0"> <Element> <Select> <Value> (L:FirstLoad,bool) ! if{ 0 (>L:KEY_TOGGLE_ELECT_FUEL_PUMP,bool) 1 (>L:KEY_LANDING_LIGHTS_TOGGLE, bool) 0 (>L:KEY_TOGGLE_TAXI_LIGHTS, bool) 1 (>L:KEY_TOGGLE_NAV_LIGHTS, bool) } 1 (>L:FirstLoad,bool) } </Value> </Select> </Element> </Gauge> -Then I save it Gauge_172.xml -I open panel.cfg of the C172 and insert "gauge55=Gauge_C172, 0.0" ; Localized 10/07/2007 09:02 PM (GMT) 4:4.2.169 panel.cfg ;/ Panel Configuration file ;/ Cessna 172sp ;/ Copyright (c) 2001-2003 Microsoft Corporation. All rights reserved. [Window Titles] Window00=Tableau de bord principal Window01=Planche radio Window02=GPS Window03=Tableau de bord IFR Window04=Vue atterrissage Window05=Mini-tableau de bord Window06=XMLVARS [Window00] file_1024=cessna_172_background.bmp file_1024_night=cessna_172_background_night.bmp size_mm=640 position=7 visible=1 no_luminous=1 ident=MAIN_PANEL zorder=0 windowsize_ratio=1.000 window_pos=0.0,0.0 window_size=1.000,1.000 view_window_rect=0,0,8192,4000 gauge20=fsx_event_logger!event_logger, 315,544,120,73 gauge00=Cessna!Altimeter, 346,167, 79, 79 gauge01=Cessna!Annunciator, 517,159, 62, 15 gauge02=Cessna!Avionics Switch, 288,426, 37, 47 gauge03=Cessna!Flaps, 467,415, 48, 64 gauge04=Cessna!Fuel_Selector, 556,415, 82, 62 gauge05=Cessna!Heading_Indicator, 264,247, 81, 81 gauge06=Cessna!Master_Alt_Bat, 121,425, 40, 45 gauge07=Cessna!Nav_GPS_Annunciator, 582,162, 12, 11 gauge08=Cessna!Nav GPS Switch, 594,162, 12, 11 gauge09=Cessna!OMI_Lights, 609,158 gauge10=Cessna!Pitch_Trim, 528,416, 21, 36 gauge11=Cessna!Starter, 71,422, 47, 52 gauge12=Cessna!Turn_Indicator, 185,247, 78, 78 gauge13=Cessna!Vertical_Speed, 346,247, 79, 79 gauge14=Cessna!Vacuum_Ampermeter, 122,334, 58, 58 gauge15=Cessna172!Airspeed, 185,167, 78, 78 gauge16=Cessna172!Alt_Static_Air, 339,453, 37, 27 gauge17=Cessna172!Clock, 122,193, 58, 58 gauge18=Cessna172!EGT_Fuel_Flow, 122,271, 58, 58 gauge19=Cessna172!Fuel, 61,270, 58, 58 gauge20=Cessna172!Fuel_Shutoff, 517,453, 36, 28 gauge21=Cessna172!Panel_Lights_Switch, 342,418, 30, 34 gauge22=Cessna172!Tachometer, 347,329, 78, 78 gauge23=Cessna172!Thrust_Controls, 375,425, 81, 55 gauge24=Cessna182s!Oil_Press_Temp, 62,334, 58, 58 gauge25=Cessna182s!Switches, 163,440,121, 41 gauge26=CessnaWAlpha!ADF_Alpha, 431,329, 79, 79 gauge27=CessnaWAlpha!Attitude_Alpha, 266,167, 78, 78 gauge28=CessnaWAlpha!VOR2_Alpha, 431,247, 79, 79 gauge29=CessnaWAlpha!VOR1_Alpha, 431,167, 79, 79 gauge30=CessnaWAlpha!Whiskey_Compass_Alpha, 499, 98, 35, 23 gauge41=SimIcons!Kneeboard Icon, 66,255 gauge42=SimIcons!ATC Icon, 78,255 gauge43=SimIcons!Map Icon, 90,255 gauge44=SimIcons!GPS Icon, 102,255 gauge45=SimIcons1024!IFR Icon, 114,255, 12, 12 gauge46=SimIcons1024!Landing Icon, 126,255, 12, 12 gauge47=Bendix_King_Radio!Bendix-King Radio Audio, 519,177,120, 24 gauge48=Bendix_King_Radio!Bendix-King Radio Nav-Comm 1, 519,200,120, 41 gauge49=Bendix_King_Radio!Bendix-King Radio Nav-Comm 2, 519,240,120, 42 gauge50=Bendix_King_Radio!Bendix-King Radio ADF, 519,281,120, 32 gauge51=Bendix_King_Radio!Bendix-King Radio DME, 519,313,120, 30 gauge52=Bendix_King_Radio!Bendix-King Radio Xpndr, 519,343,120, 34 gauge53=Bendix_King_Radio!Bendix-King Radio AP, 519,377,121, 34 gauge54=n_number_plaque!n_number_plaque, 210,387,65,19 gauge55=Gauge_C172, 0.0 I saved everything and...It didn't work... I suppose I made a mistake somewhere but I don't find it. What do you think ?
  4. Thanks for you help. I'll see that this week. I probably be back...🧐
  5. Thanks for being patient with me BudSurf Ok resuming, I downloaded fsx_event_logger gauge.gau and XML_vars.gau, which have been inserted in the fsx gauge file. Then, I wrote 2-3 lines in the panel.cfg of the C172. I never edited this king of file, neither any gauges. Actually, I can't edit XML, gau, or dll ? Is there any program for that ? I tried Notepad but didn't found any plugins for... I understand the initialize gauge should be specific to each aircraft. Could you confirm me that in... 0 (>L:ATRFDBarsCpt_pos,bool) 0 (>L:ATRFDBarsCpt,bool) 0 (>L:ATRDome_pos,number) 0 (>L:ATRDome,number) 0 (>L:ATRNav_pos,bool) 0 (>L:ATRNav,bool) 0 (>L:ATRStrobe_pos,bool) 0 (>L:ATRStrobe,bool) 0 (>L:ATRBeacon_pos,bool) 0 (>L:ATRBeacon,bool) ..."bool" should be replace by '1' or '0' ? Or is the boolean variable the '0' located just before "(>L:ATRFDBarsCpt_pos,bool)" Then to insert the gauge in the aircraft, do you add a line like this one the panel.cfg ? gauge00=Cessna!Altimeter, 346,167, 79, 79 Do you insert this line in [Window00] or in each [WindowXX] ? Other ?
  6. Thanks very much for your reply. So I tried on the C172. Here is the result from the event_logger gauge: Time=315.460189; id=258; event_in=KEY_PAUSE_ON; evdata=0 Time=326.880579; id=25; event_in=KEY_PAUSE_TOGGLE; evdata=0 Time=327.802154; id=703; event_in=KEY_TOGGLE_BEACON_LIGHTS; evdata=0 Time=328.141419; id=215; event_in=KEY_LANDING_LIGHTS_TOGGLE; evdata=0 Time=328.557936; id=704; event_in=KEY_TOGGLE_TAXI_LIGHTS; evdata=0 Time=328.939810; id=843; event_in=KEY_TOGGLE_NAV_LIGHTS; evdata=0 Time=329.356851; id=24; event_in=KEY_STROBES_TOGGLE; evdata=0 Time=330.024621; id=25; event_in=KEY_PAUSE_TOGGLE; evdata=0 Time=331.622504; id=258; event_in=KEY_PAUSE_ON; evdata=0 Time=592.841713; id=258; event_in=KEY_PAUSE_ON; evdata=0 Time=596.824021; id=25; event_in=KEY_PAUSE_TOGGLE; evdata=0 Howewer, there isn't any variable for the state of the button...? You talked about my "own initialize gauge". What is it ? I didn't find anything about this
  7. Yep I know that answer. Howewer, quite a lot of button, very specific to the l-1011 are on "arm" or "on" again (packflow, Hi press, Fuel switch,...). That's why I was asking for a way to edit via aircraft.cfg or any other program file. It should exist a way to edit those buttons no ?
  8. Hi everyone, I fly a lot the L-1011 by CaptainSim. But, by default, aircraft is set up with engine running and every button to "arm" or "on". My question isn't "how to set up aircraft to cold and dark" but how to change buttons state in the cockpit ? Is there any parameters in aicraft.cfg or any other file to edit button state ? thanks in advance for your help
  9. Hi everyone ! I'm new on this (old) forum and I hope I'll find answer to my problem. I recently download Microsoft Flight and I would fly to alaska, the rest of the islands of hawai and play with the other airplanes. So I download Flight Toolkit here http://flighttoolkit.com/ Howewer, only the Pt-17 Stearman and the Icon A5 appear on the hangar. I cannot fly to Alaska. A message appear "Soon available". I tried to re-install Flytoolkit 3 times, using different versions. Where's the problem ? Maybe it's too old and cannot be used now... Thanks in advance for your answer
×
×
  • Create New...