Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads

Technical threads All discussions about technical issues

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2012, 10:58 AM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

while it seems to be possible in theory, AFAIK no one has extracted the data available into a useable form.

I have been a big supporter of this idea through the life of IL2 and and would love to be able to use this with CoD- infact I would make gauge sets for all aircraft if there was the coding/application to do so.

I have looked at the coding needed (as a coding noob ) and to be honest the extraction of the data doesn't seem to be much of a problem, it's the ordering and outputting the data in a useable format that is the problem- in that it requires coding way above my abilities.
I would also prefer it to be an 'official' upgrade to ease the concerns from the 'purity of online experience' crowd, many of whom were 'somewhat anti' this idea in IL2

On a side note, using a second monitor on the main gaming machine was usually a problem with Il2- using a separate computer on a network to drive the gauges was a much better way of doing things (afaik this is due to udpspeed- the program most used in IL2- being a '2D' program and as such causes fps drops when running in conjunction with a '3D' program- the game.)
Reply With Quote
  #2  
Old 09-17-2012, 12:32 PM
zapatista's Avatar
zapatista zapatista is offline
Approved Member
 
Join Date: Oct 2007
Posts: 1,172
Default

thanks uther
__________________
President Dwight D. Eisenhower 1953: Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone, it is spending the sweat of its laborers, the genius of its scientists, the hopes of its children
Reply With Quote
  #3  
Old 09-17-2012, 12:46 PM
Skoshi Tiger Skoshi Tiger is offline
Approved Member
 
Join Date: Nov 2007
Location: Western Australia
Posts: 2,197
Default

Quote:
Originally Posted by bolox View Post
while it seems to be possible in theory, AFAIK no one has extracted the data available into a useable form.

I have been a big supporter of this idea through the life of IL2 and and would love to be able to use this with CoD- infact I would make gauge sets for all aircraft if there was the coding/application to do so.

I have looked at the coding needed (as a coding noob ) and to be honest the extraction of the data doesn't seem to be much of a problem, it's the ordering and outputting the data in a useable format that is the problem- in that it requires coding way above my abilities.
I would also prefer it to be an 'official' upgrade to ease the concerns from the 'purity of online experience' crowd, many of whom were 'somewhat anti' this idea in IL2

On a side note, using a second monitor on the main gaming machine was usually a problem with Il2- using a separate computer on a network to drive the gauges was a much better way of doing things (afaik this is due to udpspeed- the program most used in IL2- being a '2D' program and as such causes fps drops when running in conjunction with a '3D' program- the game.)
When COD was first released I tried to get communication sesion going with the UDP protocol. I had previously managed to get a delphi program up and running for a devicelink connection with the original IL2, But with COD I fell in well over my head in the smelly stuff of C#

A broken man I gave in and stopped trying.

There has to be someone around with the knowhow to get it working?

Cheers!
Reply With Quote
  #4  
Old 09-17-2012, 01:56 PM
Artist's Avatar
Artist Artist is offline
Approved Member
 
Join Date: Jan 2010
Posts: 362
Default

Afaik the issue with IL-2 was that, yes you could get all necessary info for the gauges with DeviceLink via udp/network - but (officially) only in offline mode (there is or was mod to bypass that limitation).

In CoD you can get at the info from within mission script, FearlessFrog demonstrated it here with Heading, Altitude, and Speed. Problem is, that it has to be part of the mission script, which means that you've to copy it (with FMB) into all missions you want to use it in. And if you're flying online it has to be part of the mission script on the the server...

Artist
__________________
Ceterum censeo the mixture axis should be supported in IL-2 1946' DeviceLink.

-------------------------------------------------------------
Reply With Quote
  #5  
Old 09-17-2012, 02:31 PM
jimbop jimbop is offline
Approved Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,064
Default

Is this thread relevant? I don't have know anything about it, just remembered the thread: http://forum.1cpublishing.eu/showthread.php?t=24856
Reply With Quote
  #6  
Old 09-18-2012, 01:41 AM
Skoshi Tiger Skoshi Tiger is offline
Approved Member
 
Join Date: Nov 2007
Location: Western Australia
Posts: 2,197
Default

Quote:
Originally Posted by jimbop View Post
Is this thread relevant? I don't have know anything about it, just remembered the thread: http://forum.1cpublishing.eu/showthread.php?t=24856
Thanks for the link, but the app on that page is for the original IL2 series that uses device link. It's relatively easy to set up a client program to poll device link using the UDP protocol and retrieve the information.

COD is a different kettle of fish.

As stated beore I tried to use a C# script to set up a UDP server wfrom within COD but due to my limited C# scripting skills failed.

Anyone else had any luck?

Could be that there is another way to get the info out of cod. I guess we need scripting documentation for COD.

Cheers
Reply With Quote
  #7  
Old 09-19-2012, 09:32 AM
hugso hugso is offline
Approved Member
 
Join Date: May 2008
Location: Glos. UK
Posts: 19
Default

It really is a shame - there is all that information in getParameters and yet there is no official info on how to utilize it. I am busting to get my motion platform cockpit working with CoD. It works great with IL-2 and Devicelink, but why does getParameters have to be so complicated with no clues about how to use it?
Reply With Quote
  #8  
Old 09-17-2012, 02:40 PM
zapatista's Avatar
zapatista zapatista is offline
Approved Member
 
Join Date: Oct 2007
Posts: 1,172
Default

gentlemen, now we are getting somewhere

artist,
thanks for the link, being able to already access some of the flight data sounds like a major step in the right direction

bolox,
thanks for the summary, i remember your nick from the old ubi forum discussing that feature at length. have you had a look at the link that artist posted and is that type of flight data access possible for some of the cockpit gauges ?

i have no programing or coding experience so am out of my depth on the practical side

if this currently would only work offline, thats a major step in the right direction, and it might be possible for some of the main online servers to implement it to in their setup later (untill luthier incorporates it as a feature). setups like this with separate display for cockpit gauges is possible in several of the major modern flightsims (DCS series, xplane etc), would be great if we can get it working for SoW
__________________
President Dwight D. Eisenhower 1953: Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone, it is spending the sweat of its laborers, the genius of its scientists, the hopes of its children
Reply With Quote
  #9  
Old 09-17-2012, 03:51 PM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

Been a long time proponent of this sort of thing, and in these days of 'shiny' tablets etc it is unusual not to have some sort of official output protocol in a flight sim

Yes the data Artist points to is what is needed- infact CoD has many more types of data that is readable than old IL2 devicelink.
I've messed about with coding based on that to do 'speedbar' type readings of various parameters but that's about my limit of coding- hacking other peoples work
One of the 'tricky bits' of coding required is to 'translate' the request packet from say udpseed into an answer packet from CoD
Not only are there instrument reading parameters available but also many other useful ones- for a full list see zip in 1st post
http://forum.1cpublishing.eu/showthr...338#post342338

Apart from deciding which CoD parameter is most relevant as an output (gauge users will want instrument readings whereas performance chart makers will want 'absolute' values) some values might need converting to the relevant units

The more I look at what is involved coding wise to export this data via udp, the more I realize that it's beyond me

If anyone gets to do this a more MKI version of this would probably be my first project
Reply With Quote
  #10  
Old 09-19-2012, 10:28 AM
zapatista's Avatar
zapatista zapatista is offline
Approved Member
 
Join Date: Oct 2007
Posts: 1,172
Default

Quote:
Originally Posted by bolox View Post
Yes the data Artist points to is what is needed- infact CoD has many more types of data that is readable than old IL2 devicelink.
I've messed about with coding based on that to do 'speedbar' type readings of various parameters but that's about my limit of coding- hacking other peoples work
One of the 'tricky bits' of coding required is to 'translate' the request packet from say udpseed into an answer packet from CoD
so what exactly do you need to be able to use the data accessed by the simhq guy, to be able to use it for your gauges ? if some limited form of data is already accessed for them to create the displayed data for heading and altitude, shouldn't it then be possible to translate that to a format that some of the gauges can use ?

btw, isnt it also possible to have some very limited 3D version of the gauges so it avoids the 3D/2D problem you mentioned before ? with most gfx cards having multiple connectors these days and the minimal GPU resources needed to display a 2 color static image i would have hoped we dont need to run a 2e pc to just display the 2e screen with the UDP method. err, please be aware i know nothing of programing, so i am probably overlooking some obvious reasons why some of this is an issue
__________________
President Dwight D. Eisenhower 1953: Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone, it is spending the sweat of its laborers, the genius of its scientists, the hopes of its children

Last edited by zapatista; 09-19-2012 at 10:41 AM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.