Quantcast
Channel: Caffeinated Aviator » XGoFlight 3.0
Viewing all articles
Browse latest Browse all 4

XGoFlight 3.0 Alpha 2 now available for Windows/Mac

$
0
0

The second development release of XGoFlight 3.0 is now available for Windows and Mac users. Notable changes in this release include:

  • MCPPRO: Boeing 757 Professional profile added (vmax_757)
  • Major revamp of configuration file format
  • Added ability to disable modules within the configuration file
  • Several bug fixes and performance improvements

The configuration file changes should be backwards-compatible with all but the EFIS module.  If you are using the old format, it will be notated in the log file.  It is also important to note that modules cannot be disabled via configuration file without using the new format. The new format replaces the “function” key inside each configuration item with a unique key.

Here’s an example of the new EFIS configuration format:

{
    "devices" : {
        "efis" : {
            "dh" : {
                "mode" : "command",
                "command_off" : "sim/instruments/dh_ref_down",
                "command_on" : "sim/instruments/dh_ref_up"
            },
            "dh_push" : {
                "mode" : "dataref",
                "dataref" : "sim/cockpit2/gauges/actuators/radio_altimeter_bug_ft_pilot",
                "type" : "float",
                "min" : 0,
                "max" : 0,
                "increment" : 0
            },
            "baro" : {
                "mode" : "command",
                "command_off" : "sim/instruments/barometer_down",
                "command_on" : "sim/instruments/barometer_up"
            },
            "baro_push" : {
                "mode" : "command",
                "command" : "sim/instruments/barometer_2992"
            },
            "fpv" : {},
            "mtrs" : {},
            "map_mode" : {
                "mode" : "dataref",
                "dataref" : "sim/cockpit2/EFIS/map_mode",
                "type" : "int",
                "value_app" : 0,
                "value_vor" : 1,
                "value_map" : 2,
                "value_pln" : 4
            },
            "map_range" : {
                "mode" : "dataref",
                "dataref" : "sim/cockpit2/EFIS/map_range",
                "type" : "int",
                "value_10" : 0,
                "value_20" : 1,
                "value_40" : 2,
                "value_80" : 3,
                "value_160" : 4,
                "value_320" : 5,
                "value_640" : 6
            },
            "nav_left" : {
                "mode" : "dataref",
                "dataref" : "sim/cockpit2/EFIS/EFIS_1_selection_pilot",
                "type" : "int",
                "value_off" : 1,
                "value_vor" : 2,
                "value_adf" : 0
            },
            "nav_right" : {
                "mode" : "dataref",
                "dataref" : "sim/cockpit2/EFIS/EFIS_2_selection_pilot",
                "type" : "int",
                "value_off" : 1,
                "value_vor" : 2,
                "value_adf" : 0
            },
            "wxr" : {
                "mode" : "command",
                "command" : "sim/instruments/EFIS_wxr"
            },
            "sta" : {
                "mode" : "command",
                "command" : "sim/instruments/EFIS_vor"
            },
            "wpt" : {
                "mode" : "command",
                "command" : "sim/instruments/EFIS_fix"
            },
            "arpt" : {
                "mode" : "command",
                "command" : "sim/instruments/EFIS_apt"
            },
            "data" : {
                "mode" : "command",
                "command" : "sim/instruments/EFIS_ndb"
            },
            "pos" : {
                "mode" : "command",
                "command" : "sim/instruments/EFIS_tcas"
            },
            "terr" : {}
        }
    }
}

The keys are equally unique for the SECM and MESM modules.

{
    "devices" : {
        "mesm" : {
            "0" : {
                "starter_left" : {
                    "mode" : "dataref",
                    "type" : "float",
                    "dataref" : "1-sim/engine/leftStartSelector",
                    "value_grd" : 0,
                    "value_off" : 1,
                    "value_cont" : 2,
                    "value_flt" : 3
                },
                "starter_right" : {
                    "mode" : "dataref",
                    "type" : "float",
                    "dataref" : "1-sim/engine/rightStartSelector",
                    "value_grd" : 0,
                    "value_off" : 1,
                    "value_cont" : 2,
                    "value_flt" : 3
                }
            }
        },
        "secm" : {
            "0" : {
                "starter_left" : {},
                "starter_right" : {},
                "starter_both" : {},
                "starter_start" : {},
                "battery" : {
					"mode": "dataref",
					"dataref" : "sim/cockpit/electrical/battery_on",
					"type" : "int"
				},
                "alternator" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit2/electrical/generator_on[0]",
					"type" : "int"
				},
                "avionics" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit2/switches/avionics_power_on",
					"type" : "int"
				},
                "fuel_pump" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/engine/fuel_pump_on[0]",
					"type" : "int"
				},
                "carb_heat" : {
				},
                "pitot_heat" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/switches/pitot_heat_on",
					"type" : "int"
				},
                "cowl" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/switches/pitot_heat_on2",
					"type" : "int"
				},
                "lights_panel" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/electrical/cockpit_lights",
					"type" : "float"
				},
                "lights_beacon" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/electrical/beacon_lights_on",
					"type" : "int"
				},
                "lights_nav" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/electrical/nav_lights_on",
					"type" : "int"
				},
                "lights_strobe" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/electrical/strobe_lights_on",
					"type" : "int"
				},
                "lights_taxi" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/electrical/taxi_light_on",
					"type" : "int"
				},
                "lights_landing" : {
					"mode" : "dataref",
					"dataref" : "sim/cockpit/electrical/landing_lights_on",
					"type" : "int"
				},
				"flaps" : {
					"mode" : "command",
					"command_off" : "sim/flight_controls/flaps_up",
					"command_on" : "sim/flight_controls/flaps_down"
				},
                "landing_gear" : {
					"mode" : "command",
					"command_off" : "sim/flight_controls/landing_gear_up",
					"command_on" : "sim/flight_controls/landing_gear_down"
				}
            }
        }
    }
}

For the T8 module, the keys (e.g. “wpt”, “arpt”) are “switch_1,” “switch_2,” all the way up to “switch_8″.  For the RP48 module, the keys are “rotary_1″ to “rotary_4″ and “button_1″ to “button_8.”  For the P8 module, the keys are “button_1″ to “button_8.”

Lastly, to disable a module, simply add a key called “disabled” and set it to true.  For example, to disable the LGT-II module, use the following configuration.

{
    "devices" : {
        "lgtii" : { "disabled" : true }
    }
}

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Viewing all articles
Browse latest Browse all 4

Trending Articles