Skip to content
  • Announcements regarding our community

    4 17
    4 Topics
    17 Posts
    S
    Many thanks Derek !
  • Please use this link to gain technical support for any of our products

  • A place to talk about whatever you want

    176 501
    176 Topics
    501 Posts
    DerekD
    @toucan08 said in DH98 MSFS2020, Cockpit View: Perhaps I need to go to MSFS forums with more traffic. I'm not sure there is a Mosquito for MSFS yet. What software are you referring to?
  • 9k Topics
    44k Posts
    Black SquareB
    Sorry for the delay. I was not sure if this would really be feasible to tutorialize, but after looking at the code, I think you will be able to figure it out. Here is the process. Let me know if you have any trouble following it. This is probably one of the more complicated things I have ever offered to walk someone through, so I apologize if I'm assuming any knowledge or skills that you don't already possess. Locate the following block of text in KR87.js: case "frqTransfert": if(this.multiMode != 0) this.multiMode = 0; else SimVar.SetSimVarValue("K:ADF" + this.radioIndex + "_RADIO_SWAP", "Boolean", 0); break; Copy this block below the break;, and rename the case for what you want to call your HTML event. For example, bigInc, will correspond to the HTML event, >H:adf_bigInc. Edit the second to last line of the code block to trigger the native K:Event that you would like. For example... SimVar.SetSimVarValue("K:ADF" + this.radioIndex + "100_INC", "Boolean", 0); For the small knob, which depends on the state of the knob being pulled or not, it would be... if(SimVar.GetSimVarValue("L:var_adfKnobPulled", "bool")){ SimVar.SetSimVarValue("K:ADF" + this.radioIndex + "10_INC", "Boolean", 0); else SimVar.SetSimVarValue("K:ADF" + this.radioIndex + "1_INC", "Boolean", 0); Now, search for ADF_Knob_Frequency_MHz_1 in AnalogTBM.XML. Here, replace the two following K:Events... <CLOCKWISE_CODE>(&gt;K:ADF_100_INC)</CLOCKWISE_CODE> <ANTICLOCKWISE_CODE>(&gt;K:ADF_100_DEC)</ANTICLOCKWISE_CODE> With your own new HTML events: <CLOCKWISE_CODE>(&gt;H:adf_bigInc)</CLOCKWISE_CODE> <ANTICLOCKWISE_CODE>(&gt;H:adf_bigDec)</ANTICLOCKWISE_CODE> This is the basic principle for all the changes that you want to make. Please let me know how this goes, and what else I can help you with. Thanks for being willing to experiment with this on your own! Like I said, I will consider doing this for all my aircraft in the future when I see exactly how many interactions would have to be updated across all my aircraft, but in the meantime, I am happy to help!
  • For all discussion relating to train simulation and Just Trains products

    163 352
    163 Topics
    352 Posts
    DerekD
    This sounds like something Just Trains Support could help with: https://www.justtrains.net/support
  • Got a suggestion or some feedback for us? Drop it in here and we'll take a look!

    162 344
    162 Topics
    344 Posts
    KAPA FlyerK
    I have SBP and SZP and they work fine in 2024 via backward compatibility, save for LoD issues on certain assets within SZP.