Useful Links
Essential Links:
- X-Plane Main Website - for general information, purchase and download of the X-Plane Flight Simulator
- X-Plane Forums - for a wealth of user-provided information and for purchasing and downloading add-ons for X-Plane
- Saitek Driver Downloads - To download drivers for Saitek hardware and the all-important X-Plane plug in (which is essential if you want to make use of anything in this blog)
Editing Software:
- Notepad++ - Fully featured text editor for editing XML files
- VIM - My preferred text editor (again for editing XML files) - this is the editor I actually use, but it's not as user friendly as Notepad++, so unless you (like me) are coming from a Unix/Linux background you'll probably want to use Notepad++ instead
- GNU Image Manipulation Program - Open source image editing software. You may prefer photoshop - personally I have yet to find a single thing photoshop does that GIMP doesn't, but then again I'm not a graphic artist. Either way GIMP is free and Photoshop is not. You can resort to using MS Paint (which comes with Windows) if you like, but it lacks editing tools which will probably make life more difficult for you.
Reference Material
- Tom Tsui's FSXTimes - This was somewhat my inspiration for doing this blog really; obviously talented, this guy has got the whole process nailed for FSX and P3D. Unfortunately (again) it seems a lot is missing from the X-Plane implementation, and a lot of the tips and tricks he's kindly shared don't seem to work for the X-Plane Saitek implementation.
- Creating Custom Gauges (for FSX) - This page is somewhat useful, although it is regarding Flight Simulator X rather than X-Plane; it seems the Saitek driver/plugin are either based upon or directly linked to this API, so the "XML Gauge Reference" was very helpful in decrypting the XML files - don't get too excited though because it seems only a very tiny portion of the full API seems to be implemented; trying most of the things listed in this reference directly will result in blank FIPs and possibly a need to reboot.
My Gauges
- I am uploading my gauges here - nothing there yet but I'll be adding my HSI gauge here by the end of this week, and will continue to upload gauges as I complete them until I decide to stop and do something else with my time :)
Miscellaneous & Unrelated Links
- VATsim - Brilliant online network of sim pilots and air traffic controllers; well worth a look if you're looking for that extra stage of realism. Unlike other ATC networks, VATsim require that all their controllers pass an "exam" of sorts, so you really do get a very realistic ATC experience. Note that you don't need to pass such an exam as a pilot, just an ATC.
- FlightGear - Excellent, free (as in free beer), open source flight simulator with an impressive feature set
My biggest problem in using gauges seems to be the lack of documentation on which "events" are available for xplane (a randomly downloaded gauge works fine in fsx, but not xplane - seems to be a common problem). Thus, I went through the win.xpl file and pulled out what is likely a comprehensive list of all events. Here it is for your benefit (part 1 / 3):
ReplyDeletesim/aircraft/electrical/num_generators
sim/aircraft/engine/acf_max_OILT
sim/aircraft/engine/acf_num_engines
sim/aircraft/overflow/acf_num_tanks
sim/aircraft/overflow/acf_tank_rat
sim/aircraft/weight/acf_m_fuel_tot
sim/audio_panel/monitor_audio_adf1
sim/autopilot/airspeed_down
sim/autopilot/airspeed_up
sim/autopilot/altitude_arm
sim/autopilot/altitude_down
sim/autopilot/altitude_up
sim/autopilot/approach
sim/autopilot/autothrottle_off
sim/autopilot/autothrottle_on
sim/autopilot/back_course
sim/autopilot/fdir_servos_down_one
sim/autopilot/fdir_servos_up_one
sim/autopilot/heading
sim/autopilot/heading_down
sim/autopilot/heading_up
sim/autopilot/level_change
sim/autopilot/NAV
sim/autopilot/vertical_speed
sim/autopilot/vertical_speed_down
sim/autopilot/vertical_speed_up
sim/cockpit/autopilot/airspeed
sim/cockpit/autopilot/altitude
sim/cockpit/autopilot/heading_mag
sim/cockpit/autopilot/vertical_velocity
sim/cockpit/electrical/beacon_lights_on
sim/cockpit/electrical/instrument_brightness
sim/cockpit/electrical/landing_lights_on
sim/cockpit/electrical/nav_lights_on
sim/cockpit/electrical/strobe_lights_on
sim/cockpit/radios/adf1_freq_hz
sim/cockpit/radios/adf1_stdby_freq_hz
sim/cockpit/radios/com1_freq_hz
sim/cockpit/radios/com1_stdby_freq_hz
sim/cockpit/radios/com2_freq_hz
sim/cockpit/radios/com2_stdby_freq_hz
sim/cockpit/radios/dme_freq_hz
sim/cockpit/radios/nav1_freq_hz
sim/cockpit/radios/nav1_obs_degm
sim/cockpit/radios/nav1_stdby_freq_hz
sim/cockpit/radios/nav2_freq_hz
sim/cockpit/radios/nav2_stdby_freq_hz
sim/cockpit/radios/transponder_code
sim/cockpit/switches/anti_ice_AOA_heat
sim/cockpit/switches/anti_ice_AOA_heat2
sim/cockpit/switches/anti_ice_prop_heat_per_engine
sim/cockpit/switches/anti_ice_surf_boot
sim/cockpit/switches/anti_ice_surf_heat
sim/cockpit/switches/anti_ice_window_heat
sim/cockpit/warnings/annunciators/cabin_door_open
sim/cockpit/warnings/annunciators/crossfeed_on
sim/cockpit/warnings/annunciators/engine_fires
sim/cockpit/warnings/annunciators/fuel_pressure_low
sim/cockpit/warnings/annunciators/fuel_quantity
sim/cockpit/warnings/annunciators/low_vacuum
sim/cockpit2/autopilot/altitude_hold_armed
sim/cockpit2/autopilot/altitude_hold_status
sim/cockpit2/autopilot/approach_status
sim/cockpit2/autopilot/autopilot_on
sim/cockpit2/autopilot/backcourse_status
sim/cockpit2/autopilot/flight_director_mode
sim/cockpit2/autopilot/heading_status
sim/cockpit2/autopilot/nav_status
sim/cockpit2/autopilot/speed_status
sim/cockpit2/autopilot/vvi_status
sim/cockpit2/engine/indicators/engine_speed_rpm
sim/cockpit2/engine/indicators/oil_pressure_psi
sim/cockpit2/engine/indicators/oil_temperature_deg_C
sim/cockpit2/gauges/indicators/altitude_ft_pilot
sim/cockpit2/ice/ice_pitot_heat_on_pilot
sim/cockpit2/radios/actuators/audio_dme_enabled
sim/cockpit2/radios/actuators/audio_marker_enabled
sim/cockpit2/radios/actuators/audio_selection_adf1
sim/cockpit2/radios/actuators/audio_selection_adf2
sim/cockpit2/radios/actuators/audio_selection_com1
sim/cockpit2/radios/actuators/audio_selection_com2
sim/cockpit2/radios/actuators/audio_selection_nav1
sim/cockpit2/radios/actuators/audio_selection_nav2
sim/cockpit2/radios/actuators/HSI_source_select_pilot
sim/cockpit2/radios/indicators/nav1_dme_distance_nm
sim/cockpit2/radios/indicators/nav1_dme_speed_kts
sim/cockpit2/radios/indicators/nav2_dme_distance_nm
sim/cockpit2/radios/indicators/nav2_dme_speed_kts
pt 2/3
ReplyDeletesim/electrical/battery_1_off
sim/electrical/battery_1_on
sim/electrical/battery_2_off
sim/electrical/battery_2_on
sim/electrical/generator_1_off
sim/electrical/generator_1_on
sim/electrical/generator_2_off
sim/electrical/generator_2_on
sim/electrical/generator_3_off
sim/electrical/generator_3_on
sim/electrical/generator_4_off
sim/electrical/generator_4_on
sim/electrical/generator_5_off
sim/electrical/generator_5_on
sim/electrical/generator_6_off
sim/electrical/generator_6_on
sim/electrical/generator_7_off
sim/electrical/generator_7_on
sim/electrical/generator_8_off
sim/electrical/generator_8_on
sim/flight_controls/cowl_flaps_closed
sim/flight_controls/cowl_flaps_open
sim/flight_controls/flaps_down
sim/flight_controls/flaps_up
sim/flight_controls/landing_gear_down
sim/flight_controls/landing_gear_up
sim/flight_controls/pitch_trim_down
sim/flight_controls/pitch_trim_up
sim/flightmodel/controls/parkbrake
sim/flightmodel/failures/stallwarning
sim/flightmodel/weight/m_fuel
sim/flightmodel2/gear/deploy_ratio
sim/fuel/fuel_pump_1_off
sim/fuel/fuel_pump_1_on
sim/fuel/fuel_pump_2_off
sim/fuel/fuel_pump_2_on
sim/fuel/fuel_pump_3_off
sim/fuel/fuel_pump_3_on
sim/fuel/fuel_pump_4_off
sim/fuel/fuel_pump_4_on
sim/fuel/fuel_pump_5_off
sim/fuel/fuel_pump_5_on
sim/fuel/fuel_pump_6_off
sim/fuel/fuel_pump_6_on
sim/fuel/fuel_pump_7_off
sim/fuel/fuel_pump_7_on
sim/fuel/fuel_pump_8_off
sim/fuel/fuel_pump_8_on
sim/ice/pitot_heat0_off
sim/ice/pitot_heat0_on
sim/ice/pitot_heat1_off
sim/ice/pitot_heat1_on
sim/ice/pitot_heat_off
sim/ice/pitot_heat_on
sim/lights/beacon_lights_off
sim/lights/beacon_lights_on
sim/lights/landing_lights_off
sim/lights/landing_lights_on
sim/lights/nav_lights_off
sim/lights/nav_lights_on
sim/lights/strobe_lights_off
sim/lights/strobe_lights_on
sim/lights/taxi_lights_off
sim/lights/taxi_lights_on
sim/magnetos/magnetos_both_1
sim/magnetos/magnetos_both_2
sim/magnetos/magnetos_both_3
sim/magnetos/magnetos_both_4
sim/magnetos/magnetos_both_5
sim/magnetos/magnetos_both_6
sim/magnetos/magnetos_both_7
sim/magnetos/magnetos_both_8
sim/magnetos/magnetos_left_1
sim/magnetos/magnetos_left_2
sim/magnetos/magnetos_left_3
sim/magnetos/magnetos_left_4
sim/magnetos/magnetos_left_5
sim/magnetos/magnetos_left_6
sim/magnetos/magnetos_left_7
sim/magnetos/magnetos_left_8
sim/magnetos/magnetos_off_1
sim/magnetos/magnetos_off_2
sim/magnetos/magnetos_off_3
sim/magnetos/magnetos_off_4
sim/magnetos/magnetos_off_5
sim/magnetos/magnetos_off_6
sim/magnetos/magnetos_off_7
sim/magnetos/magnetos_off_8
sim/magnetos/magnetos_right_1
sim/magnetos/magnetos_right_2
sim/magnetos/magnetos_right_3
sim/magnetos/magnetos_right_4
sim/magnetos/magnetos_right_5
sim/magnetos/magnetos_right_6
sim/magnetos/magnetos_right_7
sim/magnetos/magnetos_right_8
sim/radios/adf1_standy_flip
sim/radios/com1_standy_flip
sim/radios/com2_standy_flip
sim/radios/nav1_standy_flip
sim/radios/nav2_standy_flip
sim/radios/obs1_down
sim/radios/obs1_up
sim/radios/stby_adf1_hundreds_down
sim/radios/stby_adf1_hundreds_up
sim/radios/stby_adf1_ones_down
sim/radios/stby_adf1_ones_up
sim/radios/stby_adf1_tens_down
sim/radios/stby_adf1_tens_up
sim/radios/stby_com1_coarse_down
sim/radios/stby_com1_coarse_up
sim/radios/stby_com1_fine_down
sim/radios/stby_com1_fine_up
sim/radios/stby_com2_coarse_down
sim/radios/stby_com2_coarse_up
sim/radios/stby_com2_fine_down
sim/radios/stby_com2_fine_up
sim/radios/stby_nav1_coarse_down
sim/radios/stby_nav1_coarse_up
sim/radios/stby_nav1_fine_down
sim/radios/stby_nav1_fine_up
sim/radios/stby_nav2_coarse_down
sim/radios/stby_nav2_coarse_up
sim/radios/stby_nav2_fine_down
sim/radios/stby_nav2_fine_up
sim/starters/engage_starter_1
sim/starters/engage_starter_2
sim/starters/engage_starter_3
sim/starters/engage_starter_4
sim/starters/engage_starter_5
sim/starters/engage_starter_6
sim/starters/engage_starter_7
sim/starters/engage_starter_8
sim/systems/avionics_off
sim/systems/avionics_on
pt 3/3
ReplyDeletesim/transponder/transponder_hundreds_down
sim/transponder/transponder_hundreds_up
sim/transponder/transponder_ones_down
sim/transponder/transponder_ones_up
sim/transponder/transponder_tens_down
sim/transponder/transponder_tens_up
sim/transponder/transponder_thousands_down
sim/transponder/transponder_thousands_up
xplm_joy_ail_cntr
xplm_joy_ail_lft
xplm_joy_ail_rgt
xplm_joy_arrest
xplm_joy_art_stab
xplm_joy_B_rud_lft
xplm_joy_B_rud_rgt
xplm_joy_brakesMAX
xplm_joy_brakesREG
xplm_joy_carb_off
xplm_joy_carb_on
xplm_joy_carb_tog
xplm_joy_chute
xplm_joy_con_atc
xplm_joy_ecam_dn
xplm_joy_ecam_up
xplm_joy_fadec
xplm_joy_fail_now
xplm_joy_flapsdn
xplm_joy_flapsup
xplm_joy_fuel_dump
xplm_joy_gear_down
xplm_joy_gear_tog
xplm_joy_gear_up
xplm_joy_glance_l
xplm_joy_glance_r
xplm_joy_idle_hilo
xplm_joy_JATO
xplm_joy_jettison
xplm_joy_lanlights
xplm_joy_lft_brake
xplm_joy_look_dn
xplm_joy_look_lft
xplm_joy_look_rgt
xplm_joy_look_up
xplm_joy_mixt_dn
xplm_joy_mixt_up
xplm_joy_ott_alt
xplm_joy_ott_asi
xplm_joy_ott_atr
xplm_joy_ott_dis
xplm_joy_ott_hdg
xplm_joy_ott_vvi
xplm_joy_pause
xplm_joy_prerotate
xplm_joy_prop_dn
xplm_joy_prop_up
xplm_joy_puffsmoke
xplm_joy_rgt_brake
xplm_joy_rock_aft
xplm_joy_rock_dn
xplm_joy_rock_for
xplm_joy_rock_lft
xplm_joy_rock_rgt
xplm_joy_rock_up
xplm_joy_rot_trm_dn
xplm_joy_rot_trm_up
xplm_joy_rud_cntr
xplm_joy_rud_lft
xplm_joy_rud_rgt
xplm_joy_shutdown
xplm_joy_speedbrake
xplm_joy_start_0
xplm_joy_start_1
xplm_joy_start_2
xplm_joy_start_3
xplm_joy_start_4
xplm_joy_start_5
xplm_joy_start_6
xplm_joy_start_7
xplm_joy_start_all
xplm_joy_throt_dn
xplm_joy_throt_up
xplm_joy_tim_reset
xplm_joy_tim_start
xplm_joy_TOGA
xplm_joy_trev
xplm_joy_trm_dn
xplm_joy_trm_up
xplm_joy_UL_collec
xplm_joy_UL_prerot
xplm_joy_v_cha
xplm_joy_v_fnh
xplm_joy_v_fr1
xplm_joy_v_fr2
xplm_joy_v_fwh
xplm_joy_v_run
xplm_joy_v_spo
xplm_joy_v_tra
xplm_joy_v_twr
xplm_joy_vctswpaft
xplm_joy_vctswpfwd
xplm_joy_yaw_damp
xplm_key_adf_1
xplm_key_adf_2
xplm_key_adf_3
xplm_key_adf_4
xplm_key_adf_5
xplm_key_adf_6
xplm_key_ailtrimL
xplm_key_ailtrimR
xplm_key_back
xplm_key_barodn
xplm_key_baroup
xplm_key_brakesmax
xplm_key_brakesreg
xplm_key_chase
xplm_key_cheatoff
xplm_key_cheaton
xplm_key_com1_1
xplm_key_com1_2
xplm_key_com1_3
xplm_key_com1_4
xplm_key_com2_1
xplm_key_com2_2
xplm_key_com2_3
xplm_key_com2_4
xplm_key_cycledump
xplm_key_down
xplm_key_elvtrimD
xplm_key_elvtrimU
xplm_key_fadec
xplm_key_flapsdn
xplm_key_flapsup
xplm_key_forward
xplm_key_free1
xplm_key_free2
xplm_key_fullscrn1
xplm_key_fullscrn2
xplm_key_gear
xplm_key_hdgdn
xplm_key_hdgup
xplm_key_jettison
xplm_key_left
xplm_key_map
xplm_key_nav1_1
xplm_key_nav1_2
xplm_key_nav1_3
xplm_key_nav1_4
xplm_key_nav2_1
xplm_key_nav2_2
xplm_key_nav2_3
xplm_key_nav2_4
xplm_key_obs1dn
xplm_key_obs1up
xplm_key_obs2dn
xplm_key_obs2up
xplm_key_otto_alt
xplm_key_otto_asi
xplm_key_otto_atr
xplm_key_otto_dis
xplm_key_otto_gps
xplm_key_otto_hdg
xplm_key_otto_hnav
xplm_key_otto_lev
xplm_key_otto_nav1
xplm_key_otto_nav2
xplm_key_otto_vnav
xplm_key_otto_vvi
xplm_key_pause
xplm_key_replay
xplm_key_revthrust
xplm_key_right
xplm_key_rudtrimL
xplm_key_rudtrimR
xplm_key_runway
xplm_key_sbrkoff
xplm_key_sbrkon
xplm_key_smoke
xplm_key_spot
xplm_key_tanspan
xplm_key_targ_dn
xplm_key_targ_up
xplm_key_timedn
xplm_key_timeup
xplm_key_tower
xplm_key_tranID
xplm_key_transpon_1
xplm_key_transpon_2
xplm_key_transpon_3
xplm_key_transpon_4
xplm_key_transpon_5
xplm_key_transpon_6
xplm_key_transpon_7
xplm_key_transpon_8
xplm_key_zoomin
xplm_key_zoomout
I am using your tutorial to create an autopilot gauge.
ReplyDeleteno matter what I try I cannot get the correct value for the dataref.
I am using sim\cockpit\autopilot\autopilot_mode
could you create a simple explanation of how to create a simple dial to see the position of the flight director?