mrprime Posted November 15, 2021 Posted November 15, 2021 I'm making a mission with 4 fleets that should all move to a waypoint. Routinely when running the mission however, one or more of the fleets will just come to a stop for no apparent reason. This randomly affects different fleets after each reload of the mission. I've attached a number of tracks, no mission parameters were changed between these tracks, this is just reopening the mission and running it for a few minutes to see what stops. ShipsStop_1 - Forrestal fleet stops ShipsStop_2 - Washington and Forrestal stop ShipsStop_3 - Washington and Liaonling stop ShipsStop_4 - Liaonling fleet stops ShipsStop_5 - Liaoning, Washington, Forrestal all come to a stop I've attached the .miz also, unchanged from when those tracks were generated. This one's a bit of a head scratcher for me! hopefully someone can make some sense of what's happening here happy to give any more info. ShipsStop_1.trk ShipsStop_2.trk ShipsStop_3.trk ShipsStop_4.trk ShipsStop_5.trk ChineseInvasionofMarianas_v0_2.miz
rayrayblues Posted November 16, 2021 Posted November 16, 2021 I haven't seen that yet, IDK if this is related, but sometimes my fleets will not even start. They just sit there going nowhere. SLAVA UKRAINI MoBo - ASUS 990FX R2 Sabertooth, CPU - AMD FX 9590 @4.7Gb. No OC RAM - GSkill RipJaws DDR3 32 Gb @2133 MHZ, GPU - EVGA GeForce GTX 1660Ti 6Gb DDR5 OC'd, Core 180MHz, Memory 800MHz Game drive - Samsung 980 M.2 EVO 1Tb SSD, OS Drive - 860 EVO 500Gb SATA SSD, Win10 Pro 22H2 Controls - Thrustmaster T-Flight HOTAS X, Monitor - LG 32" 1920 X 1080, PSU - Prestige ATX-PR800W PSU
mrprime Posted November 16, 2021 Author Posted November 16, 2021 19 hours ago, rayrayblues said: I haven't seen that yet, IDK if this is related, but sometimes my fleets will not even start. They just sit there going nowhere. Sounds related, my ships have a starting speed and it's as if randomly their engines are cut and they drift to 0, so if your ships were stationary I could imagine if this bug affected them, they'd just never move.
Grimes Posted November 17, 2021 Posted November 17, 2021 Use AI Task Push and not AI task Set when changing options. Or really everything else unless you want the AI to completely stop their current tasking. Basically when you set the task, no matter what it is, assigns that one and only task to the AI and deletes any other task they were assigned to do. Their route is one such task. When you do it with commands and options the task is executed immediately and the AI just stop because they now have no route. When you use task push it puts the assigned task at the top of their task queue and when complete they continue on with whatever else they were doing. 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
mrprime Posted November 17, 2021 Author Posted November 17, 2021 20 hours ago, Grimes said: Use AI Task Push and not AI task Set when changing options. Or really everything else unless you want the AI to completely stop their current tasking. Basically when you set the task, no matter what it is, assigns that one and only task to the AI and deletes any other task they were assigned to do. Their route is one such task. When you do it with commands and options the task is executed immediately and the AI just stop because they now have no route. When you use task push it puts the assigned task at the top of their task queue and when complete they continue on with whatever else they were doing. Yup, thank you, switching from AI Set to AI Push means everything works as intended. I'm still confused why 'AI Set' is non-deterministic (the triggers were definitely firing, so why did the ships sometimes continue their route, and sometimes not?) Either way, really appreciate the explanation, I'd suggest it'd be worth updating the 'DCS User Manual ED 2020.pdf' document to better reflect the behaviour of Push vs Set, as what you said there makes perfect sense, but the docs don't cover that important difference.
Grimes Posted November 17, 2021 Posted November 17, 2021 It is odd that they would sometimes stop and sometimes not. I didn't run the test that many times nor did I look at every single track, but I think in mine they always stopped. 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
Recommended Posts