strikers_blade Posted March 21, 2018 Posted March 21, 2018 Thanks to Maverick from the 104th, I now know how to set tankers inside my mission. (see video at the bottom if you want to know how). Unfortunately, I am at a stage where I would like my tanker(s) to not only return to base when they are bingo fuel but would also like them to refuel and then get back in the air for their original orbiting pattern. I searched on these forums, google and youtube without luck. I might be choosing the wrong words to search but still, no luck yet. Any of you can help? Maverick's video: My systems: Windows 10 64 bits I7-8700k 32.0 GB RAM 500Gb SSD Asus ROG 2080ti HP Reverb Windows 10 64 bits I7-6820HQ CPU @ 2.70Ghz 32.0 GB RAM 500Gb SSD Nvidia Quadro M4000M TrackIR 5
Frederf Posted March 21, 2018 Posted March 21, 2018 I know of no way to get an AI which has completed a sortie to return to flight. You probably have to make a new AI.
Mistermann Posted March 22, 2018 Posted March 22, 2018 I think you can accomplish this in MOOSE. It may not be exactly what you're asking for, but it appears you could have one tanker RTB and another spawn and replace it. Below is a video describing Finite State Machines in MOOSE and at about the 15 min mark, FlightControl discusses an example. I think you could take that example and modify it to your needs. Might be worth a try. System Specs: Spoiler Callsign:Kandy Processor:13th Gen Intel(R) Core(TM) i9-13900K - RAM: 64GB - Video Card: NVIDIA RTX 4090 - Display: Pimax 8kx VR Headset - Accessories: VKB Gunfighter III MCG Ultimate, VKB STECS Standard, Thrustmaster TPR Pedals, Simshaker JetPad, Predator HOTAS Mounts, 3D Printed Flight Button Box Video Capture Software: Open Broadcaster Software (OBS), Video Editing Software: PowerDirector 35 Into The Jungle (MP Mission) F18: Scorpion's Sting Apache Campaign - Griffins Kiowa Campaign - Assassins
Fri13 Posted March 22, 2018 Posted March 22, 2018 It is sad that DCS has so limited mission creator tools by default, that you can't example just get new sorties created and then assign them to specific wings, or create a waypoint paths without any group in them, so you could swap in the fly a any other group to start using a specific path or back to original. Too many things are required to go through some heavy scripting or just being impossible. i7-8700k, 32GB 2666Mhz DDR4, 2x 2080S SLI 8GB, Oculus Rift S. i7-8700k, 16GB 2666Mhz DDR4, 1080Ti 11GB, 27" 4K, 65" HDR 4K.
Pikey Posted March 22, 2018 Posted March 22, 2018 We've been fighting these fundamental designs for many years. DCS is designed around a single sortie flightplan, no ground time, no multi-sortie design outside of a client join in progress. LAND will always be the last waypoint in this sim. It's an interesting concept though for the wishlist to have a Refuel/Rearm waypoint that handles an RTB and then resume, but it would be quite a lot of change and spawns have been used for years to workaround it thusfar. It's not too hard to late activate a tanker in response to the first one landing with just the triggers, probably for one replacement else it just gets too complex. I just wouldnt do it like this because the Scripting engine supports spawning which is a fundamental workaround to most of the single sortie limits. For helicopters they did implement a land process that can occur before the final land waypoint, although I'm seeing an interesting bug if that's tried and this i'm way off topic to discuss. It is sad that DCS has so limited mission creator tools by default, that you can't example just get new sorties created and then assign them to specific wings, or create a waypoint paths without any group in them, so you could swap in the fly a any other group to start using a specific path or back to original. Too many things are required to go through some heavy scripting or just being impossible. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Pikey Posted March 22, 2018 Posted March 22, 2018 That wouldnt be the way, the function is clearly defined in Spawn https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/Spawn.html#SPAWN to simply spawn another when it shutsdown. :InitLimit to control the amount of tankers and SpawnSchedule() to repeat the spawn. Can be accomplished in one line of code. Of course people baulk at this and I can understand why. I don't think a description of the code would be what is asked for so I won't provide it, but they are welcome to ask in Discord if they really are interested how to get a tanker to keep going. I think you can accomplish this in MOOSE. It may not be exactly what you're asking for, but it appears you could have one tanker RTB and another spawn and replace it. Below is a video describing Finite State Machines in MOOSE and at about the 15 min mark, FlightControl discusses an example. I think you could take that example and modify it to your needs. Might be worth a try. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Mistermann Posted March 22, 2018 Posted March 22, 2018 (edited) That wouldnt be the way, the function is clearly defined in Spawn . Thanks Pikey!! I am new to the MOOSE world and remembered this video as I watched it the other day. I knew MOOSE could do it, but just didn't know where. Of course --- Spawn(). Thanks for jumping in and squaring away my poor advice! :music_whistling: Just posted on Discord asking for the code example. Edited March 22, 2018 by Mistermann System Specs: Spoiler Callsign:Kandy Processor:13th Gen Intel(R) Core(TM) i9-13900K - RAM: 64GB - Video Card: NVIDIA RTX 4090 - Display: Pimax 8kx VR Headset - Accessories: VKB Gunfighter III MCG Ultimate, VKB STECS Standard, Thrustmaster TPR Pedals, Simshaker JetPad, Predator HOTAS Mounts, 3D Printed Flight Button Box Video Capture Software: Open Broadcaster Software (OBS), Video Editing Software: PowerDirector 35 Into The Jungle (MP Mission) F18: Scorpion's Sting Apache Campaign - Griffins Kiowa Campaign - Assassins
strikers_blade Posted March 22, 2018 Author Posted March 22, 2018 (edited) Spawn is indeed, a good way to go around the problem. Thanks Moose. I will definitely try to jump on discord from now on :D That wouldnt be the way, the function is clearly defined in Spawn https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/Spawn.html#SPAWN to simply spawn another when it shutsdown. :InitLimit to control the amount of tankers and SpawnSchedule() to repeat the spawn. Can be accomplished in one line of code. Of course people baulk at this and I can understand why. I don't think a description of the code would be what is asked for so I won't provide it, but they are welcome to ask in Discord if they really are interested how to get a tanker to keep going. Edited March 22, 2018 by strikers_blade My systems: Windows 10 64 bits I7-8700k 32.0 GB RAM 500Gb SSD Asus ROG 2080ti HP Reverb Windows 10 64 bits I7-6820HQ CPU @ 2.70Ghz 32.0 GB RAM 500Gb SSD Nvidia Quadro M4000M TrackIR 5
Recommended Posts