Log in

View Full Version : DeviceLink -- Is there a How To???


intellivibe
11-17-2011, 06:29 AM
Hello all, I am hoping to get game data via DeviceLink from the IL-2 because several of our early adopter customers have requested it. It would be for our tactile feedback seat. The web site is at ivibe.com but we are not trying to advertise in this technical forum. We are very capable in C++ and have found the thread about "GetParameter" on this forum at:
http://forum.1cpublishing.eu/showthread.php?p=342338#post342338

However, I have not been able to learn enough from the scattered information so that I can get from the sim such variables as engine RPM, pitch, yaw, roll, G forces, and so on, as well as weapons status, etc.

Is there any place I can go to for a developer tutorial on how to access the game data so that we can use it to enable intellivibe in our own external app?

There seems to be an expected level of familiarity with how the scripting in IL2 works.

Any help would be greatly appreciated.

A perfect example of what we need is simply to access the game data, and to keep things simple, let's just say this test would require only engine RPM and airspeed (assuming once we get those, other data points are easy to add). For example, what do we actually do to activate the script in the post above?

Our technique is to get the game data from IL2 and send it over a socket so we can use it for our own purpose, which is to make you feel like you are actually flying the craft.

Any help anyone can offer will be GREATLY appreciated!

Thank you in advance for any suggestions!

Best regards from Craig

Ataros
11-17-2011, 10:39 AM
Hi! Thanks for PM, I will reply here.

To make a script work you have to give it the same name as the mission file name. Check out a link #2 in my sig for basic instructions.

Then you may wish to study a zip archive attached here http://forum.1cpublishing.eu/showthread.php?t=26523

I do not think you can rely on scripts for your purpose because mission script depends on mission maker and when playing online it is server side only.

I think you should make an add-on that will work client side but the problem is if you can get RPM, speed or other parameters when flying online it can give you unfair advantage and that is why this is not possible.

Try getting in touch with CloD producer, head of MG Ilya Shevchenko aka luthier via mail ishevchenko@1cpublishing.eu or in this forum thread http://www.sukhoi.ru/forum/showthread.php?t=72803 Maybe he explains to you how to make a client side add-on or agrees to include support for your device into the game.

I do not know how to make an add-on but maybe someone can also help if you ask in this section http://forum.1cpublishing.eu/forumdisplay.php?f=203

Damixu
11-17-2011, 03:52 PM
How about using Kegetys' special DLL for running add-ons like he did on improving the graphics performance add-ons?

Search 'kegetys' from this board and you'll find more info.

310thDiablo
11-17-2011, 04:13 PM
Not sure exactly what you are asking but here are a couple links to using Devicelink.

http://forums.ubi.com/eve/forums/a/tpc/f/23110283/m/2511087684/p/1

http://forums.ubi.com/eve/forums?a=search&reqWords=udpspeed&use_forum_scope=on&forum_scope=23110283

http://forums.ubi.com/eve/forums/a/tpc/f/49310655/m/7201027043?r=9581051627#9581051627

http://allaircraftsimulations.com/forum/viewtopic.php?f=18&t=13257&hilit=devicelink

intellivibe
11-17-2011, 06:15 PM
Hello again and thank you for all the informative replies! For now, we have what we need now to make our system work, albeit in offline mode and with a script. Once we have it working, we'll contact Ilya Shevchenko (special thanks to Ataros!) and see if he'd be willing to test the system as we have it and help us make an add-on that lets it be client side even when online.

We'll need a little time to get everything sorted out, but after we do, I'll post a follow up to tell you how we did with your advice!

Best regards and thanks again...

intellivibe
08-06-2012, 07:11 AM
Hello All,

We appreciate the support and quick answers. We tried to contact the developers, but had no luck. So, we did what we could with what we had. We used the mission scripts to load a C# dll with the proper interface to intelliVIBE. This gives us good intelliVIBE support offline but we loose many of the variables online. If you own a TFS3 you can check it out in the latest software release.

If any of the dev's are interested in helping us with better online support and integration of intellVIBE into IL-2 then please drop us an email. It is very simple to implement, we are here and ready to help.

Standing by and ready to answer any questions.