f4l0 Posted July 12, 2015 Posted July 12, 2015 Hi, Andrey and I are interested into extracting the position of the speedbrakes through the export.lua. This feature should be used for the Sound Module of the SimShaker project Can someone help us? Cheers, F4l0 f4l0 Developer of Simshaker for Aviators Feel the brrrrttt: [Official] SimShaker for Aviators Forums thread at ED forums SimShaker for Aviators (simshaker-for-aviators.github.io)
FSFIan Posted July 12, 2015 Posted July 12, 2015 It's definitely not any cockpit argument. I played around with the Lua Console: capturing all argument values (up to an arbitrary max. argument number of 12000), moving the speedbrake, then displaying all arg values that changed and eliminating irrelevant "jittering" ones like the enigine instruments. Kind of makes sense, because the value is only needed to correctly render the external model. There is nothing in the A-10C cockpit that depends on that value. This may be something that ED has to help you with. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
f4l0 Posted July 12, 2015 Author Posted July 12, 2015 (edited) Ian, your pn box is full... This was my message(original in german): Hello Ian, the behavior with the speedbrake is really sad. The SoundModule is really cool but lacks of speedbrakes effects for the A10C. The only workaround I can imagine is to sniff the joystick buttons in Windows... But this is not really reliable and depends on the hardware/settings of the user. Cheers, F4l0 Edited July 12, 2015 by f4l0 f4l0 Developer of Simshaker for Aviators Feel the brrrrttt: [Official] SimShaker for Aviators Forums thread at ED forums SimShaker for Aviators (simshaker-for-aviators.github.io)
cefs Posted July 13, 2015 Posted July 13, 2015 You should be able to use DirectInput yourself to grab what you need, only problem may be how sim sets the cooperative level, and you will need to decode the data sent. Have a look at this link also as another possible way, also has links to DirectInput API. http://www.codeproject.com/Articles/185522/Using-the-Raw-Input-API-to-Process-Joystick-Input
Recommended Posts