Jump to content
The simFlight Network Forums

Verybumpy

Members
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

Verybumpy last won the day on July 20 2022

Verybumpy had the most liked content!

Profile Information

  • Gender
    Not Telling
  • Location
    Wisconsin

Verybumpy's Achievements

Newbie

Newbie (1/14)

  • One Year In Rare
  • First Post Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

2

Reputation

  1. Being back into FSX again, I just wanted to follow up. The answer is YES. All the annoying PMDG DC-6 short comings have been rectified with the paid version of FSUIPC4, many .lua scripts and a few LINDA functions.
  2. Thank you kindly ! With your paid for product, and help, I'm now a happy camper and fixed the DC-6's shortcomings. If anyone is interested, much of the newbie Lua code I made is posted in my Avsim thread here... https://www.avsim.com/forums/topic/594234-pmdg-dc-6-force-mapping-fsx-keyboard-and-control-functions/
  3. I press Shift+E to 'open' this lua and then 1 or 2 but it does not function. Can someone point out to me why this doesn't work? Edit: Getting this error: 120781 KEYDOWN: VK=69, Waiting=0, Repeat=N, Shifts=1 120828 .. This key is programmed in FSUIPC4 'Keys' options 120828 LUA.2: beginning "K:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\DC6exitPickTgle.lua" 120828 *** LUA Error: ...Microsoft Games\Microsoft Flight Simulator X\Modules\DC6exitPickTgle.lua:46: unexpected symbol near 'â' Edit2: ^^^^Figured out the above error. Its was because of the odd font characters carried over from a copy/paste of the pdf within the function of the event.key lines. Edit3: So "DC6_Fwd_Toggle" was left in the code causing only fwd exit to work. Removed that line and now everything works. Just need to put some sort of exit Lua command after each door toggle and hopefully voila. --Calling this Lua with Shift+E in Key Presses --fwd below function DC6_ExitFwd_open () ipc.writeLvar("dc6_446_obj", 1) ipc.display("Front Door OPEN") ipc.sleep(4000) end function DC6_ExitFwd_close () ipc.writeLvar("dc6_446_obj", 0) ipc.display("Front Door CLOSED") ipc.sleep(4000) end function DC6_ExitFwd_toggle () if ipc.readLvar("dc6_446_obj") == 0 then DC6_ExitFwd_open () else DC6_ExitFwd_close () end end DC6_ExitFwd_toggle () --aft below function DC6_ExitAft_open () ipc.writeLvar("dc6_451_obj", 1) ipc.display("Rear Door OPEN") end function DC6_ExitAft_close () ipc.writeLvar("dc6_451_obj", 0) ipc.display("Rear Door CLOSED") end function DC6_ExitAft_toggle () if ipc.readLvar("dc6_451_obj") == 0 then DC6_ExitAft_open () else DC6_ExitAft_close () end end --cargo below soon event.key(49, 8, “DC6_ExitFwd_toggle”) event.key(50, 8, “DC6_ExitAft_toggle”) --event.key(51, 8, “DC6_ExitCargo_toggle”)
  4. Hi, I can take the easy route and use a non-standard key combination to command door specific Lua's to open exits but prefer not to. Being a newbie, I can't quite figure out a way to make Ctrl+E+1 or 2 or 3 work for corresponding forward, aft and cargo doors. Obviously, like a dozen other key normal commands, the default Ctrl+E+1 FSX input does not work in this plane. Any solution suggestions are appreciated. This is with the far from perfect PMDG DC-6 in FSX btw. -- forward door toggling Lua code-- function DC6_ExitFwd_open () ipc.writeLvar("dc6_446_obj", 1) return end function DC6_ExitFwd_close () ipc.writeLvar("dc6_446_obj", 0) return end function DC6_ExitFwd_toggle () if ipc.readLvar("dc6_446_obj") == 0 then DC6_ExitFwd_open () else DC6_ExitFwd_close () end end DC6_ExitFwd_toggle () return
  5. Thank you for the replies. I've attached a log using my usual setup with the DC-6. Hopefully the in log notes are understandable. I've delete a bunch of repeat lines btw. Bottom line: All throttle inputs work the plane EXCEPT the gamepad (wired Xbox360) button press. Does this provide any insight if registered FSUIPC can be programmed to handle my item #1? FSUIPC4PMDGforums.zip
  6. Hello, I'm posting this in hopes to find out if by purchasing this product, it can 'repair' the PMDG DC-6. Normally, and most all planes I've purchase, can do all of the list below, but not the DC-6. throttle increase/decrease using game controller buttons Propeller Low/Propeller High using keyboard keys Mixture control using keyboard keys Shift+E then # door activation using keyboard keys map appropriate lights to default keyboard keys Can the payed version of FSUIPC possibly solve everything on this list? i.e. force map this plane's functions to keys or buttons I'm sorry I'm not very familiar with FSUIPC or its limitations so any help is appreciated. Please let me know if more details are needed. Thank you.
×
×
  • 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.