1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules
value1

Digital Combat Simulator – DCS Plugin 2.0.0.0

Digital Combat Simulator – DCS Plugin

  1. gianlu320

    gianlu320 Member

    Joined:
    Feb 9, 2018
    Messages:
    76
    Location:
    Crawley
    Balance:
    542Coins
    Ratings:
    +17 / 0 / -0
    @BrassEm

    Thanks a lot for your answer
    You clarified things to me more than you might think
    See I thought the (--) before the sentences where actually activating the commands and not deactivating them.
    I will have to go back and retry all your suggestions since the beginning
    I will let you know how that goes and also what surge values I have in the game engine.
    It will be in 15 days or so as I’m now outside home for work
    Thanks a lot for your help
  2. hugso

    hugso Active Member

    Joined:
    Sep 17, 2013
    Messages:
    138
    Location:
    Glos UK
    Balance:
    599Coins
    Ratings:
    +50 / 1 / -0
    My Motion Simulator:
    Arduino, Motion platform, 4DOF
    Please excuse me for butting in, but I see you have the line "localTAS=LoGetTrueAirSpeed() " ... etc. I would like to use airspeed. Is it possible to export airspeed to either Extra 1 or 2 or 3? If so how would I do this? I am very stupid in the IT department, so I would be grateful for any advice. (I have only just twigged that I could disable the "reduce forces on the ground" - much better now, no jump in heave motion as I take off and more surge motion as I accelerate along the runway.)
  3. nosimula

    nosimula New Member Gold Contributor

    Joined:
    Jan 26, 2016
    Messages:
    21
    Location:
    Brasil
    Balance:
    10Coins
    Ratings:
    +22 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor
    Personally, I'm having problems with the YAW plugin for DCS World and also NoLimits2. In both cases the axis does not start in the center. What causes in gross movements and interferes with the experience. Does anyone know how to solve it?
  4. BrassEm

    BrassEm G-Seat + SFX100 Builder

    Joined:
    Apr 15, 2015
    Messages:
    120
    Location:
    NE of YMML
    Balance:
    1,040Coins
    Ratings:
    +47 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, 4DOF
    @hugso, Apologies for not replying sooner, my PC has been waiting on a replacement motherboard so I am not able to visit regularly. If Extra1, 2 or 3 is being accepted by the Game Engine DCS driver for output then it is possible. I.e. For Extra1, In the DCS export.lua code make Extra1 = localTAS. A fan hooked up to the Extra1 output will receive the values that fall within the Extra1 MIN / MAX values.

    The values would be;
    DCS localTAS = 0 to 700 (kph as an example.)
    Extra1 MIN / MAX = 0 / 700 (After manually editing the Game Engine DCS MinMax.cfg file)

    You could set Extra1 MIN / MAX to 0 /100, Your fan will be maxed out at any TAS over 100 kph

    I don't know if there is a canopy open/closed function/value in DCS so that it could be used to turn the fan on/off? It would be ideal if it were a value such as between 0 and 1. Where 1 being fully opened.

    For the export.lua code edit would add in something like this;

    Breezy = CanopyOpen()

    Extra1 = localTAS * Breezy

    EDIT: It looks like no EXTRA's output in this version. Will need to ask the Value1 nicely and wait for next version of the driver to have these enabled for the above to work. Sorry :(

    EDIT: OR use the localTAS on an unused existing channel i.e. yaw = LocalTAS (Thanks for the heads up Hugso.)

    @nosimula, What are you Game Engine settings?
    Last edited: Nov 17, 2018
  5. Bacasable

    Bacasable New Member Gold Contributor

    Joined:
    Mar 30, 2009
    Messages:
    24
    Occupation:
    Retraité
    Location:
    NIMES FRANCE
    Balance:
    259Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello
    I installed the plugin, patched the games but I have no dialogue when the games is launched. When I look at the tuning center it has no dialogue. I am with the basic games with only the two planes SU 25T and TF-51D and I play with headphones windows mixed reality. Can you help me to make it work?
    My simulator works well with other games. I attach screenshots of my setup
    upload_2018-11-15_18-51-1.png
    upload_2018-11-15_18-51-34.png
    upload_2018-11-15_18-52-3.png
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,461
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    As you seem to be having issues with multiple plugins can I first check that your sim has proper motion with LFS.
    • Like Like x 1
  7. Bacasable

    Bacasable New Member Gold Contributor

    Joined:
    Mar 30, 2009
    Messages:
    24
    Occupation:
    Retraité
    Location:
    NIMES FRANCE
    Balance:
    259Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I'm ready to check anything you want. ;-)

    I would like to point out that my simulator works well with plugins from Asseto Corsa, Assetto Corsa Competizione, Dirt Rally, Race Room, Project car2, RF2, X-Plane11.
    Thank you for your help
  8. BrassEm

    BrassEm G-Seat + SFX100 Builder

    Joined:
    Apr 15, 2015
    Messages:
    120
    Location:
    NE of YMML
    Balance:
    1,040Coins
    Ratings:
    +47 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, 4DOF
    @Bacasable
    GameManager connects with GameEngine? GameManager indicates that DCS is running when DCS is started? Eagle Dynamics or Steam version? There are no Export.lua errors in the DCS.log file?

    EDIT: Correct log file reference.
    Last edited: Nov 18, 2018
  9. FoxONe42

    FoxONe42 6DOF newbie

    Joined:
    Jan 8, 2018
    Messages:
    63
    Occupation:
    Flight simulator engineer
    Location:
    Nantes France
    Balance:
    100Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    @BrassEm
    Just to let you know, I am also experiencing the same issues. No data going from DCS to Simtools V2.2.5
    Other games work just fine (X plane, FSX. LSF) and to answer your questions:
    GameManager connects with GameEngine? YES
    GameManager indicates that DCS is running when DCS is started? YES
    Eagle Dynamics or Steam version? EAGLE DYNAMICS
    There are no Export.lua errors in the DCS error log file? Do you know the path for such a file ? I can't seem to find it. I have got a failed.ofsh file however, not sure whether or not it is related. I cannot not read it anyway.
  10. Bacasable

    Bacasable New Member Gold Contributor

    Joined:
    Mar 30, 2009
    Messages:
    24
    Occupation:
    Retraité
    Location:
    NIMES FRANCE
    Balance:
    259Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Here are the answers to your questions:
    GameManager connects with GameEngine? YES
    GameManager indicates that DCS is running when DCS is started? YES
    Eagle Dynamics or Steam version? Steam Interface API v018 package:1541819448
    In the log directory I have a DCS file in which there is indeed an error on export. Lua (2018-11-16 09:48:43.344 Error LUA:: Config: Call error LuaExportAfterNextFrame: [string "D:UsersThierrySaved GamesDCSScriptsExport.lua"]: 48: Attempt to Index Upvalue ' Accel ' (a nil value)) but I am unable to interpret it. Can you help me?
    Thank you
    I attach the log file

    Attached Files:

  11. FoxONe42

    FoxONe42 6DOF newbie

    Joined:
    Jan 8, 2018
    Messages:
    63
    Occupation:
    Flight simulator engineer
    Location:
    Nantes France
    Balance:
    100Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    Hi
    I have got pretty much the same type of error message in my case:

    2018-11-19 00:07:16.221 ERROR Lua::Config: Call error LuaExportAfterNextFrame:[string "C:\Users\Jérôme\Saved Games\DCS\Scripts\Export.lua"]:48: attempt to index upvalue 'accel' (a nil value)
    stack traceback:
    [C]: ?
    [C]: in function 'my_send'
    [string "C:\Users\Jérôme\Saved Games\DCS\Scripts\Export.lua"]:52: in function 'AfterNextFrame'
    [string "C:\Users\Jérôme\Saved Games\DCS\Scripts\Export.lua"]:87: in function 'SimLuaExportAfterNextFrame'
    [string "C:\Users\Jérôme\Saved Games\DCS\Scripts/SimShaker.lua"]:575: in function 'LuaExportAfterNextFrame'
    [string "C:\Users\Jérôme\Saved Games\DCS\Scripts\SimShaker-export-core\ExportCore.lua"]:62: in function <[string "C:\Users\Jérôme\Saved Games\DCS\Scripts\SimShaker-export-core\ExportCore.lua"]:56>.

    Same here, unable to understand what it is suppose to mean: My version is ED build 2.5,3,23225
    Thanks for your help in advance
  12. FoxONe42

    FoxONe42 6DOF newbie

    Joined:
    Jan 8, 2018
    Messages:
    63
    Occupation:
    Flight simulator engineer
    Location:
    Nantes France
    Balance:
    100Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    Hi Guys, I found where my issue was.
    Since I am using a French windows, decimal separator is a coma (,) but it has to be a dot (.) in order for DCS to work properly with Simtools. So if you are in the same situation as me, you 'll have to go to your regional settings and change the decimal separator from coma to dot, then restart you computer and then you can try again Simtools along with DCS,
    • Winner Winner x 1
    • Informative Informative x 1
  13. Bacasable

    Bacasable New Member Gold Contributor

    Joined:
    Mar 30, 2009
    Messages:
    24
    Occupation:
    Retraité
    Location:
    NIMES FRANCE
    Balance:
    259Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    :)hug:
    Thank you very much this to settled also my problem.:thumbs
    I am also with a Windows 10 French... because I am French ;-)
    • Like Like x 1
  14. FoxONe42

    FoxONe42 6DOF newbie

    Joined:
    Jan 8, 2018
    Messages:
    63
    Occupation:
    Flight simulator engineer
    Location:
    Nantes France
    Balance:
    100Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    :thumbs Glad that helped. Funny we had the same problem at the same time AND we are both French. F*cking French windows :grin
    I am only slightly disappointed by the plugin by the way. It doesn't provide roll/s, pitch/s and yaw/s as the X plane plugin does, and I believe those are useful information.
  15. T R Para

    T R Para i make stuff up

    Joined:
    Oct 18, 2018
    Messages:
    385
    Occupation:
    Retired
    Location:
    Cincinnati, Oh
    Balance:
    2,436Coins
    Ratings:
    +357 / 2 / -0
    My Motion Simulator:
    AC motor, 6DOF
    I cannot get any motion out of DCS either. Running a dual PC system. Patched on both pc's. Game manager turns blue when I start DCS1.5 and the game engine indicates DCS when in the tune mode.
    However it never sees any data in the tune mode.
    Checked that I have a decimal point "." and not a comma in the region descriptor.
    Pcars2 runs fine no problems.
    Normally I can get this stuff working but I tried all day and read through this thread with no success.
    HELP!

    Attached Files:

    • dcs.txt
      File size:
      17.9 KB
      Views:
      589
  16. BrassEm

    BrassEm G-Seat + SFX100 Builder

    Joined:
    Apr 15, 2015
    Messages:
    120
    Location:
    NE of YMML
    Balance:
    1,040Coins
    Ratings:
    +47 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, 4DOF
    @T R Para,

    No errors in the log file which is good. It would appear that Game Manager is not talking with Game Engine. Do you get a "connected" indication after first starting Game Manager and then starting Game Engine on the other PC? If not then you may need to check what the IP and port settings are.
  17. T R Para

    T R Para i make stuff up

    Joined:
    Oct 18, 2018
    Messages:
    385
    Occupation:
    Retired
    Location:
    Cincinnati, Oh
    Balance:
    2,436Coins
    Ratings:
    +357 / 2 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Yes I get a connection (green background) and on the remote pc the engine has a blue light on in the upper right corner.
    I disconnected the remote pc and connected the Arduino to the main pc. I set the ip address in the game engine (now running on the main pc) and reset the ip address in the game manager. And it worked.
    As long as I am running a single pc DCS is working.
    I reconnected the 2nd pc and set the ip address back.
    No DCS..
    Without changing anything and still using the remote pc I can boot up Pcars2 and it works fine.
    I get out of pcars2 and boot DCS and nothing..
    One thing I did notice and it may be nothing, when booting DCS I get a pulse out of the wheelchair motors for just an instance then the tuning panel populates with a grayed-out set of default numbers.
    The axis settings and output configurer get the typical blue paled out color panel.

    I really like the ability to use the remote pc for tuning.
    I would hate to loose it but there is something blocking the data.
    I did turn off all firewalls on both pc's and no joy :(
  18. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,133
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    47,902Coins
    Ratings:
    +5,027 / 16 / -0
    Did you patch the game before or after you setup the dual PC setup?
    Maybe the game needs re-patched?
    I know DCS uses a lua script, maybe there is a local Ip address in it that is hard coded?
    (I have not played with this title, so I'm only guessing buddy)
    Take care,
    yobuddy
  19. T R Para

    T R Para i make stuff up

    Joined:
    Oct 18, 2018
    Messages:
    385
    Occupation:
    Retired
    Location:
    Cincinnati, Oh
    Balance:
    2,436Coins
    Ratings:
    +357 / 2 / -0
    My Motion Simulator:
    AC motor, 6DOF
    I will try repatching again.
    On the main pc it is easy to click on the patch remover and repatch.
    On the remote pc there is no such button on the game engine.
    So I ran the patch updater where you drag and drop the zip file.
    Is that correct??
    Mr Newbe here..
  20. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,133
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    47,902Coins
    Ratings:
    +5,027 / 16 / -0
    For a 2 PC setup, you need to install the plugin on both PC's.
    You only need to patch on the Game manger PC.
    Im not sure what you mean by patch updater?