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
Dirty

Digital Combat Simulator (DCS) - Experimental plug-in v0.10

This plug-in exports vehicle accelerations and vehicle angular rates.

  1. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    So, I understand that you DO get motion, just not very much. Correct?

    Have you made any changes to the Export.lua file? I mean here:
    Bildschirmfoto 2020-03-06 um 21.13.05.png

    Assuming you made no changes, then you will get exported accelerations in Gs and angular rates in °/s.

    Typical max/min values for the kind of aircraft you fly in this video could be:
    Roll: ±180 [°/s]
    Pitch: ±90 [°/s]
    Heave: ±8 [G]
    Yaw: ±90 [°/s]
    Sway: ±1 [G]
    Surge: ±1 [G]

    I see in the video you posted that you have very high Min/Max values. Could you do me the favor and try to set these min/max values I posted above and tell me if It makes a difference.
  2. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Dirty updated Digital Combat Simulator (DCS) - Experimental plug-in with a new update entry:

    Version 0.07 available - Export via callbacks. Prevents conflicts with existing DCS add-ons

    Read the rest of this update entry...
    • Like Like x 4
    • Creative Creative x 1
  3. hannibal

    hannibal Active Member

    Joined:
    Sep 29, 2018
    Messages:
    677
    Balance:
    4,490Coins
    Ratings:
    +297 / 4 / -0
    My Motion Simulator:
    6DOF
    I would love to drive a fan. i have been using gamedash to do that..
    anyway to bring IAS to send data to gamedash? i have no idea where to begin...
  4. Demosux

    Demosux Love when my ass moving with pixel.

    Joined:
    Jan 8, 2017
    Messages:
    22
    Occupation:
    Technicien audio-visuel
    Location:
    Paris
    Balance:
    50Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    6DOF
    Thank you and value1 for this gem. It's the best plug i have used. Never my sim has been too accurate! I can make 360° in yaw, and its fast as love. Ty again for your works.

    But
    Just a little question, (maybe no-sens) but, it is possible to have this plugin (wich provide angular rate, very usefull for yaw in my case) and keep in the same time the positions of a classic plug? In order to reach (with angular rate) a position (in pitch or roll for exemple) and stay in the final position if i dont touch my controllers. When i fly to the ground at 90° i would like my sim be in the same state. But obviously, not angular accel, no move, and the sim stay parrallele not prependicular. Maybe a config? to choose pitch roll without accel and yaw with accel for exemple? or i understand absolutely nothing? XD tx
    • Friendly Friendly x 2
    Last edited: Mar 22, 2020
  5. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    That's possible, of course. Actually if that is what you want, then I would recommend using the original plugin and only modify the Export.lua file it creates to export yaw rate instead of heading. Let me know if you need help doing that.

    Just be aware that if you do it this way, I think you will get back all the unwanted artifacts that I was trying to avoid with my experimental plugin:
    - Platform roll will increase with bank angle up to 90° and then decrease as you approach 180°.
    - Platform tilt will increase with pitch angle up to 90° and then decrease as you go through a loop.

    It is possible, but are you sure that is what you want?
  6. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Hey :)

    Sorry if I can't be of much help with that. I have absolutely not clue about SimTools or how it drives motors. I was just assuming that if you can move an axis according to an exported value then it should be possible as well to make a motor spin at an RPM according to an exported value.

    I can try to add GameDash support to the plugin, but since I don't know exactly what GameDash even is, I am struggling to understand where to start... :sos

    I guess I will have to look into GameDash....
    • Winner Winner x 1
  7. Demosux

    Demosux Love when my ass moving with pixel.

    Joined:
    Jan 8, 2017
    Messages:
    22
    Occupation:
    Technicien audio-visuel
    Location:
    Paris
    Balance:
    50Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    6DOF
    Niiice, i want angular rate in roll and yaw, and angle for the others. With smooth filter, the "artefact" in pitch it's not really a problem. I think your solution is the best anyway, but i want to test a mix. I didn't know how to make it. I see that and i come to you if i can't do anything, thank you for your help !
  8. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Dirty updated Digital Combat Simulator (DCS) - Experimental plug-in with a new update entry:

    Version 0.08 available - Downloaded Zip file now finally compatible with SimTools' Plugin Updater

    Read the rest of this update entry...
    • Winner Winner x 2
    • Like Like x 1
  9. MrDemon

    MrDemon New Member

    Joined:
    Mar 20, 2020
    Messages:
    12
    Balance:
    - 80Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    2DOF
    Hello. How can i fully uninstall your plugin? I have deleted it from simtools, deleted export.lua from game directory, but after installing DCS plugin 2.0 - output data in turning center still like i am using your plugin....
    I can't use normal roll and pitch ((((
  10. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Hey @MrDemon :)

    From v0.07 on I am no longer using the Export.lua in ".../SavedGames/DCS/Scripts".

    You will have to go to ".../SavedGames/DCS/Scripts/Hooks" and delete the file called "SimTools_DCS_Exp_Hook_v008". After that you will have to restart DCS completely, not just a mission reload for the changes to take effect.

    Cheers,... Dirty :)
    • Informative Informative x 1
  11. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Oh,.... and I am working on version 0.09 with GameVibe and Dashboard support :thumbs.

    If there are users of GV and DB out there: As far as I can see, it appears GV and DB are geared towards racing sims, but I might still use the slots and fill them with more aircraft specific data.

    Is there a certain "standard practice" way in which order you like the data? And which parameters would you be interested in?

    Dirty :)
    • Like Like x 1
    • Winner Winner x 1
  12. MrDemon

    MrDemon New Member

    Joined:
    Mar 20, 2020
    Messages:
    12
    Balance:
    - 80Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    2DOF
    Thanks. It helps )))
  13. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    552
    Location:
    Germany
    Balance:
    4,213Coins
    Ratings:
    +596 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    @Dirty, thanks so much for your effort spent in the DCS plugin.

    I am using Game Dash just for controlling a fan. In NoLimits2, the fan is triggered by the "Speed" value feeded into Game Dash, and in P3D I am using the propeller's RPM value. Having these parameters available for DCS would be fantastic.
    GameDash_NL2.png GameDash_P3D.png

    About Game Vibe: Also here my preferred input parameter is RPM, followed by Chassis, Flaps, and Landing Gear. But having RPM available would already be a huge step.
    GameVibe.png
    • Like Like x 1
    • Agree Agree x 1
  14. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Hey :)

    nice to see more users of GV and GD here :)

    On GD:
    I can extract pretty much all data out of DCS, although some of it is type- specific. That means, that you will have to write something like this...

    Code:
    Type = GetAircraftType()
    
    if (Type == A10C)
         ...Do something
    if (Type == P51)
         ...Do something else
    if (Type == F16)
         ...Do something else
    if (Type == F18)
         ...Do something else
    That would increase the code in the .lua file about twentyfold though. What I guess I will do, is activate the 20 GD slots, initially send only zeros, and then let users write code for whatever variabel they are interested in.

    On GV:
    If I send a variable like "rpm, 4500" it all works fine, because GV "knows" rpm. But if I get creative and model ground roll vibration depending on groundspeed and gear strut etc. and send it to GV as "Groundroll_Vibration, 210" (for example), it gives me an error: Groundroll_VibrationID.cfg file not found.
    Apparently it is looking for that .cfg file. Do I have to create my own .cfg file or am I limited to using only the ones that GV knows?
    • Like Like x 1
  15. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Maybe you have an idea,....

    What would you expect for a twin engine aircraft? There are two RPMs. Can I send the two engines RPM independently? like "rpm1, 3900" and "rpm2, 3930" ?
  16. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    552
    Location:
    Germany
    Balance:
    4,213Coins
    Ratings:
    +596 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    .
    That sounds good to me.
    I have no idea. I guess this is a question for @yobuddy who developed all this.

    For me personally, the default RPM would be absolutely sufficient.

    I think this goes into the same direction as supporting other non-default values. I have no idea.

    But maybe you could just start with a default parameter (like RPM) for the TF-51D, which is one of the two default planes in DCS? If this works in GV and GD, other parameters could follow.
    • Like Like x 1
    Last edited: Aug 9, 2020
  17. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,307
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,491Coins
    Ratings:
    +5,109 / 18 / -0
    GameVibe only accepts these as inputs currently.
    (We could make a rpm2 input if needed thou.)
    • Chassis (FL, FR, RL, RR)
    • Road Detail (Heave)
    • Collision L/R (Sway)
    • Collision F/B (Surge)
    • Rpm (Rpm)
    • Turbo (Turbo)
    • Afterburners (Afterburners)
    • Gear Shift (Current Gear)
    • Turbulence (Speed)
    • Flaps (Flaps)
    • Landing Gear (Landing Gear)
    • Weapons1 (Gun, Cannon, or any fired weapon)
    • Weapons2 (Gun, Cannon, or any fired weapon)

    Game Vibe is built in a way that we can add more effects as needed.
    If there is more that we want, I can built in into v3 when i get there.
    Take care,
    yobuddy
    • Like Like x 2
    • Informative Informative x 2
  18. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Thank you for clarifying. Then I will stick to the effects that are presently supported and not waste time trying to create my own.

    I got a bunch of more questions :) Forgive me if they are stupid, but since I don't have a vibrator attached to my rig, I can't test this myself.

    It's kinda self explanatory what happens when I send "rpm, 3500" for example, but what happens with "Chassis"? Does it expect four numbers? Like "chassis, 123, 456, 789, 123"? And what would those numbers even mean? What units do those values have? Is 100 "a lot" or 100.000?

    Same for "flaps". Do I send the current flap setting, or do I send the amount of vibration I want to show the user while the flaps are in transit?

    Same with "speed". Do I send Indicated airspeed? True airspeed? Machnumber? Or do I send the amount of vibration I want the user to feel. If so, what would constitute "a lot"? Do I specify the amplitude or frequency of the vibration?

    Sorry for so many questions, but I have absolutely no idea :)

    Cheers,.... Dirty :)
    • Like Like x 1
  19. Zed

    Zed VR Simming w/Reverb Gold Contributor

    Joined:
    Apr 4, 2017
    Messages:
    1,040
    Location:
    USA
    Balance:
    5,841Coins
    Ratings:
    +1,040 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    @Dirty - Assigning them meaningful names is helpful to users trying to make use of them but not really necessary for Game Dash I think. You could just have Var1, Var2, Var3, etc, I believe, and whoever tinkers with the lua file can assign as they see fit. That way you don’t even need to do anything with them aside from probably giving them a value like 0 in the lua so something is passed to the dll. Users can bring them to life in the lua code if they want. All that you need to do is enable them.

    @yobuddy - is that a good interpretation? I might be spouting nonsense. ;-)

    Thanks so much, @Dirty!
    • Agree Agree x 2
  20. Dirty

    Dirty Well-Known Member Gold Contributor

    Joined:
    Oct 15, 2017
    Messages:
    744
    Occupation:
    All the way up front.
    Location:
    Germany
    Balance:
    7,909Coins
    Ratings:
    +878 / 3 / -0
    Those are exactly the two hearts beating in my chest! I would like to make it somewhat self explanatory with descriptive names to the numbers, but at the same time I don't want to tell anyone what values they should use in those slots. I am actually curious what creative ideas others would come up with :)
    • Like Like x 1