Jump to content
The simFlight Network Forums

Sniper31

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Sniper31

  1. Greetings Pete,

    I have been a long time registered user of FSUIPC, and have always appreciated your tireless efforts to improve this wonderful utility. I have recently moved and also have a new flight sim computer, so I have had to reinstall all my flight sim software. When I try to register the latest version of FSUIPC, version 5.151, after entering my registration details, it tells me my key is invalid. I was of the understanding that if I was a paid user, that my registration was good for the life of FSUIPC. Is that not the case? I can provide you with my registration details, but I am not sure if you want those posted directly here or sent to you privately. Please advise as to how I should proceed so that I can once again enjoy the great features of FSUIPC.

     

    Regards,

    Sniper31

  2. "L:Duke_Inverter_Switch" is the inverter switch. 0 = off, 1 = Main, 2 = Standby

    "L:MW_Reset" = the master warning reset button. Send 1 to turn out the light.

    "L:ignSwL" = Left ignition. 0 = off, 1 = Auto, 2 = On

    "L:ignSwR" = Right ignition. 0 = off, 1 = Auto, 2 = On

    Below is an example Lua I use for this aircraft, for the inverter I only bother with switch positions Main and Off. The ignition switches I only bother with Auto and Off positions. I've not bothered looking for the oil doors at all yet, use the method Peter spoke of above to find those if you can.

    if ipcPARAM == 1 then
    
    
            LVarSet = "L:Duke_Inverter_Switch"
            val = 0
    
            if ipc.readLvar(LVarSet) == 0  then
            val = 1
            end
    
            ipc.writeLvar(LVarSet, val)
    
    
        end    
    
        if ipcPARAM == 2 then
    
    
            LVarSet = "L:MW_Reset"
            val = 0
    
            if ipc.readLvar(LVarSet) == 0  then
            val = 1
            end
    
            ipc.writeLvar(LVarSet, val)
    
    
        end
    
    
        if ipcPARAM == 3 then
    
    
            LVarSet = "L:ignSwL"
            val = 0
    
            if ipc.readLvar(LVarSet) == 0  then
            val = 1
            end
    
            ipc.writeLvar(LVarSet, val)
    
    
        end
    
        if ipcPARAM == 4 then
    
    
            LVarSet = "L:ignSwR"
            val = 0
    
            if ipc.readLvar(LVarSet) == 0  then
            val = 1
            end
    
            ipc.writeLvar(LVarSet, val)
    
    
        end
    
    

    See the tutorials in the user contributions section of the forum for help on using the above.

    Andy,

    Thank you for your help. I will try that info out and see how it goes. Wish me luck ;)

  3. This is probably because the aircraft creator has used his own simulation for those things.

    You'd first need to use the supplied Lua plug-in to log "L:Vars", to see if they are used and if so which ones change when operating those switches. Just place the Lua file into the Modules folder, run FS, and assign a keystroke or button to it. When it runs it displays the L:Vars and changes to them.

    For examples of how to do things then, checkout some of the submissions in the User Contributions sub-forum.

    Well L:Vars might be usable. I see that there are already several A2A aircraft supported that way -- see the A2A Spitfire, B17, P47 and B377 threads in the User Contributions subforum.

    Regards

    Pete

    Pete,

    Thank you very much for your response...it gives me hope! I will keep on digging then and try to learn more about this Lua plug in process. I did some more reading last night after posting this issue, installed the Lua plug in into the modules folder in FSX, but then could not get it show the L:Vars changes. I tried to follow the L:Vars tutorial but it was getting late, so I might have missed something. I shall press on..

  4. Greetings all, first post for me here. I have a registered version of FSUIPC (version 4.60a), FSX SP2, several GoFlight modules and the RealAir Duke Turbine. I am having trouble assigning some of the cockpit switches in the Duke to my GoFlight switches. I am using the 'event' logging console, but the following Duke switches do not register in the console:

    Main Inverter and StandBy Inverter switch

    Left and Right Ignition rocker switches

    Left and Right Oil Door switches

    I know that Lua files might work, but I know nothing about how to use Lua files at all. Does anyone have any ideas?

    I should add also that the Mouse Macro option does not work in the Duke (nor any RealAir aircraft, A2A or other's that I have tried).

    Thanks for any help offered. :)

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