Jump to content

Redlander

Frozen-Inactivity
  • Content Count

    26
  • Donations

    $0.00 
  • Joined

  • Last visited

Everything posted by Redlander

  1. Yes, you can do that, at least in FSX (not tried in FS9).I use this macro in a HUD I'm working on - to cycle through the colors for the data displays:<Macro Name="Colors">%('Dark_Orange' 'Aqua' 'Med_Tan' 'Blue' 4 (L:HUDColor, number) case)</Macro>Sample of the syntax:<Text X = "80" Y = "18" Length = "10" FontSize = "18" Color = "@Colors" Luminous = "Yes">Hope this helps. Bob
  2. A very minor problem:In my FSX/UTX, the default Beech Baron has the hilight function in the clock.xml file but the numerals are not hilighted when I move the mouse pointer over the digital readout. My Avsim forums search found no help.This is a stock MS gauge so perhaps it's just me - maybe some obscure setting I've missed?Or is it inoperative for everyone?
  3. Thank you! Works fine. Now if I can only figure out why the range is erratic. Some airports show up at about 20 miles but most don't pop up until I'm within 4 or 5 miles.It is a puzzlement.Regards, Bob
  4. Below is a small gauge I made by extracting some code from the Nav-Info gauge by Edi Hirsch (Avsim library - FS2004 gauges). I would like to modify it to show only the nearest airport that has a runway of 4000 feet or longer - but I can't figure out how to make it ignore all the short airstrips.Can it be done? Cheers, Bob ****************************<Gauge Name="NearestAirport"> <Macro Name="c">C:fs9gps</Macro> <Element> <Rectangle Width="100" Height="60" LineWidth="1.5" Color="Brown" FillColor="Black"/> </Element> <Update Hidden = "No">(A:GPS POSITION LAT, Radians) (>@c:NearestAirportCurrentLatitude, Radians) (A:GPS POSITION LON, Radians) (>@c:NearestAirportCurrentLongitude, Radians) 5 (>@c:NearestAirportMaximumItems) 20 (>@c:NearestAirportMaximumDistance, NMiles)</Update><Element> <Position X="4" Y="5"/> <FormattedText X="90" Y="50" Length="30" FontSize="14" Adjust="Left" Tabs="0,10" Color="White"> <String> %((@c:NearestAirportItemsNumber) 1) %((@c:NearestAirportCurrentIdent))%!s!\t\t\t %((@c:NearestAirportCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!°\t\t\t %((@c:NearestAirportCurrentDistance, nmiles))%!.1f! nm\n\n\t\t\t\t\t\t %((@c:NearestAirportCurrentLongestRunwayLength, feet))%!d! ft </String> </FormattedText> </Element></Gauge>
  5. >I assume you actually tried 256>(>K:SIM_RATE_SET) in FSX and it didn't work...Yes, I did try that. It didn't work - but your suggestion does.Nifty solution! Thank you kindly.Cheers, Bob
  6. >did you ever find a solution? i would like to be able to do>this too.Never did. But, since it's not very important I haven't tried very hard. If someone smarter than me (everyone) has some spare time maybe they can figure out a work-around - just for fun. Hang in there! Bob
  7. >Is SHFT = and SHFT - and SHFT , (comma) no longer used in>standard FSX assignments?Apparently not. Frankly, I hadn't noticed - maybe someone else knows.LOL - I can't remember more than 5 or 6 anyway so it doesn't matter to me! I bet the guys who wrote them don't know them all either!Take care, Bob
  8. Hi Vaughn,All the key commands are in the standard.xml file located here:"C:Documents and SettingsYOURUSERNAMEApplication DataMicrosoftFSXControlsStandard.xml"I sorted them in my word processor and used the "find-and replace" command (CTRL+H) and macros to delete all the junk.Just something to keep a bored, retired old geezer busy!Hang in there! Bob
  9. Here are all the key commands, sorted alphabetically. It doesn't look like there are many unassigned. Hope this helps.Cheers,Bob***************************************1..........................SELECT_12..........................SELECT_23..........................SELECT_34..........................SELECT_4A..........................NEXT_SUB_VIEWB..........................BAROMETRICBackspace..................ZOOM_1XC..........................COM_RADIOCaps_Lock..................MP_VOICE_CAPTURE_START/STOPCTRL+1.....................RADIO_VOR1_IDENT_TOGGLECTRL+2.....................RADIO_VOR2_IDENT_TOGGLECTRL+3.....................MARKER_SOUND_TOGGLECTRL+4.....................RADIO_DME1_IDENT_TOGGLECTRL+5.....................RADIO_ADF_IDENT_TOGGLECTRL+A.....................AP_APR_HOLDCTRL+B.....................AP_BC_HOLDCTRL+Backspace.............EYEPOINT_FORWARDCTRL+C.....................EXITCTRL+D.....................YAW_DAMPER_TOGGLECTRL+E.....................ENGINE_AUTO_STARTCTRL+Enter.................EYEPOINT_BACKCTRL+F.....................TOGGLE_FLIGHT_DIRECTORCTRL+F1....................PROP_PITCH_HICTRL+F2....................PROP_PITCH_DECRCTRL+F24...................RUDDER_TRIM_RIGHTCTRL+F3....................PROP_PITCH_INCR_SMALLCTRL+F4....................PROP_PITCH_LOCTRL+G.....................GEAR_PUMPCTRL+H.....................AP_HDG_HOLDCTRL+J.....................TOGGLE_JETWAYCTRL+K.....................JOYSTICK_CALIBRATECTRL+L.....................LANDING_LIGHTS_TOGGLECTRL+M.....................AP_MACH_HOLDCTRL+N.....................AP_NAV1_HOLDCTRL+Num_0.................RUDDER_TRIM_LEFTCTRL+Num_1.................VIEW_REAR_LEFT_UPCTRL+Num_2.................VIEW_REAR_UPCTRL+Num_3.................VIEW_REAR_RIGHT_UPCTRL+Num_4.................AILERON_TRIM_LEFTCTRL+Num_5.................VIEW_UPCTRL+Num_6.................AILERON_TRIM_RIGHTCTRL+Num_7.................VIEW_FORWARD_LEFT_UPCTRL+Num_8.................VIEW_FORWARD_UPCTRL+Num_9.................VIEW_FORWARD_RIGHT_UPCTRL+O.....................AP_LOC_HOLDCTRL+P.....................MP_PAUSE_SESSIONCTRL+Q.....................VIEW_ALWAYS_PAN_DOWNCTRL+R.....................AP_AIRSPEED_HOLDCTRL+S.....................VIEW_PREVIOUS_TOGGLECTRL+Scroll_Lock...........ABORT.....CTRL+SHIFT+9...............CENTER_NT361_CHECKCTRL+SHIFT+A...............ADFCTRL+SHIFT+Backspace.......EYEPOINT_LEFTCTRL+SHIFT+C...............DEC_COWL_FLAPSCTRL+SHIFT+D...............FUEL_DUMP_TOGGLECTRL+SHIFT+Enter...........EYEPOINT_RIGHTCTRL+SHIFT+F...............MP_PLAYER_FOLLOWCTRL+SHIFT+F1..............MIXTURE_LEANCTRL+SHIFT+F2..............MIXTURE_DECRCTRL+SHIFT+F3..............MIXTURE_INCR_SMALLCTRL+SHIFT+F4..............MIXTURE_RICHCTRL+SHIFT+G...............AUTO_THROTTLE_TO_GACTRL+SHIFT+H...............HEADING_BUG_SELECTCTRL+SHIFT+I...............YAXIS_INVERT_TOGGLECTRL+SHIFT+L...............TOGGLE_AIRCRAFT_LABELSCTRL+SHIFT+Num_2...........LANDING_LIGHT_DOWNCTRL+SHIFT+Num_4...........LANDING_LIGHT_LEFTCTRL+SHIFT+Num_5...........LANDING_LIGHT_HOMECTRL+SHIFT+Num_6...........LANDING_LIGHT_RIGHTCTRL+SHIFT+Num_8...........LANDING_LIGHT_UPCTRL+SHIFT+O...............MP_PLAYER_CYCLECTRL+SHIFT+Q...............VIEW_ALWAYS_PAN_UPCTRL+SHIFT+R...............AIRSPEED_BUG_SELECTCTRL+SHIFT+T...............VIEW_PANEL_ALPHA_SELECTCTRL+SHIFT+Tab.............PREV_VIEWCTRL+SHIFT+U...............AUTORUDDER_TOGGLECTRL+SHIFT+V...............INC_COWL_FLAPSCTRL+SHIFT+VK_RBRACKET.....MP_CHATCTRL+SHIFT+VK_SLASH........INVOKE_HELPCTRL+SHIFT+X...............VIRTUAL_COPILOT_TOGGLECTRL+SHIFT+Y...............TOW_PLANE_REQUESTCTRL+SHIFT+Z...............ALTITUDE_BUG_SELECTCTRL+Space.................EYEPOINT_RESETCTRL+T.....................AP_ATT_HOLDCTRL+Tab...................NEXT_VIEWCTRL+V.....................AP_WING_LEVELERCTRL+VK_LBRACKET...........SCRIPT_EVENT_1CTRL+VK_MINUS..............VIEW_CHASE_DISTANCE_SUBCTRL+VK_PERIOD.............PARKING_BRAKESCTRL+VK_PLUS...............VIEW_CHASE_DISTANCE_ADDCTRL+VK_RBRACKET...........SCRIPT_EVENT_2CTRL+VK_SEMICOLON..........SITUATION_RESETCTRL+VK_SLASH..............INVOKE_HELPCTRL+VK_TILDE..............SIMUI_WINDOW_HIDESHOWCTRL+W.....................TOGGLE_WATER_RUDDERCTRL+X.....................VIRTUAL_COPILOT_ACTIONCTRL+Y.....................MOUSE_AS_YOKE_TOGGLECTRL+Z.....................AP_ALT_HOLDD..........................HEADING_GYRO_SETE..........................ENGINEEnter......................MP_ACTIVATE_CHATEsc........................USER_INTERRUPTF..........................DMEF1.........................THROTTLE_CUTF10........................VIEW_CAMERA_SELECT_2F11........................VIEW_CAMERA_SELECT_3F12........................VIEW_CAMERA_SELECT_4F2.........................THROTTLE_DECRF24........................RUDDER_RIGHTF3.........................THROTTLE_INCR_SMALLF4.........................THROTTLE_FULLF5.........................FLAPS_UPF6.........................FLAPS_DECRF7.........................FLAPS_INCRF8.........................FLAPS_DOWNF9.........................VIEW_CAMERA_SELECT_1G..........................GEAR_TOGGLEH..........................ANTI_ICE_TOGGLEI..........................SMOKE_TOGGLEJ..........................JET_STARTERK..........................POINT_OF_INTEREST_CYCLE_NEXTL..........................ALL_LIGHTS_TOGGLEM..........................MAGNETON..........................NAV_RADIONum_0......................RUDDER_LEFTNum_1......................ELEV_TRIM_UPNum_2......................ELEV_UPNum_3......................DECREASE_THROTTLENum_4......................AILERONS_LEFTNum_5......................CENTER_AILER_RUDDERNum_6......................AILERONS_RIGHTNum_7......................ELEV_TRIM_DNNum_8......................ELEV_DOWNNum_9......................INCREASE_THROTTLEO..........................STROBES_TOGGLEP..........................PAUSE_TOGGLEQ..........................SOUND_TOGGLER..........................SIM_RATES..........................VIEW_MODESHIFT+1....................PANEL_1SHIFT+2....................PANEL_2SHIFT+3....................PANEL_3SHIFT+4....................PANEL_4SHIFT+5....................PANEL_5SHIFT+6....................PANEL_6SHIFT+7....................PANEL_7SHIFT+8....................PANEL_8SHIFT+9....................PANEL_9SHIFT+A....................PREV_SUB_VIEWSHIFT+B....................ROTOR_BRAKESHIFT+Backspace............EYEPOINT_DOWNSHIFT+Caps_Lock............MP_BROADCAST_VOICE_CAPTURE_START/STOPSHIFT+D....................RELEASE_DROPPABLE_OBJECTSSHIFT+E....................TOGGLE_AIRCRAFT_EXITSHIFT+Enter................EYEPOINT_UPSHIFT+F....................REQUEST_FUEL_KEYSHIFT+F10..................KNEEBOARD_VIEWSHIFT+F4...................TOGGLE_AFTERBURNERSHIFT+G....................TOGGLE_TAILWHEEL_LOCKSHIFT+H....................PITOT_HEAT_TOGGLESHIFT+K....................POINT_OF_INTEREST_CYCLE_PREVIOUSSHIFT+L....................PANEL_LIGHTS_TOGGLESHIFT+M....................TOGGLE_MASTER_BATTERY_ALTERNATORSHIFT+Num_0................SNAP_TO_PANELSHIFT+Num_1................VIEW_REAR_LEFTSHIFT+Num_1+Num_5..........VIEW_REAR_LEFT_UPSHIFT+Num_2................VIEW_REARSHIFT+Num_2+Num_4..........VIEW_REAR_LEFTSHIFT+Num_2+Num_5..........VIEW_REAR_UPSHIFT+Num_2+Num_6..........VIEW_REAR_RIGHTSHIFT+Num_3................VIEW_REAR_RIGHTSHIFT+Num_3+Num_5..........VIEW_REAR_RIGHT_UPSHIFT+Num_4................VIEW_LEFTSHIFT+Num_4+Num_5..........VIEW_LEFT_UPSHIFT+Num_4+Num_8..........VIEW_FORWARD_LEFTSHIFT+Num_5................VIEW_DOWNSHIFT+Num_6................VIEW_RIGHTSHIFT+Num_6+Num_5..........VIEW_RIGHT_UPSHIFT+Num_6+Num_8..........VIEW_FORWARD_RIGHTSHIFT+Num_7................VIEW_FORWARD_LEFTSHIFT+Num_7+Num_5..........VIEW_FORWARD_LEFT_UPSHIFT+Num_8................VIEW_FORWARDSHIFT+Num_8+Num_5..........VIEW_FORWARD_UPSHIFT+Num_9................VIEW_FORWARD_RIGHTSHIFT+Num_9+Num_5..........VIEW_FORWARD_RIGHT_UPSHIFT+Num_Del..............PAN_RESETSHIFT+O....................MOUSE_LOOK_TOGGLESHIFT+P....................TOGGLE_PUSHBACKSHIFT+R....................AUTO_THROTTLE_ARMSHIFT+S....................VIEW_MODE_REVSHIFT+T....................MP_TRANSFER_CONTROLSHIFT+V....................VOR_OBSSHIFT+VK_COMMA.............ROTOR_GOV_SWITCH_TOGGLESHIFT+VK_MINUS.............MINUS_SHIFTSHIFT+VK_PERIOD............ROTOR_CLUTCH_SWITCH_TOGGLESHIFT+VK_PLUS..............PLUS_SHIFTSHIFT+VK_RBRACKET..........NEW_MAPSHIFT+VK_SLASH.............SPOILERS_ARM_TOGGLESHIFT+W....................PANEL_HUD_PREVIOUSSHIFT+Y....................TOW_PLANE_RELEASESHIFT+Z....................READOUTS_FLIGHTSpace......................MOUSE_LOOK_TOGGLET..........................XPNDRU..........................POINT_OF_INTEREST_TOGGLE_POINTERV..........................CAPTURE_SCREENSHOTVK_DIVIDE..................VIEWVK_LBRACKET................NEW_VIEWVK_MINUS...................MINUSVK_MULTIPLY................BRAKES_LEFTVK_PAUSE...................PAUSE_TOGGLEVK_PERIOD..................BRAKESVK_PLUS....................PLUSVK_QUOTE...................VIEW_WINDOW_TO_FRONTVK_RBRACKET................CLOSE_VIEWVK_SCROLL..................ATCVK_SEMICOLON...............SITUATION_SAVEVK_SLASH...................SPOILERS_TOGGLEVK_SUBTRACT................BRAKES_RIGHTVK_TILDE...................ATCW..........................PANEL_HUD_NEXTX..........................FREQUENCY_SWAPY..........................SLEW_TOGGLEZ..........................AP_MASTER*********************************************
  10. In FS9 I put a click spot next to the clock that let me instantly pop back to a simulation rate of 1 - after smoking along for awhile at a higher rate.This worked: 256 (>K:SIM_RATE_SET).Unfortunately MS did not include this SET command in FSX.This is no big deal, and I can certainly live without it, but I'm curious about whether it can be done somehow. Does anyone know of a work-around that will do this trick?Cheers, Bob
  11. Nice going, Tom - Your amended code works perfectly.Jan, I got yours to work also.Much thanks to you both!Best regards, Bob
  12. Hi Tom,I'm no programmer but I played with all combinations of the "7" and "6" values and all I got was either steady blinking or just one quick flash - no combo permitted an adjustment of the flash timing. Thanks for giving this your time. Bob
  13. The gauge below begins flashing alternating red and white when the aircraft descends through the decision height (selected in a separate radar altimeter). I would like to have the flashing stop after three seconds. Can that be done? I didn't spot any solution in my search of the forum or FAQ - I hope I didn't miss something obvious!*********************************************(A:Radio height, feet) 1000 <%((A:DECISION HEIGHT, feet))%!4d! DH*******************************************Cheers, Bob
  14. This is what I use to set the elevator to the optimum position for takeoff:(A:Elevator trim position,part) 1400 (>K:ELEVATOR_TRIM_SET)Make a little button bitmap and stick it somewhere on the instrument panel.You'll need to experiment with the positioning number (the 1400 shown in the click statement) until you find the perfect spot.Hope this helps. Cheers, Bob
  15. Hello fellow sim addicts!I made this little gauge for FSX users to replace the RELOAD_PANELS button mentioned by Bill Leaming since, as he stated, it doesn't work in FSX.I find that in FSX you no longer have to "unlock" xml files (or the panel.cfg file) before you can edit them with the sim running.However, you do have to "unlock" bitmaps by clicking on this reload button BEFORE you open and alter the bitmap.You can leave files (or a bitmap) open while you work - just save all changes before going back to the sim.There, to instantly update the gauge you're working on, just click on this button.The xml file below is ready for use: (Just copy and paste) R(>K:RELOAD_USER_AIRCRAFT)Hope someone finds this useful. Cheers, Bob Picht
  16. This works for me:%((A:NAV1 Radial,degrees) 180 +)%!03d!Cheers, Bob
  17. Hi Steve,I checked this on my own HUD and find that the mouse click won't work when the background is RGB 0,0,0 - which of course is the background of a HUD! Ooops!However, it WILL work if you size it and position it so that the click area is over a portion of the HUD framework (perhaps adjacent to your text?).In short, you can place an invisible mouse click area anywhere on the panel EXCEPT in the sim's transparent zones (RGB 0,0,0).Hope you can somehow get this to work for you.Cheers, Bob
  18. The size tag will create a transparent gauge.Here's a sample, which I named SimRateReset.xml, which resets the sim rate to 1.0 when you click on this "invisible" gauge. Make it any size you like and put it at any handy spot on your panel.(CAREFUL! Don't forget where you put it, grin!)256 (>K:SIM_RATE_SET)Cheers, Bob
  19. That works perfectly! Thank you very much, Jan.Cheers, Bob
  20. According to Nick Pike's nifty tutorial the mouse clicks in this little gauge should work - but they don't. Am I missing some snippet of code? (I'm not a programmer.) I'll be grateful if someone can set me straight here. Regards, Bob.%((P:Simulation rate, number) d 100 >=)%{if}%!5.1f!%{else}%!5.2f!%{end}(M:Event) 'LeftSingle' (>K:SIM_RATE_INCR) (M:Event) 'RightSingle' (>K:SIM_RATE_DECR)
  21. I'm trying to use the left and right mouse buttons to operate the pitot heat switch. The left button will turn it on but the right one won't work. What am I doing wrong here? (I based this on what I was able to glean about the use of mouse events in the fs9gps file but I'm not a programmer and don't fully understand the complicated syntax.)(A:Pitot heat,bool)(M:Event) 'LeftSingle' scmp 0 == (>K:PITOT_HEAT_ON) 0 == and if{ 1 (K:PITOT_HEAT_OFF) (M:Event) 'RightSingle' scmp 0 == (>K:PITOT_HEAT_OFF) 0 == and if{ 1 (K:PITOT_HEAT_ON)Cheers, Bob
  22. This works for me:%((A:ADF1 Radial,degrees) (A:Plane heading degrees magnetic,degrees) + dnor )%!03d!Hope this helps you. Cheers, Bob
×
×
  • Create New...