Jump to content
The simFlight Network Forums

gooo

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by gooo

  1. I don't know what "steps 1 and 2" are, but if there are ANY files at all with filetype Lua stored in your FS Modules folder, then any recent version of FSUIPC will most certainly be listing them in all the possible assignment dropdowns there are!

    In fact it will list them with a Lua prefix, a LuaKill prefix, a LuaSet prefix, a LuaClear prefix a LuaToggle prefix and a LuaDebug prefix!

    So, for every Lua file you will have 6 extra entries in the drop-downs! The entries are sorted alphabetically, and once the drop-down has dropped you can get to the #lua entries quickly by typing LU quickly enough.

    Regards

    Pete

    Steps 1 and 2 are at the begin of this page, you just need to scroll up the page and you'll see them. On the drop down I've got only Luakill all prefix and that's it.

  2. Hi all,

    I've bought the last version of fsuipc, but I 've got several problems, hope some one can help me to solve them.

    First of all after I've installed it this message appears when I start fsx:

    Error: Flight Simulator has detected a problem with a third-party software program ( add - on ):

    Name: FSUIPC4 DLL: FS new universal IPC interface

    Version: 4.57

    Company: Peter Dowson

    File: Modules\FSUIPC4.dll

    Do you want to run this software ( not recommended) ?

    Now if I click yes I've got a fatal error and fsx crashes. I have to click yes several time befor It runs fsx.

    If this happen, I start a flight and i go into fsuipc , then I click on button + switches and I start to configure my joystick but after a few assignements fsuips doesn't recognise anymore my joystick. Than I close fsx but every time I start it again I 've got a fatal error and I have to delete everything from the module folder in fsx and start all over again.

    I dont think thisi is normal, so what should I do?

    Thanks

  3. I have made some little LUA and MACRO files for different aircrafts the last weeks and d'like to share them here.

    -- upd 15 Mar: supports now Mustang version 1.03

    added Master Caution with help of AndyDigital...thanks!

    LUA commands

    Here's a very short tutorial how to "install" LUA files

    To get acces to the single commands you have to do the following:

    1) copy the code below

    2) insert it into an empty editor or wordpad file and save it as e.g. J41.LUA into the FSX - Modules Folder

    3) open FSUIPC menu and choose LUA J41 from the drop down

    4) insert different parameter numbers depending on the action you want (green field)

    fr6tcbg5.jpg

    (this example picture is for the J41. For the F1 Mustang you have to name the file of course F1_Mustang.LUA or whatever. Them the name in the dropdown (red field) will be Lua F1_Mustang)

    -- 1 = BATT toggle
    -- 2 = both Generators toggle
    -- 3 = Avionics etc...
    -- 4 = Taxi Lights ON
    -- 5 = Landing Lights ON
    -- 6 = Taxi and Landing lights OFF
    -- 7= Panel light toggle
    -- 8 = toggle starter 1
    -- 9 = toggle starter 2
    -- 10 = Master Warn
    -- 11 = Master Caution
    
    -- BATT toggle
    if ipcPARAM == 1 then  
    
    
        LVarSet = "L:Masterbatt"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
        ipc.control(66241)
        ipc.sleep(50)
        ipc.control(65823, 2) -- knob sound
    end
    
    -- both generators toggle
    if ipcPARAM == 2 then  
    
    
        LVarSet = "L:LEFTGEN"
        LVar2Set = "L:RIGHTGEN"
    
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
        ipc.writeLvar(LVar2Set, val)
    
        ipc.control(66364)
        ipc.sleep(50)
        ipc.control(65823, 1) -- knob sound
    
        ipc.control(66363)
        ipc.sleep(50)
        ipc.control(65823, 1) -- knob sound
    end
    
    -- Avionics, STb Instruments and Anti Skid toggle
    if ipcPARAM == 3 then  
    
    
        ipc.control(66293)
        ipc.sleep(50)
        ipc.control(65823, 2) -- knob sound
    
    
        LVarSet = "L:ANTISKID"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
            ipc.control(65823, 329)
        end
    
        ipc.writeLvar(LVarSet, val)
    
        ipc.sleep(50)
        ipc.control(65823, 2) -- knob sound
    
    
        LVarSet = "L:STBYAVIONICS"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
        ipc.sleep(50)
        ipc.control(65823, 2) -- knob sound
    end
    
    -- Taxi Lights ON
    if ipcPARAM == 4 then 
    
        ipc.writeLvar("L:LANDRECTAXI", 1)
        ipc.control(65823, 1) -- knob sound
    
    end
    
    -- Landing Lights ON
    if ipcPARAM == 5 then 
    
        ipc.writeLvar("L:LANDRECTAXI", 2)
        ipc.control(66059, 1)
        ipc.control(65823, 1) -- knob sound
    end
    
    -- Taxi and Landing Lights OFF
    if ipcPARAM == 6 then 
    
        ipc.writeLvar("L:LANDRECTAXI", 0)
        ipc.control(66060, 1)
    
        ipc.control(65823, 1) -- knob sound
    end
    
    
    
    -- Panel light toggle
    if ipcPARAM == 7 then  
    
    
        LVarSet = "L:panel_lights"
        LVar1Set = "L:InstLt"
        LVar2Set = "L:MustangInstrLt"
    
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
        ipc.writeLvar(LVar1Set, val)
        ipc.writeLvar(LVar2Set, val)
    
    
        ipc.sleep(50)
        ipc.control(65823, 3) -- knob sound
    end
    
    
    -- Starter 1 ON
    if ipcPARAM == 8 then 
    
        ipc.control(66300)
        ipc.writeLvar("L:MustangLeftStarter", 1)
        ipc.writeLvar("L:LEStartTimer", 63401433820.394)
    
        ipc.sleep(50)
        ipc.control(65823, 4) -- knob sound
    end
    
    -- Starter 2 ON
    if ipcPARAM == 9 then 
    
        ipc.control(66301)
        ipc.writeLvar("L:MustangRightStarter", 1)
        ipc.writeLvar("L:REStartTimer", 63401433820.394)
    
        ipc.sleep(50)
        ipc.control(65823, 4) -- knob sound
    end
    
    -- Master Warn
    if ipcPARAM == 10 then 
    
         ipc.control(65823, 32)
    end
    
    -- Master Caution
        if ipcPARAM == 11 then
    
             ipc.control(65823, 33)
           ipc.sleep(50)
             ipc.control(65823, 4) -- knob sound
        end
    

    MACROS

    Note: unfortunately the Mustang developer is the only developer who I know which is changing his gauges numbers with every update.

    So this macros just work for the current version 1.03(!)

    This Macro is now shorter as thet from Version 1.02b because many commands are now possible with LUA and now independet from changed gauge numbers.

    [Macros]
    Module="Flight1_GarminG1000_510.GAU"
    1=L:G1000DimBright=INC
    2=L:G1000DimBright=DEC
    3=APPR=RX926f0*X5590
    4=NAV=RX92830*X5590
    5=ALT press=RX92b50*X5590
    6=VS press=RX92c40*X5590
    7=FLC=RX92d30*X5590
    8=ALT plus=RX93e70*X5590
    9=ALT minus=RX93db0*X5590
    10=SPD=RX933a0*X5590
    11=HDG Knob Press=RX93930*X5590
    12=CRS Knob Press=RX93b70*X5590
    

    LUA Mustang Initialisation code

    With this codelines assigned to a key or button ar in use with FSUIPC [AUTO] function (read FSUIPC manual for it) you have lowered the yokeswith one click.

    ipc.writeLvar("L:Yoke_Pilot", 1)
    ipc.writeLvar("L:Yoke_CoPilot", 1)

    All files work at my system with latest FSUIPC version.

    no guarantee that they will work for you (but they should, I'm sure - tested only at FSX Acceleration)

    Do any codings at your own risk and just do things if you know what you do...

    Be patient that I could not support any question. Please inform yourself how to handle MACROS and LUA files and the power of FSUIPC.

    Have fun!

    Hi, I've done step 1 and 2 but when I start fsx and I go into fsuipc but there is nothing in the drop down menu. Do I have to do anything eelse?

    Thank you

  4. Sorry, I don't understand any of that.

    You really do need to separate "keyboard" and "mouse" to start with. You seem to be very confused over those terms. They are two different devices on your computer -- to be sure we are both talking about the same things, the keyboard is the device in front of your computer which has lots of keys marker with "Q W E R T Y", or "A Z E R T Y" etc. The mouse is something separate that you move about on your desk to move the little pointer on screen, with buttons (left, right, maybe centre) you can press to select things.

    Buttons can be assigned to send controls to FS, or to send key presses to FS. Both of those are facilities in FSUIPC. If you want to use buttons to operate mouse movements and mouse clicks you need different software, such as "key2mouse", which allows you to make keyboard presses operate the mouse actions.

    Pete

    Ok, sorry...English is not my first language, so I think I espressed my self really badly. I know the difference between keyboard and mouse! Ok lets make it simple...

    for example: My aircraft has 2 fuel pumps. Thay CANNOT be activate with any buttons on my keyboard because if I go into my fsx, settings, controls, buttons keys, ther's nothing about the fuel pumps and so I cannot assign this command on my keyboard.

    The only way that I can use them is to point with the mouse ( which is the little pointer on my screen) to the fuel pump switches, ( ONCE IN A COCKPIT ) and click with the left button on my mouse to put fuel pumps on or off.

    Now my question is:

    With fsuipc can I assign the fuel pump function on my keyboard? For example : letter A on my keyboard to put fuel pump on, and letter S on my keyboard to put fuel pump off.

    I cannot make any clear than that, so if is still bad written apologize.

  5. The "buy now" key only adds the product to your basket. If you look at the top right corner of the screen, you will see the contents of your shopping cart and the "checkout" button. You need to click that to begin the payment process.

    Ian P.

    Yes indeed . thank you.

    So basically I can ( with the full pay version of fsuipc ) set on my keyboard any buttons that works with mouse in fsx but once done this I can not set up those buttons on my hotar is that right?

    I

  6. Hi , thanks for the reply.

    I downolad it from a link on simmarket on the fsuipc4 product page under " Downolad and delivery " on note number 1 there is a link to downolad it.

    The pdf file that I found is : Installing and Registering and about page 3 there is nothing clearly saying haw to pay it! while the page 4 is about how Entering registration Details and page 3 is how to install it, with a total of 4 pages.

    I can operate those things with a mouse in fsx, is th esame thing?

    Thank you

  7. Hi everyone,

    I just downloaded fsuipc4 from simmarket, but I dont understand where I have to go to pay it and to register it............ also do you think is possible to use it with the hotas warthog?

    Basically I use fsx with carenado bonanza F33 , and Reality xp with gns 430 as avionics, and I'd like to know if is possible to install on the hotas the following functions:

    hdg bug on the EHSI

    cdi on the EHSI

    engine start

    altimetere setting

    autopilot

    gns 430 inner and outer knob

    I read the ,anual found with the installer but I did't find anything about how and where to pay

    I' m really not espert in fsx and company...so apologize if what I've just asked is really stupid.

    Thankk you

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