Panthir Posted November 18, 2017 Share Posted November 18, 2017 It works Many Thanks My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27" My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE. My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic. Link to comment Share on other sites More sharing options...
Lt-Laverdure Posted November 18, 2017 Share Posted November 18, 2017 (edited) Hello, first thank you a lot for this tool, it is going to come very handy in MP ! I've tried it but im getting the known bug of "Import failed". I try to solve it as described but it isnt working, could somebody post a screenshot of the action to be taken? EDIT : Made it work ! Edited November 18, 2017 by Lt-Laverdure Link to comment Share on other sites More sharing options...
Sgt_Cyanide Posted November 18, 2017 Author Share Posted November 18, 2017 (edited) Need a little help right now. Can someone help me out on how the waypoint time is calculated on the DCS mission editor? Is the time calculated between the previous waypoint and the currently selected? TOT is almost finished but I'm confused right now! :helpsmilie: Edit: NVM, I figured it out myself! Edited November 19, 2017 by Sgt_Cyanide Link to comment Share on other sites More sharing options...
Neon Posted November 19, 2017 Share Posted November 19, 2017 Amazing! You, sir, are my hero. Sent from my iPhone using Tapatalk [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Panthir Posted November 19, 2017 Share Posted November 19, 2017 (edited) Need a little help right now. Can someone help me out on how the waypoint time is calculated on the DCS mission editor? Is the time calculated between the previous waypoint and the currently selected? TOT is almost finished but I'm confused right now! :helpsmilie: Edit: NVM, I figured it out myself! In my opinion, due to the fact that our subject is route planning and not execution you will have to simply add a speed option for each route's leg. In my opinion mach number should be ok as long as it re presents nautical miles per minute (0.8 mach = 8 miles per minute). Set by default a .550 mach number. In this context when you prepare a route by setting the desired leg speeds you will have the calculated time to target and consequently the time between to waypoints. Then if you wish you can add an option for Estimated Time of Take Off calculation by adding a Desired Time to Target price. Cheers Edited November 19, 2017 by Panthir My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27" My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE. My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic. Link to comment Share on other sites More sharing options...
Panthir Posted November 19, 2017 Share Posted November 19, 2017 Mach number is easier to be kept by the players during flying (any altitude) otherwise if you set ground speed in knots or miles it should be difficult cause they will have to calculate. My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27" My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE. My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic. Link to comment Share on other sites More sharing options...
Holton181 Posted November 19, 2017 Share Posted November 19, 2017 Mach nummer are a fraction of the speed of sound, dependent on air temperature, and not NM/minute. Mach 1 represents different speeds (distance per unit time) in different temperatures. So it also necessitates calculations, less intuitive ones too. Helicopters and Viggen DCS 1.5.7 and OpenBeta Win7 Pro 64bit i7-3820 3.60GHz P9X79 Pro 32GB GTX 670 2GB VG278H + a Dell PFT Lynx TrackIR 5 Link to comment Share on other sites More sharing options...
Sgt_Cyanide Posted November 19, 2017 Author Share Posted November 19, 2017 (edited) Thanks for you help. Currently I have only implemented ground speed, like in the mission editor. My calculated time on target is accurat as in the mission editor. But when I load it into the viggen, my time is offset for 200 seconds or so. Maybe I don't understand their logic behind the init.lua right now... Wish RagnarDa would explain their init.lua a bit more. Later I'll have a look into mach numbers. I do a lot of testing right now and it's frustrating :). From the point of view of a programmer, how should mission time from spawn of the plane work in multiplayer? Am I missing something? Line in init.lua: "missiontime = 0, -- Optional. ETA in seconds from the start of the mission or when the aircraft is spawned." Edited November 20, 2017 by Sgt_Cyanide Link to comment Share on other sites More sharing options...
Ice_Cougar Posted November 20, 2017 Share Posted November 20, 2017 I fixed the issue on Friday. Works great. Thanks again for making this :) Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Panthir Posted November 20, 2017 Share Posted November 20, 2017 (edited) Mach nummer are a fraction of the speed of sound, dependent on air temperature, and not NM/minute. Mach 1 represents different speeds (distance per unit time) in different temperatures. So it also necessitates calculations, less intuitive ones too. When you fly, any altitude, wind free (zero wind) then the mach number you keep, multiplied by ten gives you the ground speed expressed in NM per Min. That's it so simple. Let's say you fly 0.75M 35.000' (zero wind) you will cover 450nm per hour. In case of opposite wind eg 40knots after one hour you will have covered 410nm. Edited November 20, 2017 by Panthir My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27" My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE. My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic. Link to comment Share on other sites More sharing options...
renhanxue Posted November 21, 2017 Share Posted November 21, 2017 When you fly, any altitude, wind free (zero wind) then the mach number you keep, multiplied by ten gives you the ground speed expressed in NM per Min. That's it so simple. Let's say you fly 0.75M 35.000' (zero wind) you will cover 450nm per hour. In case of opposite wind eg 40knots after one hour you will have covered 410nm. That’s a neat rule of thumb for ballpark estimates, but it’s off by more than 10% at sea level even at ISA. Link to comment Share on other sites More sharing options...
Panthir Posted November 21, 2017 Share Posted November 21, 2017 That’s a neat rule of thumb for ballpark estimates, but it’s off by more than 10% at sea level even at ISA. That's right! My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27" My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE. My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic. Link to comment Share on other sites More sharing options...
Sgt_Cyanide Posted November 21, 2017 Author Share Posted November 21, 2017 The only thing stopping me to implement TOT is that I don't understand how the init.lua -> missiontime = X works, especially in a multiplayer session. I would be really happy if someone can explain me how this works. :helpsmilie: Link to comment Share on other sites More sharing options...
Wizard1393 Posted November 22, 2017 Share Posted November 22, 2017 Shoot RagnarDa a PM and see if he will enlighten you. GPU: PALIT NVIDIA RTX 3080 10GB | CPU: Intel Core i7-9700K @ 4,9GHz | RAM: 64GB DDR4 3000MHz VR: HP Reverb G2 | HOTAS: TM Warthog Throttle and Stick OS: Windows 10 22H2 Link to comment Share on other sites More sharing options...
Sgt_Cyanide Posted November 22, 2017 Author Share Posted November 22, 2017 (edited) Shoot RagnarDa a PM and see if he will enlighten you. I've send him a PM three weeks ago, but I'll try it again. Maybe he had a lot of work to do. Edit: Can't send him a PM. "RagnarDa has exceeded their stored private messages quota and cannot accept further messages until they clear some space." Edited November 22, 2017 by Sgt_Cyanide Link to comment Share on other sites More sharing options...
Vatikus Posted November 22, 2017 Share Posted November 22, 2017 I believe that there is a bug with TOT... Link to comment Share on other sites More sharing options...
Panthir Posted November 22, 2017 Share Posted November 22, 2017 I've send him a PM three weeks ago, but I'll try it again. Maybe he had a lot of work to do. Edit: Can't send him a PM. "RagnarDa has exceeded their stored private messages quota and cannot accept further messages until they clear some space." The same happened to me a couple of weeks ago. Try again and he will reply. I am sure. My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27" My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE. My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic. Link to comment Share on other sites More sharing options...
Holton181 Posted November 22, 2017 Share Posted November 22, 2017 I don't remember if it have been reported before, but I get the "Import failed..." error whenever I have a DMP planed route in my init.lua. Haven't tested with a ME route yet. Makes it impossible to edit a route already exported, always necessitates removing everything in 'Data_cartridges'. Helicopters and Viggen DCS 1.5.7 and OpenBeta Win7 Pro 64bit i7-3820 3.60GHz P9X79 Pro 32GB GTX 670 2GB VG278H + a Dell PFT Lynx TrackIR 5 Link to comment Share on other sites More sharing options...
Sgt_Cyanide Posted November 22, 2017 Author Share Posted November 22, 2017 Here is a small update on my im- exporter. Now there should be less errors on import or export. You can see a preview on how TOT works on the waypoints, but it's not enabled yet! The link is on my first post on this thread. Changelog Version 0.0.2: - Improvements on the Im- Exporter. - New application icon. - Unfinished implementation of TOT. Link to comment Share on other sites More sharing options...
Holton181 Posted November 22, 2017 Share Posted November 22, 2017 Nope, no success for me, same issue :( As a side note, was there a default flight-plan in the init.lua before today's DCS update with entries like this? { cartridgenr = 1, -- Can be 1 to 5 waypointnr = 0, -- From 0 to 10 where 0 i starting base LS and 10 is L1. Nearest pre-programmed airbase will be used. latitude = 41.60917, -- Degrees latitudeminutes = 0, -- Optional latitudeseconds = 0, -- Optional longitude = 41.60028, -- Degrees longitudeminutes = 0, -- Optional longitudeseconds = 0, -- Optional missiontime = 0, -- Optional. ETA in seconds from the start of the mission or when the aircraft is spawned. velocity = 0, -- Optional. Sets a forced speed in m/s. etalocked = false, -- Set to true to make the waypoint use the missiontime. Waypoint will be converted to targetpoint (Målpunkt) velocitylocked = false, -- Set to true to use the forced speed. istargetpoint = false, -- Set to true to set the waypoint as a targetpoint. }, Helicopters and Viggen DCS 1.5.7 and OpenBeta Win7 Pro 64bit i7-3820 3.60GHz P9X79 Pro 32GB GTX 670 2GB VG278H + a Dell PFT Lynx TrackIR 5 Link to comment Share on other sites More sharing options...
LuftStriegler Posted November 22, 2017 Share Posted November 22, 2017 You de man, bro, you de man! :thumbup: Link to comment Share on other sites More sharing options...
Sgt_Cyanide Posted November 22, 2017 Author Share Posted November 22, 2017 Nope, no success for me, same issue :( As a side note, was there a default flight-plan in the init.lua before today's DCS update with entries like this? { cartridgenr = 1, -- Can be 1 to 5 waypointnr = 0, -- From 0 to 10 where 0 i starting base LS and 10 is L1. Nearest pre-programmed airbase will be used. latitude = 41.60917, -- Degrees latitudeminutes = 0, -- Optional latitudeseconds = 0, -- Optional longitude = 41.60028, -- Degrees longitudeminutes = 0, -- Optional longitudeseconds = 0, -- Optional missiontime = 0, -- Optional. ETA in seconds from the start of the mission or when the aircraft is spawned. velocity = 0, -- Optional. Sets a forced speed in m/s. etalocked = false, -- Set to true to make the waypoint use the missiontime. Waypoint will be converted to targetpoint (Målpunkt) velocitylocked = false, -- Set to true to use the forced speed. istargetpoint = false, -- Set to true to set the waypoint as a targetpoint. }, You need to remove the default entries. The default file will be recreated on every update... The data cartridge section needs to look like this: Data_cartridges = { } I've included a sample files in the documents folder. Link to comment Share on other sites More sharing options...
Holton181 Posted November 23, 2017 Share Posted November 23, 2017 You need to remove the default entries. The default file will be recreated on every update... The data cartridge section needs to look like this: Data_cartridges = { } I've included a sample files in the documents folder. Thanks, but I did that. When removing the flightplans I can import it (no real use), after creating a new one I can export it, but not import it again afterwards. I'm not at my computer at the moment, but later today I can share my init.lua for you to look at if it would help. Helicopters and Viggen DCS 1.5.7 and OpenBeta Win7 Pro 64bit i7-3820 3.60GHz P9X79 Pro 32GB GTX 670 2GB VG278H + a Dell PFT Lynx TrackIR 5 Link to comment Share on other sites More sharing options...
Sgt_Cyanide Posted November 23, 2017 Author Share Posted November 23, 2017 Attach your init file. Maybe I spot the error. You can try to import the sample init in the documents folder, maybe this works. Link to comment Share on other sites More sharing options...
Holton181 Posted November 23, 2017 Share Posted November 23, 2017 I have now tried to import the sample file but no luck. Attached my own init.init.lua Helicopters and Viggen DCS 1.5.7 and OpenBeta Win7 Pro 64bit i7-3820 3.60GHz P9X79 Pro 32GB GTX 670 2GB VG278H + a Dell PFT Lynx TrackIR 5 Link to comment Share on other sites More sharing options...
Recommended Posts