Jump to content

Buzzer

Registered Users
  • Posts

    16
  • Joined

Buzzer's Achievements

Expert  Simmer

Expert Simmer (3/7)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

11

Reputation

  1. Totally unusable, why change something that has worked fine for many years? Change is, and should be, only required when there is something new and better to offer. Change for the sake of change is not progress.
  2. Thanks Top Gun, that looks like what I need. Now just have to get the coding right.
  3. Thanks for that, I was trying to use the "rng" operator but could not get the syntax correct. The complete code that you included works fine as far as it goes, but like my original, it still has problems. If I am sitting on the runway at 108 deg M, and scroll in a selected heading back to 0 deg (north), the left arrow is showing (as it should). But, when I take one more click to 359 deg, the right arrow shows. It is obviously a problem with negative numbers etc. I will also attempt (when I get this bit sorted), to lock out the 10 degrees from 175 to 180 at the rear of the aircraft, so that no arrow will show. But that is for another day. Bottom line here is that I am trying to create a fully functional sim version of the new Bendix King Aerocruze 230 autopliot, which has the indication function that I am trying to create.
  4. I am creating a new autopilot, and mostly have it working. However I would like to have an indication that shows a left arrow or a right arrow when the "heading hold" function is activated. This will give a visual indication of the turn of the aircraft. I have the heading selection process working fine but would like to show a visual indication of turn. This is the relevant part which works until the subtraction of the 2 variables for different values create problems with negative numbers. Left arrow for a left turn (more than 2 deg), ahead arrow for 2 deg either side of current heading and right arrow for right turn (more than 2 deg). (A:Avionics Master Switch,bool) 1 == (A:Autopilot Heading Lock,bool) 0 == && ((A:Autopilot heading lock dir,degrees) (A:Plane Heading Degrees Magnetic,degrees) - ) -2 > 2 ((A:Autopilot heading lock dir,degrees) (A:Plane Heading Degrees Magnetic,degrees) - ) -2 ((A:Autopilot heading lock dir,degrees) (A:Plane Heading Degrees Magnetic,degrees) - ) 2 > What I cannot figure is how to normalise the numbers or convert to absolute etc. Any help would be appreciated.
  5. I am trying to create an XML switch to syncronise the props in an old twin engine aircraft in FSX (or P3D). The aim is to activate the switch to automatically set the throttle, prop pitch, mixture and cowl flaps for engine 2 to whatever the equivalent is for engine 1. What I have so far works as required for throttle, prop pitch and mixture, but after trying several options, I cannot get the cowl flaps to work, they stubbornly refuse to syncronise. This is what I have so far..... (M:Event) 'LeftSingle' scmp 0 == if{ (A:General Eng Throttle Lever Position:1,percent) 163.83 * (>K:THROTTLE2_SET) (A:General eng1 propeller lever position, percent) 163.83 * (>K:AXIS_PROPELLER2_SET) (A:general eng mixture lever position:1,percent) 163.83 * (>K:MIXTURE2_SET) (A:Recip eng cowl flap position:1,percent) 163.83 * (>K:COWLFLAP2_SET)} (L:EngineSync) ! (>L:EngineSync) 0 I already have 2 dial switches to individually set the cowl flaps and that works fine. The first 3 functions work perfectly but not the cowl flaps. The multiplier 163.83 *, is to convert the percentage to a range between 0 and 16383 to set each function. Any idea for what could be wrong?
  6. Thanks Paul This is what I ended up with. I have also included color changes for the different ranges. 1 %((A:general eng throttle lever position:1,percent) 10 (A:general eng throttle lever position:1,percent) 30 (A:general eng throttle lever position:1,percent) 75 (A:general eng throttle lever position:1,percent) 90 )%{if}T/OFF%{end}
  7. Thanks Paul, but my problem is not with the display, I am OK with that. My problem is how to link a max and min range value for the throttle with the script display. For example, if I set the throttle range as 10 and 75
  8. I am trying to create an XML gauge to show script for ranges of throttle position such as: IDLE for a range between 0 and 10% CRUISE between 10 and 75% CLIMB between 75 and 90% TAKE OFF over 90% This works for IDLE: (A:general eng throttle lever position:1,percent) 10 IDL If I try some {IF} statements such as: (%((A:general eng throttle lever position:1,percent) 10 (%((A:general eng throttle lever position:1,percent) 10 > (A:general eng throttle lever position:1,percent) 75 (%((A:general eng throttle lever position:1,percent) 75 > (A:general eng throttle lever position:1,percent) 90 (%((A:general eng throttle lever position:1,percent) 90 > )%{if}T/O%{end} I cannot get anything to work. Any help appreciated. It is obviously a problem with or , but I cannot get anything to work.
  9. Can anyone suggest a good reference regarding on the use of Luminous and/or Bright="Yes" or "No" in 2D panels. I have been trying to set XML gauges and setting the panel.cfg file to "no_luminous=1" for individual panels, but whatever I do they seem to have a mind of their own. Whenever I reload the aircraft the brightness and/or the luminosity of individual gauges changes randomly. Setting luminous="Yes" (or "No") works OK then the next time the aircraft is loaded, the lighting for some gauges gauges is different.
  10. Thank you, I found the problem. I must have accidentally moved the vertical slider on FS Panel Studio. It was only occurring on one panel but took a while to locate the problem.
  11. As part of my therapy while hiding from this COVID-19 situation, I have been building a 2D cockpit for the Flight Replicas DC4. I have it almost finished but have a problem with the view forward from inside the aircraft in MAIN_PANEL view. When the aircraft loads, the view of the outside through the windscreen only covers about 40% from the top (452 pixels on a 1920x1080 monitor). I can drag the lower edge to the bottom of the screen and all is fine, until I swap to another screen and return to the main, whereby the view is once again reduced to 40%. All other screens are OK and show a full view of the outside (excluding that portion that is obstructed by the aircraft framing). No other aircraft does this and they are all OK. I have checked the [VIEWS] and [Window00] sections and compared to other aircraft but cannot find any explanation. I have searched the internet for some clue but can only find information about setting up views etc. If anyone can point me in the right direction I would really appreciate it.
×
×
  • Create New...