mwd2 Posted July 14, 2018 Share Posted July 14, 2018 It is possible to AAR in a circle. From NAVAIR 00-80T-105, July 2009 The recovery tanker shall maintain a rendezvous circle oriented on the CV (Figure 6-13). The rendezvous circle shall contain four reference points. Minimum pattern altitude shall be 1,500 feet. This pattern is a left-hand circle within 5 nm of the CV during launch and recovery operations. When the last jet is aboard, the tanker shall climb to prebriefed altitude and switch to assigned frequency for control. page 6-32 page 6-36 Playing: F-16C Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815 Link to comment Share on other sites More sharing options...
Wrench Posted July 15, 2018 Author Share Posted July 15, 2018 I have tried, and I have failed. I can't get the tanker to fly a reasonable circle. The problem is the track gets all wonky as it has to move to follow the carrier. I think the best I'll be able to do is to have it race-track around the carrier a few miles. Carrier Script. Link to comment Share on other sites More sharing options...
mwd2 Posted July 16, 2018 Share Posted July 16, 2018 Okay. In the Missioneditor, i setup for the Tanker two waypoints (WP), on the first WP - i setup the Orbit Circle Option under Advance WP Action. The 2nd define the racetrack length. Would it be possible to get access to the position of the WPs and move these with the moving CSG (Carrier Strike Group)? Playing: F-16C Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815 Link to comment Share on other sites More sharing options...
Wrench Posted July 17, 2018 Author Share Posted July 17, 2018 So I did some 'research' (asked Grimes) and he told me it's a long-standing bug that AI will only treat waypoints created during a mission as fly over waypoints. I'll have a look at scripting a racetrack pattern, but that comes with another problem: I need some way for the tanker to call the script again. Right now, I've been setting up 4 waypoints for him to follow and setting a waypoint action (via script) to re-run the function and generate 4 new waypoints. The problem with orbit/racetrack waypoints is that they never 'complete', meaning tasks assigned to them will never be carried out, i.e. running the script. I've attempted a workaround by scheduling the script to run itself every <x> seconds, but if there is any error in the time it takes to complete an orbit vs. the time taken to run the script again, (and there always will be) the error processes and the route gets more and more out of sync. Carrier Script. Link to comment Share on other sites More sharing options...
mwd2 Posted July 17, 2018 Share Posted July 17, 2018 Thanks for the deeper look into it. Would it be possible to use 2 waypoints, with an option on the 2nd. wp to loop back to the first wp? This would give us something like a circle. In a case of 'out of fuel' for the tanker, where will be the respawn? Back at the start (ME position) or the new calculation position, close to the carrier? Playing: F-16C Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815 Link to comment Share on other sites More sharing options...
Wrench Posted July 17, 2018 Author Share Posted July 17, 2018 That's basically what I've tried. There is a bug regarding how the airport interperets those waypoints. I'm looking into a workaround now. As for the fuel state, the tanker will rtb on bingo and respawn. If you start it on deck in the mission editor, it will take off and then follow the route again. Carrier Script. Link to comment Share on other sites More sharing options...
S D Posted July 27, 2018 Share Posted July 27, 2018 (edited) Could you explain how you achieved this:- Version 0.3 Uploaded Added TACAN bug workaround- acts autonomously I see you have the TACAN activated in the triggered actions, how is that being triggered? Edited July 27, 2018 by Shadow.D. Link to comment Share on other sites More sharing options...
Wrench Posted July 27, 2018 Author Share Posted July 27, 2018 trigger.action.pushAITask https://wiki.hoggitworld.com/view/DCS_func_pushAITask Make sure that "Activate TACAN" is set as a triggered action for the group in the ME, and call this with the group and index of the action. Carrier Script. Link to comment Share on other sites More sharing options...
3rd-Nidray Posted September 10, 2018 Share Posted September 10, 2018 Hi, thank you very much for your script, it is really great! just a question, the tanker loses its function as a tanker and can no longer be contacted, is there a solution? Link to comment Share on other sites More sharing options...
Wrench Posted September 12, 2018 Author Share Posted September 12, 2018 Sorry about that. It turns out that there are some errors with how waypoints are handled in DCS so the tanker can't be made to fly a route that makes sense. I think I have a version that will keep the tanker doing the refueling task, but it doesn't fy smooth enough to be of much use. Carrier Script. Link to comment Share on other sites More sharing options...
3rd-Nidray Posted September 15, 2018 Share Posted September 15, 2018 Hi, thank you for your answer, no worries, for the moment, I use version 0.7 and I add manualy the S3B with DCS triggers. I give it a circle pattern in close to the initial point of the carrier. With other members of my team we look from our side if we can find a solution for the tanker. Many brain is better. Thanks again for your work this script is really great. Link to comment Share on other sites More sharing options...
Wrench Posted September 18, 2018 Author Share Posted September 18, 2018 If you can find a workaround, I'd be really happy to hear it. The problem is I'm pushing waypoints to the carrier via script, and any waypoints done that way are automatically set to "fly over point" regardless of what they're supposed to be. BTW, you should use 0.8 because it added other features. Just set the tanker argument to nil (not quotes) and the script will ignore that section of the code. Carrier Script. Link to comment Share on other sites More sharing options...
Wrench Posted September 18, 2018 Author Share Posted September 18, 2018 I've updated the script with a few fixes. No workaround for the tanker's flyover waypoints, but it will continue to refuel, and several other fixes/features added. Carrier Script. Link to comment Share on other sites More sharing options...
3rd-Nidray Posted September 24, 2018 Share Posted September 24, 2018 Ok !! Thx Wrench ! Link to comment Share on other sites More sharing options...
Wrench Posted September 25, 2018 Author Share Posted September 25, 2018 Version 1.0 Uploaded. Details in the first and second post. Carrier Script. Link to comment Share on other sites More sharing options...
mwd2 Posted September 25, 2018 Share Posted September 25, 2018 (edited) A lot of information in the missionfile - but if i only want your carrier script ('turn in the wing', Call out BRC, FB, etc.), what do i need from your mission? Edit: And why start the carrier turning into the wind, just at mission start - would it not be better, you call for 'turn in wind' via F10? Edited September 25, 2018 by mwd2 Playing: F-16C Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815 Link to comment Share on other sites More sharing options...
Wrench Posted September 25, 2018 Author Share Posted September 25, 2018 I posted a setup video in the 2nd post that shows the basic setup. As for the question of running the script at mission start, I conceptualized that as the most realistic option, as carriers don't work around the schedule for individual flights, as this would be a logistical nightmare. Instead, they follow a predictable schedule, which is what the script defaults to. If you want to use the f10 commands for convenience' sake, you certainly can. You could put the function call line in the f10 menu in the mission editor instead of at mission start, and the carrier will sit until you activate the script through the menu. Also note that you have control over the carrier in the f10 menu included in the script. You could use f10>carrier script>'carrier name'>Stop command at mission start, then use the 'Automatic' command when a few minutes from landing. Carrier Script. Link to comment Share on other sites More sharing options...
Thewarblade Posted September 25, 2018 Share Posted September 25, 2018 Wrench I need your help, How to set up a group in your fantastic script for the F10 Submenu. BTW nice job man! [sIGPIC][/sIGPIC] https://www.facebook.com/vJaBoG32/ http://virtual-jabog32.de/ Link to comment Share on other sites More sharing options...
Wrench Posted September 25, 2018 Author Share Posted September 25, 2018 Warblade, how to set up a group in which part? Carrier Script. Link to comment Share on other sites More sharing options...
Thewarblade Posted September 25, 2018 Share Posted September 25, 2018 I mean that only specific Units(Clients) enable to get the Carrier script with the F10 Menu [sIGPIC][/sIGPIC] https://www.facebook.com/vJaBoG32/ http://virtual-jabog32.de/ Link to comment Share on other sites More sharing options...
Wrench Posted September 25, 2018 Author Share Posted September 25, 2018 Any unit on the same coalition as the carrier will have access to the f10 menu. The only thing that won't is the combined arms slots, as they are handled separately by DCS. Carrier Script. Link to comment Share on other sites More sharing options...
3rd-Nidray Posted September 27, 2018 Share Posted September 27, 2018 Hi Wrench, We tested the new version of the script with my team, you did a great job, there is just one line that causes problems, in line 363 of the script "if allgroups and allgroups ["units"] [1] ["coalition"] == _G [unit1 .. 'coastring'] then ". If you delete a group, the script stops, we change the command so that the script does not of interrogation on a "Array nil". I do not know if you understand because I use google translate, but I will send you in MP the version of the script that we corrected for you to look at. Have a good day Link to comment Share on other sites More sharing options...
Wrench Posted September 29, 2018 Author Share Posted September 29, 2018 That's odd, since it only runs once at mission start. after that it shouldn't matter. Carrier Script. Link to comment Share on other sites More sharing options...
maximig Posted September 29, 2018 Share Posted September 29, 2018 Hello, Ineed your help. i dont know whats wrong, but after launching the mission the carrier stops and doesnt turn against the wind. THX _1_test.miz Link to comment Share on other sites More sharing options...
Wrench Posted September 30, 2018 Author Share Posted September 30, 2018 I'll have a look asap. I've gotten a few bug reports and I'm making some tweaks, so I'll make sure that yours is a known issue. Carrier Script. Link to comment Share on other sites More sharing options...
Recommended Posts