Jump to content
The simFlight Network Forums

Ho

new Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Ho

  1. Hi, I found this script somewhere on the Internet. It's pretty useful when comes to calculate the touchdown vertical speed and acceleration. However, in PMDG 777 I've always got very high G (about 2.5-2.9) though my V/S was just around 100fpm. I don't know why, but I'd like to share the script with you. If you have any idea about my issue, please let me know.

    Sincerely,

    Thinh.

     

    armed = false

     

    function landingflaps(off, val)

    if (val > 5000) and not armed then

    if ipc.readUW(0x0366) == 0 then

    armed = true

    ipc.display("Touchdown monitor armed", 10)

    end

    end

    end

     

    event.offset(0x0BDC, "SD", "landingflaps")

     

    function onground(off, val)

    if val ~= 0 then        

    airspeed = math.floor((ipc.readSD(0x02BC) / 128) + 0.5)

            if (airspeed > 30 ) and (armed == true) then

    armed = false

    landvs = -math.floor( (ipc.readSD(0x030C) * 60 * 3.28084 / 256) + 0.5)

    landG = math.floor((ipc.readSD(0x02BC) / 62.4) + 0.5) / 100

    ipc.display("Touchdown:  " .. landvs .. " fpm   " .. landG .. " G   " .. airspeed .. " knts   ", 30)

    end

    end

    end

     

    event.offset(0x0366, "UW", "onground")

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.