Jump to content
The simFlight Network Forums

dwbarnett

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by dwbarnett

  1. Hi Pete, Thank You for the follow up. Just for clarification. [Auto.name of profile] 1=Lua throttle1 2=Lua throttle2 I understand the single profile stuff. However, you named the lua different from my MU2throttle1.lua. Are you saying now to just use the above, since we changed to Luavalue throttle1 on the assignment of axis? Or do I still utilize the MU2throttle1.lua, but the assignment would be Luavalue MU2throttle1. Just wanted to clarify, I know the function and event.param is throttle 1. Thank You Best, David
  2. Oh yeah, forgot to show my updated MU2throttle1.LUA function throttle1(n) if n > -11833 then if n > -4421 then n = -11833 + ((n - -4421) * (16383 - -11833) / (16383 - -4421)) else n = -11833 end end ipc.control(66420, n) -- 66420 is Axis throttle1 set (use 66423 for throttle2 end event.param("throttle1") Best, David
  3. Ok, Pete...follow up. I think the issue with the last error message was the call for throttle1,2 didn't have an end quotation on event.parameter Original was:event.param("throttle1) Changed to: event.param("throttle1") same on throttle 2. Couple of things are happening now: 1. I load the MU2 from a saved flight file. 2. I then start FSUIPC to double-check the LUA setting per axis is correct. 3. When I first move throttle1, FSUIPC shows throttle2 and LUA script for throttle2. 4. After I do a re-scan, throttle 1 shows throttle 1 and LUA throttle1 on the axis menu. Same for throttle 2 Could my saved flight be messing my LUA script up somehow....still not functioning. 5. Exit FSX. Check FSUIPC.log file. 6. No errors on the LUA scripts.....yeah!! However, I don't see any indication they were loaded anymore. If they are loading/running automatically; does it still show in the log file. I searched the manual, did not see any reference on the LUA loading and log file. Finally checking the modules folder. After re-reading the LUA plug-ins manual again; it mentions 3 LUA plugins re ipc stuff. Looking in the LUA plug-ins folder, I see the debug plugin. I don't see the: ipcinit.lua, or the ipcready.lua pugins. Should they be in the modules folder? Hope this helps troubleshoot Pete. Best, David
  4. OK, Pete. I got rid of the first error. On the line 4, I believe it was looking for a ) after the formula. Now after checking the FSUIPC.log file, I get this message now: 108405 *** LUA Error: D:\1FSX\Modules\MU2throttle1.lua:12: unfinished string near '<eof>' 108405 *** LUA Error: D:\1FSX\Modules\MU2throttle2.lua:12: unfinished string near '<eof>' Hope this helps troubleshooting. Thank You Best, David
  5. Thank You so much Pete. Your time and assistance, is greatly appreciated. Best, David
  6. Pete, Thank You so much for your assistance. I'm going to get this set up today. Will this work OK? Go into sim, adjust throttle for the 21%, then mark on quadrant. Enter FSUIPC, move throttle to my mark, note the axis output number at that position. Enter this number in the LUA script you created for me. I would do the same for the power increase area, mark, it,get the numbers. Seems like this should work. If I'm missing something, please let me know. Finally, once I get this working, with your kind patience and assistance. I would like to incorporate the condition levers as well. Would I use the same script? It would be pretty much identical to limiting as on the throttles Pete, Thank You for your patience and help. Apologies again, if you felt offended. Certainly, not my intent. Best, David
  7. hi Pete not at all. Based on the respnse you gave me that I may interpreted wrong. I was trying to be thorough in my explanation. I felt that my verbosiity of explanation, may have frustrated you somewhat. Hence my impression I had more or less worn out my welcome on this issue. You know Pete, I fly 737's for a living. But, when it comes to trying to explain something in flight sim concept, I have difficulty. I take no offence to any of your help. If I was taliking to you personally, I could easily explain my goal.But I suck at trying to convey in this type media. Hence my verbosity. I would like nothing ,more than have your expertise to try and resolve my issue. I also know I have tried to either program and try and model. I decided it's best to give technical advice, or just fly pax from point A-B I will re- read the LUA stuff, so I can at least know what questions I may need to ask. Thank You again, for your valuable time Pete. No offence intended. Best, David
  8. apologies again Pete. Inhad finished an 11:30 duty day. Should hage rested first before posting. To be more succint for you. All you said above......"yes, exactly", right! Thanks for your valuable time. I won' t bother you anymore regarding my issue. Best, David
  9. hi Pete., apologies I can' t explain this properly. I'll give it another go. Ok, essentialy I have the FSW MU 2 product. Due to FSX limitations, and sound file limitations; when throttle travel reached a certain point, approx 21% the sound file would shift to the takeoff sound even though still in ground idle range. I did some tweaking to the sound file to closer emulate the actual plane. If you keep the pwer around 20% or below, it will stay within the parameters needed to use the ground idle sound. anthing beyond that, the sound file for takeoff is used, even when still in ground idle range. I thought if i could note were it was located on my saitek throttle, when increasd reaches approx. 20-21% torque in the sim, I would retain my taxi sounds. and know were on the Saitek vs sim this point was located. I would then note in the sim were flight idle is located. I would mark this spot on the Saitek throttle quad. So, fom the point were I first hit approx 20-21%torque in the sim, marked on my actual Saitek throttle quad; up to were flight idle is in the sim also marked on the throttle quad, I want that range of movement to maintain 20-21% When I reach the mark i made for flight idle in sim and on Saitek, then the torque can increase above the 20-21%range. IE Increasing power for takeoff. This will then hit the area where the sound file changes from flight idle to takeoff sounds. As it is now when taxiing the plane, sometimes the sounds will shift from ground idle to flight idle, even though I'm not in the Flight Idle range. Does this explanation help. I'm simply trying to prevent my sound file changing, within a range of throttle movement. Best, David PS Pete, irregardless if you still don't understand my goal. I Thank You for taking the time to help, non the less.
  10. Hello Pete, Thanks for the Info. When I mentioned the LUA stuff, I just meant I didn't know how to accomplish woth LUA script. If You would like to give me an idea of how to write the script I need, I would use a LUA script no problem I would really like to find a solution if possible Thanks again for all your kind assistance. Best, David
  11. Hi Pete, Thank You so much for this powerful program. Your accolades are well deserved. I'm all set on my setup for the MU-2 from Flysimware. Thus far everything is working fine. Here's my thought and or questions. I have read the manual and advanced manual twice now. I just feel there is a way I could accomplish my goal. Caveat: I am not a programmer, so if it involves LUA stuff, most likely that will be it for me, I'll just use what I have setup now. OK here's the deal. The MU-2 has a TPE331 straight shaft turboprop engine. The way the FSW MU-2 is working now re sound files. If you keep the torque around 20-22% it will maintain it's taxi sound. If you increase torques above that, it shifts to the sound file for takeoff even if still in the ground idle range. Can be a little strange at times. After reading the manuals, I had the idea of marking on my Saitek quadrant were the ground idle range was on the actual sim MU-2. Then use FSUIPC to limit my max torque with in that range to not above 21% torque. Then the sound wouldn't shift to the different sound file used for flight idle-takeoff position. Is there a way I could accomplish this to not increase power above 21% torque, as long as I'm in the ground idle range up to the flight idle range on the plane. I guess also, at some point I would need to do the sync thing as well. It would really add some realism to the plane if possible Apologies Pete, I can be very verbose at times. IN a nutshell: 1. when my throttle is in the MU-2 ground idle range both in FSX and the Saitek quadrant, limit max torque to 21%. 2. When the throttle enters the flight idle range, it would allow the takeoff sound file to play I just have a feeling this would be doable in FSUIPC. Thanks for any "light" you can shed on the subject. Best, David
×
×
  • 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.