nebuluski Posted September 9, 2012 Posted September 9, 2012 Simplified Scenario I have an enemy convoy, within the convoy there are two units (Fuel Tankers) hauling VX Nerve agent, the other units (BTRs etc) are escorts. So I want a friendly HazMat team (recently landed at a nearby airfield) to meet the Tankers along their path, but only once the other escort units in the group are dead, then escort the tankers back to a nearby airfield. The problems I have to overcome are that: I have no idea where along the convoy path the tankers will become unescorted; When the HazMat team meet the tankers, there will be a battle! Any ideas or suggestions would be greatly appreciated? Rig: MSI Mag X570 Tomahawk| AMD 5600 | 32 GB DDR3 | M2 NVME Gen4 1TB SSD | Samsung EVo 850 2TB, 500 & 256 GB SSD | Gigabyte AORUS GTX 1080Ti | Samsung 24" (1920x1200) | 2 x Iiyama 22" T2250MTS touch screen (1920x1080) | 2 x 6.4" LCD | Cougar MFDs | Thrustmaster Warthog | CH Pro Pedals | Windows 10 [sIGPIC][/sIGPIC]
Exorcet Posted September 9, 2012 Posted September 9, 2012 (edited) I have no idea where along the convoy path the tankers will become unescorted If you set multiple trigger zones that activate when all but the tankers are dead, you should be able to get around this. Example, the convoy goes along 10 miles of road. Every 2 miles, there is a trigger zone. Once the units are dead, the next trigger zone that the convoy enters triggers the HAZMAT team. Each trigger can be assigned to one HAZMAT or have their own individual HAZMAT if you want to make the rendezvous happen quickly. You may also need to use a flag to ensure that only one trigger zone activates. When the HazMat team meet the tankers, there will be a battle!Any ideas or suggestions would be greatly appreciated?What is the problem here? Do you want to avoid a battle or are trying to make something specific happen? Edited September 10, 2012 by Exorcet Awaiting: DCS F-15C Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files
BigfootMSR Posted September 9, 2012 Posted September 9, 2012 What is the problem here? Do you want to avoid a battle or are trying to make something specific happen? It sounds to me like the OP wants to have the tankers join up with the group hazmat. I don't see how that is possible if they are from different sides (enemy/friendly). The only way around that is to basically, despawn the enemy group, and then spawn a new escort group that has the tanker and anything else you want to keep in the group that is not an enemy. Another option would be to set the ROF under set options/ or command (I forget wich) to weapon hold. That will prevent them from firing at the hazmat team. DCS: A10C Warthog JTAC coordinate entry training mission http://www.digitalcombatsimulator.com/en/files/99424/ DCS: Blackshark 2 interactive training missions http://forums.eagle.ru/showthread.php?t=84612
Grimes Posted September 9, 2012 Posted September 9, 2012 Problem 1: The location needs to be scripted and known. Unfortunately we cannot dynamically change the route of a ground force. Problem 2: Set up three groups. Two are escorts, and the other are the tankers. Position the tankers in the middle and leave some space. Also set the tankers to "invisible" under their first advanced waypoint action. Invisible means the AI will ignore them. Unfortunately they will still be susceptible to friendly fire or enemy fire if they happen to get in the way. You can always set em to invincible to prevent it. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Exorcet Posted September 9, 2012 Posted September 9, 2012 Another option would be to set the ROF under set options/ or command (I forget wich) to weapon hold. That will prevent them from firing at the hazmat team. I like that idea. The convoy could also be set to invisible, allowing the escorting force to shoot at enemies without attacking the tankers. As for merging the two groups from different sides, the trigger that spawns HAZMAT could also shutdown the convoy AI. A moving trigger zone on HAZMAT could then reactivate the convoy AI when HAZMAT is close enough to the convoy. Awaiting: DCS F-15C Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files
nebuluski Posted September 10, 2012 Author Posted September 10, 2012 (edited) Thanks for the various ideas and approaches, I think I have used something from all of them. As always there is always a need for compromise. I have managed to get a workable solution. I have attached the mission file for my solution in case this helps someone else. The WMD convoy (escorts and tankers) follow a predefined path with in this case 6 WPs. When the WMD escorts are destroyed, the tankers will continue to the next waypoint. The HazMat team (in this case 2xAPC M1043 HMMWV Armament with ROE set to Weapons hold) have the same waypoints as the WMD convoy but in reverse. A Flag keeps track of the WP the tankers have stopped at, this is used to Activate the relevant new combined HazMat/Tanker convoy when necessary. When the Hazmat team enters the moving zone associated with the WMD convoy this triggers the deactivation of the old WMD Convoy group and the HazMat team and activates the relevant WP new aggregated convoy that returns to the Airfield. There is other logic that keeps count of the number of remaining tankers, and activates the correct WP new HazMat/Tanker group with the right number of tankers. Phew - a bit convoluted but gets there! A major compromise is that a Russian tanker is not the same as a US one! I might look further at Grimes's suggestion 2.WMD Convoy Test.miz Edited September 11, 2012 by nebuluski Typos Rig: MSI Mag X570 Tomahawk| AMD 5600 | 32 GB DDR3 | M2 NVME Gen4 1TB SSD | Samsung EVo 850 2TB, 500 & 256 GB SSD | Gigabyte AORUS GTX 1080Ti | Samsung 24" (1920x1200) | 2 x Iiyama 22" T2250MTS touch screen (1920x1080) | 2 x 6.4" LCD | Cougar MFDs | Thrustmaster Warthog | CH Pro Pedals | Windows 10 [sIGPIC][/sIGPIC]
Recommended Posts