Jump to content
The simFlight Network Forums

John Dowson

Members
  • Posts

    13,774
  • Joined

  • Last visited

  • Days Won

    288

Everything posted by John Dowson

  1. You need to first check to see if any lvars are available to control these functions. Try listing the lvars (Add-ons->WASM->List Lvars) and see if any look appropriate. You can then change the control (in the VC) and list the lvars again to see if the value has changed. Once you have found the lvar and the values for each position, try changing the value using the provided facilities (Add-ons->WASM->Set Lvar...). If there are no lvars (or custom controls), then things get complicated. You will need to look at the xml code for each switch and try to determine how it is controlled. I don't have this aircraft so I can;t really help with this, but take a look at this tutorial: https://www.badcasserole.com/uncovering-input-events-using-the-msfs2020-model-behavior-dialog/ I can see if I can get hold of this aircraft and if so can take a look. John
  2. I am not sure - it has been a long time since I looked at that program - check the available documentation. You don't actually need to use flags - you can have a simple lua script that simply sends the throttle decrement control in an endless loop (with a delay). You then start the lua script on the button release, and kill the lua script on the button press. You should also overload your assignments on the press and also send a throttle cut. Cheers, John
  3. If you want to assign to throttle decr (repeat) on release, and throttle cut on press (which would be opposite to how you would normally assign) then you could do this using button flags, You can set the flag (any random flag for a non-existent joystick button) on button release and clear the flag on button press. You would then have a lua scrpt that monitored the flag and send the required control (or key press) while the flag was set, and stop when the flag is cleared.
  4. You don't make things easy...please paste text rather than pictures, as I can then copy adjust and paste... This is explained in the documentation and I have also explained this - I do not understand why this is so difficult for you to understand... wnd.backcol(w, 0x000) wnd.textcol(w, 0x6c0) wnd.font(w, WND_ARIAL,64) wnd.txt(w, "This text is normal") wnd.font(w, WND_ARIAL,64,WND_BOLD) wnd.txt(w, "This text is in bold") wnd.font(w, WND_ARIAL,64) wnd.txt(w, "This text is normal again")
  5. There is a separate document entitled FSUIPC Lua Plugins From the aforementioned document: John
  6. No. I do not understand what is so difficult - if you want help, show me/attach your FSUIPC4.ini file, and not your FSUIPC4.log file which you have now attached 3 times. Also, please do not start a new log file when posting log files for support. But do you have this lua script running? You would normally have this script started by the [Auto] section of your FSUIPC4.ini file (which you don't seem to be able to find...). Please see the Advanced user guide on how to automatically start lua plugins. John
  7. No, you don't understand in the right way - this is the key paragraph that you seem to be missing: The font details apply for text drawn from then until the font is changed again, so any mix can be used in one window. Yes, of course. You set the font style you want to use, write those lines, set the next font style, write those lines, rinse and repeat.... John
  8. You don't seem to be at all familiar with how lua plugins work. I suggest you read the provided documentation - the FSUIPC Lua Plugins document to start with. Please read the documentation BEFORE asking for support. I provide extensive documentation, and really would like users to consult the documentation before asking for help. This would save everyone time, and give me more time to improve/extend the functionality of FSUIPC, as well as improving the documentation. Currently I am spending almost all of my time on support questions that are easily answered if people had read, or at least consulted, the documentation before posting for help... Not only ia this incredibly boring and frustrating for me, but it also stops me from improving the functionality provided as I just have no time left after covering support. John
  9. Why? That makes no sense - remove that. As I said, any lua file found in the correct place will be added to that section. It will be under 'Lua SetPauseMSFS&P3D' (as well as LuaDebug, LuaKill, etc) - look there... John
  10. Unfortunately LINDA is no longer supported, as the developer is no longer available and has left the FS world. I have heard that is supports both the CDU II and CDU III from VRInsight (from 3.3.5), but you need to check the documentation. Sorry, but I cannot really help with LINDA, and other LINDA users on the support forum on avsim is your best bet. Best to tag the OP for such questions, like @AruzyGaming... John
  11. Yes, you need to be logged in to download files. If it is not listed in the assignments drop-down, then it is either not in the correct place or does not have the correct extension. Why did you add it to be auto-started? You do now want to do this - and that is also incorrect (should be "1=Lua SetPauseMSFS&P3D"). Just remove it. When FSUIPC is started, it scans the installation folder (by default, can change by using LuaPath ini parameter) and adds them to the [LuaFiles] section. All lua files listed there will be available for assignment. Do not manually add the file to that section, as this is maintained by FSUIPC.
  12. This is usually caused by the device' axis being flagged as a digital on/off axis. See this post on how to correct this: John
  13. Updating FSUIPC should in no way affect your assignments, so something else must be going on. Such issues are usually caused by windows assigning a new id or guid to your controllers. Please attach your FSUIPC7.ini file and I will take a look - you should always attach this file if you have issues with assignments. For the landing lights, you can use the lvar L:C310_SW_LIGHTS_LANDING which excepts 3 values: 0 - Extends and turns on landing lights 1 - Turns off landing lights (but does not retract them) 2 - Retracts landing lights There are also three presets available: C310R Landing Lights Off, C310R Landing Lights Extend, C310R Landing Lights Retract You can use the lvar L:C310_SW_PRIMER, or the 3 provided presets: C310R Primer Off, C310R Primer Left, C310R Primer Right
  14. XPUIPC is a different product to FSUIPC, by a different developer. I cannot help with X-Plane or XPUIPC, sorry. I believe the websocket server is an FSUIPC client application, so you do need FSUIPC to use this. From the WebSocket server home page (http://fsuipcwebsockets.paulhenty.com/😞 FSUIPC WebSocket Server is a program that enables reading and writing Flight Sim data via FSUIPC over WebSocket connections However, you should direct all questions on this to its author, Paul Henty, who has his own sub-forum here: https://forum.simflight.com/forum/167-fsuipc-client-dll-for-net/ Sorry, but I do not support this sim. John
  15. No, that is the log file that you have already posted once, The FSUIPC4.ini file is in the same folder. If you cannot see the extension names, you have windows explorer set to hide the extensions of known file types, and need to change your explorer settings to see the file. Did you get the Rotaries.lua working? John
  16. Please see here: The script can be downloaded from there - you seemed to have pasted/copied the text from that topic, so I don't understand why you cannot see the script there that you can download.... John
  17. Yes, please see the provided documentation - look at the wnd.font function in the FSUIPC Lua Library documentation.
  18. The Vendor and Product look wrong - from your log file: If the lua cannot connect to your device, once started, you should see this message logged: Could not open HID Not sure what this means... This lua should really be auto-started, not assigned to start on a button press. See the Advanced User guide on how to do this. Please show me/attach your FSUIPC4.log file if you want help with your assignments.
  19. Give it a try and post your script if you have any problems. You probably want to auto-start the lua - see the Advanced User guide on how to do this. And if you have any issues, first try debugging yourself using the provided lua debug logging facilities. John
  20. It shouldn't make any difference when you start FSUIPC7 - auto scripts will still be started. If you don't want FSUIPC7 auto-started, just re-install and deselect the auto-start component. It is just a convenience. It shouldn't make any difference. FSUIPC7 is designed to work whatever the state of the FS when it is started. John
  21. No, this is not possible. It is MSFS that starts FSUIPC7, via the EXE.xml. Why do you want to do this? It shouldn't matter when FSUIPC7 is started... If you really want to do this, it should be relatively easy to implement yourself. You can change the auto-start entry in the EXE.xml that starts FSUIPC7 to start your own batch script, and in that script you can add a delay and then start FSUIPC7. I am puzzled as to why you would want to do this though. John
  22. What were you asking for then? You certainly weren't providing an entry for the FAQ section....! The FAQ section is where you (but usually me!) can post answers to frequently asked questions and problems, not a place to ask questions., frequent or not! Cheers, John
  23. There is no uninstall for FSUIPC4 - to uninstall you can just delete it. As this is just for testing, you can just rename the FSUIPC4.dll, to something like FSUIPC4.dll.unused. You can then just rename again when you want to use. John
×
×
  • 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.