Jump to content
The simFlight Network Forums

kaha

Members
  • Posts

    254
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by kaha

  1. Perfect! Thank you John. Karl
  2. John, I'm not familiar with simvars, so I probably need your help here. From the FSUIPC manual I learned that I need to have a file named myOffsets.txt. This is my try: // offset, size, simvar, type, units [, w] 0x66C0, 4, object_class, S16, Number I don't know the max length of the simvar. Anyway, I get error messages in the console. I found a simvar CATEGORY https://docs.flightsimulator.com/html/Programming_Tools/SimVars/Miscellaneous_Variables.htm If I use that one there are no errors in the console but the string is empty. Could you please guide me how to use that? Thanks, Karl
  3. I think this is now something that together with a certain trim speed setting in the tablet works quite nicely. Thank you for your help! Karl T6A_Elev_Trim.lua
  4. Ok, thank you.
  5. So the button release: release to 'LuaClear <luaScriptName>' with parameter 0 doesn't immediately quit the script?
  6. Yes. I'm not jumping back and forth between aircraft in one session. I always restart the sim when I change aircraft. Thank you, I see. I will use it. The only thing I'm thinking about is the following: If I press the trim button momentarily the script maybe sends the control just once. Not much will happen to the trim then. In fact the trim change will not be noticeable. I want to implement that the script sends the control continuously for at least 100 milliseconds (or some adjustable value), even if I let go of the button. With your example the script will end as soon as I release the button, though. Karl
  7. Thank you John. I have two versions of a Lua script now, the 2nd one is much smoother (obviously) and with it I can control the trim pretty nicely. I will also take a look at yours. Karl Elevator_Trim.zip
  8. Reading back the offset I see what I wrote to it. Changing the trim using "Elev Trim Up/Down" does not change the content of 0BC0. I'll let you know about the Lua script.
  9. Unfortunately writing to 0BC0 does not work for the T-6A (as it doesn't for their new "Dirty Thirty" in MSFS2024). And reading from 0BC0 will not read the real trim but just what I wrote to it. I will look into using a Lua script. Thank you John!
  10. Yes, that's what I do. Changing ButtonRepeat=20,10 to ButtonRepeat=0,0 does the job, trim speed then is as fast as if I bind a button to the same control (Elev Trim Up) in the sim., But this applies to all buttons. I would need this for the trim buttons and for the T-6A only. Karl
  11. How can I achieve that a button, if I hold it down,, is immediately and continuously visible as pressed in the sim? The BlackBird T-6A has a trim system that needs a button to be pressedcontinuously and in the tablet it can be adjusted how fast the trim will develop. I want this only for the buttons that are bound to the trims, so using "ButtonRepeat" probably is not appropriate. Karl
  12. Thank you, I'll take a look! Karl
  13. I put my 46 addons back into the Community folder and enabled them all. It now works. Sorry, I just didn't realize that everything got disabled. I certainly didn't do it bacause you have to click each single addon. Anyway, happy it works again.
  14. I didn't realize it because I was using an aircraft from the store.
  15. I found the cause. Somehow my Community content got disabled.
  16. I don't know how to check that. I rebooted and emptied the Community folder (except the fsuipc module). To no avail. I don't know a way to verify files for the store version.
  17. I un- and then reinstalled FSUIPC but it's still not working in MSFS2024. What can I do? All my axis concerning throttle, prop, mixture, spoilers, etc. rely on auto scripts, also all my Arduinos. The problem started yesterday afternoon, shortly before the SU2 update was live. I probably used MSFS2024 while the SU2 update went live. Only on the next start of 2024 I got the update. Here's the screenshot of my SU2 update, timestamp 17:03. Now please check the timestamp of the 2024 log file in my screenshot 2077, that was the last log with timestamp 15:42 SU2 Update.zip
  18. Thank you for the explanation. The FSUIPC WASM module isn't in the list.
  19. Hmm.. strange... "List Lvars" does nothing. And "Reload and List Lvars" also does nothing.
  20. Do you also have MSFS2020 installed?
×
×
  • 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.