Jump to content
The simFlight Network Forums

mudd1293

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    denver

mudd1293's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thank you so much for your time and effort to help me solve this problem! Ed
  2. Thanks for the response Pete. I am using the older MCP (non pro). I updated to the latest FSUIPC and GFDEV.DLL (Same as yours). Still same issue. THe Go FLight website is down until February so, no chance of getting help from them. Bummer.
  3. Hi, I’m trying my best to understand how to use lua for my pmdg js 41 and I’ve gotten some knowledge with regards to it. However, I'm having trouble using the ipcready.lua script. When trying to figure out how to activate the parking brake and turn on a led , I found this provided by Pete to another use: function set_brake(offset, value) if value == 32767 then gfd.SetLight(GFP8, 1, 7) else gfd.ClearLight(GFP8, 1, 7) end end event.offset(0x0BC8, "SW", "set_brake") I changed it to work with my go flight hw and it works when it’s the only thing in the ipcready.lua script. However, if I add anything else to it, it doesn’t work (see below, which includes a script that someone made for thePMDG js41 – it also works when it’s by itself, but not with the above script). I’m sure it’s user error, but cant’ figure out what I’m doing wrong. Any help would be appreciative. prevHDG = -1 prevSPD = -1 prevALT = -1 while 1 do HDG = ipc.readLvar ("L:HDGBug") if HDG ~= prevHDG then stringHDG = string.format("%03d", HDG) gfd.setDisplay(GFMCP,0,1,stringHDG) prevHDG = HDG end SPD = ipc.readLvar ("L:IASBug") if SPD ~= prevSPD then stringSPD = string.format("%03d", SPD) gfd.setDisplay(GFMCP,0,2,stringSPD) prevSPD = SPD end ALT = ipc.readLvar ("L:AltSelAlt") if ALT ~= prevALT then stringALT = string.format("%05d", ALT) gfd.setDisplay(GFMCP,0,4,stringALT) prevALT = ALT end ipc.sleep(50) end function set_brake(offset, value) if value == 32767 then gfd.SetLight(GFP8, 1, 7) else gfd.ClearLight(GFP8, 1, 7) end end event.offset(0x0BC8, "SW", "set_brake")
  4. Hi, I’m hoping somebody can help me with this issue: I have a GoFlight MCP module and I’m trying to use it with the PMDG JS41. I’m using the following lua scripts from http://forum.simflight.com/topic/67270-goflight-mcp-advanced-mcp-pro-pmdg-j41/ I believe I followed the directions and I’m able to use the MCP with PMDG however I’m getting a strange issue: No matter what dial I turnon the MCP, the digit “9”s are not showing up on the MCP module. They show up with default fs airplanes, though. It’s weird. Anytime I try to get a “9” to show, it shows a “0” on the Module, yet it will be “9” in the sim. I’m using the latest FSUIPC (well, it was from Sept 2011). I have the MCP functions in the GoFlight Config software set to “not mapped” and using only the lua files to control the MCP for the PMDG. If anyone has any ideas as to what’s wrong and how to fix it I would be most appreciative. Thanks Ed
  5. Can someone please help me figure out how to get the LEDS working on my go flight t8 using FSUIPC, LUA and PMDG js41? I’m a total noob and have been trying to understand how lua works, but not very successful. I obtained a couple of scripts that others made that allows me to map functions from the PMDG JS41 to my (2) T8 moduless however although the functions work, the leds don’t light up. Below is a script I’m using to turn on the flood light as an example. It is mapped to the third toggle switch from the left on my T8 module. Again, the function works, but no light. I’ve tried adding the command gfd.SetLights(GFT8,0,3) under the third line but it did nothing. Also tried (GFT8,1 (for second t8 module),3) -- Panel flood light on elseif ipcPARAM == 100 then ipc.writeLvar("L:PanelFloodSW", 1) ipc.control(66587, 8029) -- Panel flood light off elseif ipcPARAM == 101 then ipc.writeLvar("L:PanelFloodSW", 0) ipc.control(66587, 8029)
×
×
  • 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.