PSYKOnz Posted February 8, 2020 Posted February 8, 2020 hi there, I was wondering if there is a way of getting a tanker to come to you in the mission editor, in most of our missions, we have a tanker somewhere near our AO so we can fill up when needed but some times for whatever reason some of us are a little too low on dinosaurs to make it to the tanker, it would be awesome if some way through radio or whatever we were able to call the tanker and get him to leave his racetrack and head towards up so we could tank, any idea if this can be done? Tomcat, Tomcat über allen
Breaklight Posted February 8, 2020 Posted February 8, 2020 Real quick With add radio item to group Flag 1 on Flag 1 is on, tanker push wp 3 Wp 3 would be the new orbit near to you. Make it specifically come to you? I dont know, but you could get to to come closer to a designated area Verstuurd vanaf mijn SM-G930F met Tapatalk
davidp57 Posted February 8, 2020 Posted February 8, 2020 You would need 3 things to do this : a specific system that could automaticall add items to a radio menu for each player (we've got this in our VEAF radio scripts) a way of moving a tanker to some point (we've got this too, but it's been buggy lately ; investigation is on) a script, called by the aforementionned radio menu, looking up the position of the calling unit and sending the tanker to its location Easy-peasy ;) Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !
PSYKOnz Posted February 9, 2020 Author Posted February 9, 2020 lol sounds like it! Tomcat, Tomcat über allen
davidp57 Posted February 9, 2020 Posted February 9, 2020 Give me a few days and I’ll do it; then I’ll post it here. Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !
toutenglisse Posted February 9, 2020 Posted February 9, 2020 As an option, here is a "do script" that would work using MIST (you have to trigger a "do file script" at mission start and link the MIST file script you can find here : https://forums.eagle.ru/showthread.php?t=98616 ) considering your group name is YourGroup and tanker group name is Tanker1, add a F10 radio menu to call the function for exemple "tanker rejoin us", that triggers this "do script" : local zone = mist.getLeadPos('YourGroup') local startPoint = mist.getLeadPos('Tanker1') local path = {} path[#path + 1] = mist.fixedWing.buildWP(startPoint, TurningPoint, 250, 5000) path[#path + 1] = mist.fixedWing.buildWP(zone, TurningPoint, 250, 5000) mist.goRoute('Tanker1', path) This will give to tanker the order to immediately go to your actual groupleader's position, traveling at 250 knots 5000 feets high.
davidp57 Posted February 9, 2020 Posted February 9, 2020 (edited) Cool, somehow I completely bypassed this "mist.fixedWing.buildWP" method ! In my scripts I always traverse an existing mission and reproduce the DCS editor tables in lua... Merci Toutenglisse ! [EDIT] There is a problem, though: will the tanker still do his tanker mission with this method ? In my "move tanker" command, I copy the whole tanker mission after having teleported the tanker to a point. This used to work until recently. I'll go check if it does work again and report. Edited February 9, 2020 by davidp57 Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !
davidp57 Posted February 9, 2020 Posted February 9, 2020 Ok, I did it ! You can see it in action in the VEAF-Demo-Mission (get it here). I left all the debug and trace messages in place so you can see how it works (they go in the dcs.log file). Additionnaly, there are debug markers that are placed when the "_move tanker" command is executed, showing the different points referenced in the log messages. You can use the menu radio like this : https://i.imgur.com/g5IVy73.jpg You can also use the marker command like that : https://i.imgur.com/t2pHKju.jpg The source code is available on the VEAF-Mission-Creation-Tools repository, and as always I'm here to discuss it (and on the VEAF's discord or forum) Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !
PSYKOnz Posted February 10, 2020 Author Posted February 10, 2020 You legend! I’ll take a look at it when I get back on my pc, thank you so much for your time and work on this! I really appreciate it :) Tomcat, Tomcat über allen
Recommended Posts