Jump to content
The simFlight Network Forums

kaha

Members
  • Posts

    190
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by kaha

  1. Such a function would be very nice to have. It's easy.
  2. Hmmm... I could read the .log file and parse the input events FSUIPC found.
  3. Ok. The script does not end, so that's fine. Maybe there's a way to check if a specific input event is valid for the aircraft loaded? Good luck with your PC! Karl
  4. I get errors logged if I send input events that are not subscribed. Here's an example: 646938 *** LUA Error: C:\FSUIPC7\l_kaha_lua.lua:706: Error sending Input Event 'AS530_COM_VLOC_Khz' Can I switch error logging off for this? Sometimes I send multipüle input events so it works for different aircraft. Else I would need to have an if else construct which means I have to touch the Lua file for each new aircraft.
  5. Ok, Axis Steering Set is fine. Thank you, Karl
  6. Thank you, I will try that.
  7. I see. So what would I have to do to get the following: - nose wheel steers with tiller but not with rudder - rudder deflects with pedals but not with tiller This works if I bind the tiller to the in sim "Nose Wheel Steering Axis" control. I also tested with the standard Cessna Citation Longitude.
  8. Here we go. FSUIPC7 log.zip
  9. Ok, this now working I still have troubles to set up the tiller. I want the tiller to move the front wheel but also the rudder. The rudder should move least at low ground speed and most at high ground speed. Therefor I use MaxSteerSpeed = Q The rudder shows max deflection at low speed and least deflection at high speed, however. Also, if I change anything in the steering axis calibration the MaxSteerSpeed parameter gets reset to =60 FSUIPC7 ini.zip
  10. Sorry John, gust lock was on. I'm gettin old.......
  11. Somehow I run into problems when setting up the tiller. I'm using the DHC-4 Caribou for my tests. All button and axis assignments in my setup are done with FSUIPC, I have none in MSFS. As soon as I assign the tiller axis the rudder stops moving. What am I missing here? For now I don't want any blending between front wheel and rudder (will set this up later per aircraft). Karl FSUIPC7 ini.zip
  12. Perfect! Thank you John. Karl
  13. 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
  14. 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
  15. Ok, thank you.
  16. So the button release: release to 'LuaClear <luaScriptName>' with parameter 0 doesn't immediately quit the script?
  17. 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
  18. 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
  19. 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.
  20. 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!
  21. 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
  22. 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
  23. Thank you, I'll take a look! Karl
  24. 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.
  25. I didn't realize it because I was using an aircraft from the store.
×
×
  • 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.