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 > FM/DM threads

FM/DM threads Everything about FM/DM in CoD

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2011, 07:31 PM
ACE-OF-ACES's Avatar
ACE-OF-ACES ACE-OF-ACES is offline
Approved Member
 
Join Date: May 2010
Location: NM
Posts: 2,248
Default

Quote:
Originally Posted by CaptainDoggles View Post
Speaking of which: I'm trying to write a script to log positional data to a file. Do you know how to get something like this to execute, client-side?
Do you mean 3D world space? XYZ stuff? I did see an example of that by fearlessfrog at SimHQ awhile back.. I think Ataros reposted it here somewhere.. As for general data logging Atarso has a good example here

http://forum.1cpublishing.eu/showthr...338#post342338

Im at work right now, if you dont find that 3D space stuff by frog let me know (PM) in that I have a script at home with some of that code in it
__________________
Theres a reason for instrumenting a plane for test..
That being a pilots's 'perception' of what is going on can be very different from what is 'actually' going on.
Reply With Quote
  #2  
Old 11-01-2011, 07:37 PM
CaptainDoggles's Avatar
CaptainDoggles CaptainDoggles is offline
Approved Member
 
Join Date: Jun 2011
Posts: 1,198
Default

Quote:
Originally Posted by ACE-OF-ACES View Post
Do you mean 3D world space? XYZ stuff? I did see an example of that by fearlessfrog at SimHQ awhile back.. I think Ataros reposted it here somewhere.. As for general data logging Atarso has a good example here

http://forum.1cpublishing.eu/showthr...338#post342338

Im at work right now, if you dont find that 3D space stuff by frog let me know (PM) in that I have a script at home with some of that code in it
Yeah ideally I'd like to write World XYZ and heading data for aircraft from an ntrk recording to a text file.

Can't figure out how to execute the script when the ntrk runs though.
Reply With Quote
  #3  
Old 11-01-2011, 07:41 PM
ACE-OF-ACES's Avatar
ACE-OF-ACES ACE-OF-ACES is offline
Approved Member
 
Join Date: May 2010
Location: NM
Posts: 2,248
Default

Quote:
Originally Posted by CaptainDoggles View Post
Yeah ideally I'd like to write World XYZ and heading data for aircraft from an ntrk recording to a text file.

Can't figure out how to execute the script when the ntrk runs though.
Great minds think alike!

Let me guess.. your thinking of graphing the 3D data to make an ACM display of the track file! When I saw the script gives access to 3D data that was the 1st thing I thought of too!

Problem is, and don't quote me, is I don't think the script works during playback of a track file? I think the script only works in real time, as in when you start the mission the script runs.

If so that is one of the limitations of the scripts.. Where as in IL-2 we had DeviceLink that was active during track playback.. And Devicelink allowed you to send commands (set) where as far as I can tell the C# script method only allows you to recive (get) data

This is one case where I hope I am wrong! But, I have been looking around (google) and I don't see where the C# scripts are active during a track playback
__________________
Theres a reason for instrumenting a plane for test..
That being a pilots's 'perception' of what is going on can be very different from what is 'actually' going on.

Last edited by ACE-OF-ACES; 11-01-2011 at 07:45 PM.
Reply With Quote
  #4  
Old 11-01-2011, 07:44 PM
Flanker35M Flanker35M is offline
Approved Member
 
Join Date: Dec 2009
Location: Finland
Posts: 1,806
Default

S!

Get that working and a lot of useless flame fests could be avoided The chart provided some nice info after digging into it
Reply With Quote
  #5  
Old 11-01-2011, 07:47 PM
ACE-OF-ACES's Avatar
ACE-OF-ACES ACE-OF-ACES is offline
Approved Member
 
Join Date: May 2010
Location: NM
Posts: 2,248
Default

Quote:
Originally Posted by Flanker35M View Post
S!

Get that working and a lot of useless flame fests could be avoided The chart provided some nice info after digging into it
Alot of guys allready got it working.. Getting data during real time flight that is.. Playback of tracks.. Not sure, but it does not look doable
__________________
Theres a reason for instrumenting a plane for test..
That being a pilots's 'perception' of what is going on can be very different from what is 'actually' going on.
Reply With Quote
  #6  
Old 11-02-2011, 06:08 AM
CaptainDoggles's Avatar
CaptainDoggles CaptainDoggles is offline
Approved Member
 
Join Date: Jun 2011
Posts: 1,198
Default

Quote:
Originally Posted by ACE-OF-ACES View Post
Alot of guys allready got it working.. Getting data during real time flight that is.. Playback of tracks.. Not sure, but it does not look doable
Can you get data on all aircraft in multiplayer? Speed/heading/position?

Can that be done client side or does it need to be done on the server? I'm not sure how to execute arbitrary scripts on the client.
Reply With Quote
  #7  
Old 11-02-2011, 07:06 AM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

Quote:
Originally Posted by CaptainDoggles View Post
Can you get data on all aircraft in multiplayer? Speed/heading/position?

Can that be done client side or does it need to be done on the server? I'm not sure how to execute arbitrary scripts on the client.
Server side only, however in single player mode, server=client. You can't execute arbitrary scripts on clients in MP as that would allow security threats.

Last edited by ZaltysZ; 11-02-2011 at 07:10 AM.
Reply With Quote
  #8  
Old 11-02-2011, 10:54 AM
ACE-OF-ACES's Avatar
ACE-OF-ACES ACE-OF-ACES is offline
Approved Member
 
Join Date: May 2010
Location: NM
Posts: 2,248
Default

Quote:
Originally Posted by CaptainDoggles View Post
Can you get data on all aircraft in multiplayer? Speed/heading/position?

Can that be done client side or does it need to be done on the server? I'm not sure how to execute arbitrary scripts on the client.
As ZaltysZ noted, it looks like the answer is no.
__________________
Theres a reason for instrumenting a plane for test..
That being a pilots's 'perception' of what is going on can be very different from what is 'actually' going on.
Reply With Quote
  #9  
Old 11-02-2011, 05:45 AM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

Quote:
Originally Posted by ACE-OF-ACES View Post
If so that is one of the limitations of the scripts.. Where as in IL-2 we had DeviceLink that was active during track playback.. And Devicelink allowed you to send commands (set) where as far as I can tell the C# script method only allows you to recive (get) data
Mission scripts are intended for mission logic, and not for interconnection with various devices as DeviceLink is. DeviceLinkish interface is probably still not implemented or at least hidden.
Reply With Quote
  #10  
Old 11-02-2011, 10:51 AM
ACE-OF-ACES's Avatar
ACE-OF-ACES ACE-OF-ACES is offline
Approved Member
 
Join Date: May 2010
Location: NM
Posts: 2,248
Default

Quote:
Originally Posted by ZaltysZ View Post
Mission scripts are intended for mission logic,
But not limited to mission logic

Quote:
Originally Posted by ZaltysZ View Post
and not for interconnection with various devices as DeviceLink is.
But you can use scripts to drive guages

Quote:
Originally Posted by ZaltysZ View Post
DeviceLinkish interface is probably still not implemented or at least hidden.
Only the shadown knows!
__________________
Theres a reason for instrumenting a plane for test..
That being a pilots's 'perception' of what is going on can be very different from what is 'actually' going on.
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:23 AM.


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