Jump to content
The simFlight Network Forums

kaha

Members
  • Posts

    200
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by kaha

  1. It would be nice to be able to bind an axis to an Input Event and being able to specify to convert to what lower and upper limit

    0.0 to 1.0

    0 to 100

    -16384 to 16383

    As an example, the Carenado uses an Input Event for it's mixture axis. Only using the Input Event the engine can be started from external hardware. Using the normal mixture axis one needs to touch the mixture control with the mouse.

    There are also Input Events used for lights and for cold/hot air intake levers.

    Any chance to get this in a future version? For now I'm using Lua scripts.

    Karl

  2. If I trigger an input event like in the screenshot, assigned to a button it's ok and the mixture lever of the Carenado Dakota moves to mid position (every position from 0.0 to 1.0 works) and the linput event log shows:

    253672 InputEvent received: ENGINE_MIXTURE_LEFT=8192.000000 (param=';FLOAT64')

    If I do it from a Lua script, nothing happens.

    ipc.execInputEvent("ENGINE_MIXTURE_LEFT", 0.5)

    The log shows:

    257828 InputEvent received: ENGINE_MIXTURE_LEFT=0.000000 (param=';FLOAT64')

    There's probably something I do not understand.

     

    Karl

    image.png.2b2ad864314f1a963e3e1e3e414ed51c.png

  3. 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.

  4. 29 minutes ago, John Dowson said:

    Ah...I think you are misunderstanding FSUIPC's rudder/tiller blending facilities. These are intended to be used when both the rudder and tiller are assigned to the same axis.
    It doesn't make sense blending these if separate axes are used as there are already separate values for rudder and tiller.

     

    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.

  5. 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

  6. 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

     

    Screenshot(2122).png.a48a0f2f7265ef3a48b1e21b5e45b239.pngScreenshot(2124).png.2beb49c0710149084b868cff0f3fb70d.pngScreenshot(2123).png.47574152096ae8f70fecc7128422841a.png

    FSUIPC7 ini.zip

  7. 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

×
×
  • 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.