June 19, 200520 yr Hi Folks,As several people (like Bill Leaming and Nick Pike) kindly pointed out, you can modify loaded .xml gauges while FS is running, by using the RELOAD_PANELS event. They even uploaded a small .xml gauge that does this, which you can add to your panel.Another way of doing this, is by adding the RELOAD_PANELS event to a free joystick button or keyboard key in the fs9.cfg file. E.g., adding RELOAD_PANELS=82,11to the KEYBOARD_MAIN section couples the event to keystroke "Cntr-Shift-R".A word of caution though.When the .xml gauge is reloaded (either by using the Reload gauge or the keystroke):- G:Vars are reset to 0.- L:Vars are NOT (so they keep their value).Which is the same behaviour as when you switch from WindowedMode to FullScreenMode (or vice versa) in FS2004.This can be important when you use vars for things like gauge initialisation/states.On one hand, you would like to maintain the gauge state in an L:Var instead of an G:Var, to prevent the gauge to re-initialise upon window switching; but if you do this, it ALSO means that the gauge state is NOT reset when you apply this UNLOCK&RELOAD feature...(which you probably would expect).So be warned :-) Cheers, Rob Barendregt
June 19, 200520 yr Author Another tip to this.. I assign the "designer" buttons only in slew mode that way my FSUIPC main controls ( advanced button programming ) stay put. It seems the .cfg will accept XML type commands as these are not all available through the assignment dialog.BUTTON_DOWN_EVENT_01=VIEW_MODEBUTTON_DOWN_EVENT_02=PAN_RESETBUTTON_DOWN_EVENT_03=SLEW_RESETBUTTON_DOWN_EVENT_04=REFRESH_SCENERYBUTTON_DOWN_EVENT_05=RELOAD_USER_AIRCRAFTBUTTON_DOWN_EVENT_06=READOUTS_SLEWBUTTON_DOWN_EVENT_07=RELOAD_PANELSBUTTON_DOWN_EVENT_09=PAUSE_TOGGLE Regards,Roman FS RTWR SHRS F-111 JoinFS Little Navmap
Create an account or sign in to comment