Another newbie trying to mod :) - w1ndf4k3r - 07.07.2010
Hi to all.
the mod I'm trying to make is a modification to devicelink, in sense, i wish to export some other internal variables. For starters I'm in bad need to get the positioning on the map. I don't know if this was done before, however i didn't find it.
So is anyone able/willing to provide some help regarding this kind of modding? or similar mod exist? source code available? Or even someone willing to make the mod?
Re: Another newbie trying to mod :) - w1ndf4k3r - 07.07.2010
Nvm figured it out
Didn't knew it was thas that simple, I
Re: Another newbie trying to mod :) - w1ndf4k3r - 08.07.2010
Ok, i managed to write the mod however looks like i dont know how to properly install it into the game
Tryed to copy the files into the il2/Files/ folder where i got them and nothing changed. So can any1 help me with that?
Re: Another newbie trying to mod :) - Guest - 08.07.2010
What is the device link and what are you modifying about it?
Re: Another newbie trying to mod :) - w1ndf4k3r - 08.07.2010
Ok i finished the mod. I figured it all by myself \o/
Devicelink is il2's protocol to comunicate with a 3rd party programs, for people that make thair own cockpit models or similar.You can also send commands tru that protocol, more or less everything u can keybind, u shuld look the readme devicelink.txt in il2 folder
However i wanted device link to export also x and y coordinates where the plane on the map is for my experimenting, so i wrote the mod
Anyway heres the my first experiment:
Can the ingame coordinates be translated into reallife longiture/latitude coordinates and the flight history be displayed in google earth?
Yes apparently it can!
i used the map okinawa and with photoshop i overlaped the both maps and found the latitude and longitude offset.
heres the result: [attachment=156]
Re: Another newbie trying to mod :) - Guest - 09.07.2010
Wow that is interesting, very interesting, and I just realised Google Earth has 3D water and you can go under it, But might I ask what the point of this mod is?
Re: Another newbie trying to mod :) - w1ndf4k3r - 09.07.2010
Well i got 2 uses for external position via devicelink.
1. is well flight history review, similar what u get when u finish the mission except this is realtime and 3d
2. main purpose to use il2 as an UAV simulator, for my autopilot project.
Re: Another newbie trying to mod :) - WhoDatNotSayin - 09.07.2010
w1ndf4k3r, if you haven't yet seen it, you may find this of interest:
http://forums.ubi.com/eve/forums/a/tpc/f/23110283/m/4121016097?r=4121016097#4121016097
Re: Another newbie trying to mod :) - w1ndf4k3r - 11.07.2010
yeah ive notice that thread, however as far as i know he didnt have the x,y position i accomplished that so now i can use il2 for some serius uav testing
Re: Another newbie trying to mod :) -
KG64_Cnopicilin - 14.07.2010
Welcome to the forum, well done.
Re: Another newbie trying to mod :) - w1ndf4k3r - 15.07.2010
Thanks, also I've added an accurate(in milliseconds) time export which is good for certain calculations (groundspeed,rollrate,pitchrate,etc..).
As for sharing the actual mod i am undecided. I am willing to share however, since at the beginning i didn't know where to start i used as an example the Devicelink online mod found on this forums, so my mod know is online enabled which imho is abusable so i wont share this version, but i will rewrite the mod using the original device link. So the question about sharing is more about me being lazy to rewrite it
Also I've succesfuly created few autopilot parts. My autopilot can hold bank/pitch, Vertical speed, and/or altitude. ex: Plane is at 2000m and i tell autopilot to hold altitude at 2m, the plane will descent and hold altitude and fly level 2m from sea
Now all that is left is heading hold and i can easily make an 3d waypoint navigation.
Re: Another newbie trying to mod :) -
KG64_Cnopicilin - 15.07.2010
w1ndf4k3r Wrote:Thanks, also I've added an accurate(in milliseconds) time export which is good for certain calculations (groundspeed,rollrate,pitchrate,etc..).
As for sharing the actual mod i am undecided. I am willing to share however, since at the beginning i didn't know where to start i used as an example the Devicelink online mod found on this forums, so my mod know is online enabled which imho is abusable so i wont share this version, but i will rewrite the mod using the original device link. So the question about sharing is more about me being lazy to rewrite it
Also I've succesfuly created few autopilot parts. My autopilot can hold bank/pitch, Vertical speed, and/or altitude. ex: Plane is at 2000m and i tell autopilot to hold altitude at 2m, the plane will descent and hold altitude and fly level 2m from sea Now all that is left is heading hold and i can easily make an 3d waypoint navigation.
Wow, you're going to be one of the top dogs here with your mods
Re: Another newbie trying to mod :) - w1ndf4k3r - 15.07.2010
Oh maybe i wasnt that clear, the autopilot thing i spoke about isn't a mod, is a 3rd party program that controls il tru devicelink. the only mod i applied to il was add "gps", which at the moment my autopilot doesnt even use.
Re: Another newbie trying to mod :) - snoopy1394 - 10.02.2011
w1ndf4k3r Wrote:Ok i finished the mod. I figured it all by myself \o/
Devicelink is il2's protocol to comunicate with a 3rd party programs, for people that make thair own cockpit models or similar.You can also send commands tru that protocol, more or less everything u can keybind, u shuld look the readme devicelink.txt in il2 folder
However i wanted device link to export also x and y coordinates where the plane on the map is for my experimenting, so i wrote the mod
Anyway heres the my first experiment:
Can the ingame coordinates be translated into reallife longiture/latitude coordinates and the flight history be displayed in google earth?
Yes apparently it can!
i used the map okinawa and with photoshop i overlaped the both maps and found the latitude and longitude offset.
heres the result: [ATTACHMENT NOT FOUND]
Hi I would like to do the same mod. I didn't find any informations about write a mod. Please could you tell me what I need, if you have also a small piece of code.
Thx in advence.
Frederic
Re: Another newbie trying to mod :) - Tex-Twil - 05.01.2012
Hi,
I'm also interested in having this extended Device Link. Did you publish the mod somewhere ?
regards