Rhyfel Posted December 24, 2020 Share Posted December 24, 2020 Hi, Is it possible to script the AI to deploy a mobile bridge? If so, what is the best method to deploy and then get subsequent AI formations across? Thank you! Rhyfel 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted December 24, 2020 Share Posted December 24, 2020 (edited) Yes it is. I think I have a sample scenario. Basically you give it a "Breach" command. The "fun" part is getting pop smoke prior and then to back away once its laid to clear the path for the follow on forces. Edited December 24, 2020 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
TSe419E Posted December 24, 2020 Share Posted December 24, 2020 I would like to see that scenario, too. 0 Quote Link to comment Share on other sites More sharing options...
Rhyfel Posted December 24, 2020 Author Share Posted December 24, 2020 Thank you Gibsonm, but unfortunately the bridge just moved at slow speed along a breach route instead of deploying the bridge. Any examples would help. Much appreciated, Rhyfel. 0 Quote Link to comment Share on other sites More sharing options...
Rhyfel Posted December 28, 2020 Author Share Posted December 28, 2020 Any other thoughts on this topic? 0 Quote Link to comment Share on other sites More sharing options...
Rotareneg Posted December 28, 2020 Share Posted December 28, 2020 I just tried with the Biber and it will place the bridge down across water on a breach route, but only if it's narrow enough to completely bridge in one go, generally one "pixel" of water on the map. 0 Quote Link to comment Share on other sites More sharing options...
Rhyfel Posted December 28, 2020 Author Share Posted December 28, 2020 Thanks Rotarneg, I'll give it another shot. 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted December 28, 2020 Share Posted December 28, 2020 (edited) 2 hours ago, Rhyfel said: Any other thoughts on this topic? Not really. When I get home / have extended access to my machine (post deployment) - I'll send you the example scenario. But as Rotar has already said it should work if the crossing point is suitable. Suggest you select the crossing point and try to launch the bridge manually. If you span the gap, then you should be able to script it. Edited December 28, 2020 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
Rhyfel Posted December 29, 2020 Author Share Posted December 29, 2020 Thank you Gibsonm, I think it's probably the sight I was looking to use. 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 24, 2021 Share Posted January 24, 2021 I've noticed in 4.250 that if you are trying to cross a river that is "too wide" (even though if a human is crewing the vehicle it can achieve the crossing) that the breach route does not actually cross the water but goes around it. Refer Waypoints 6 and 7 in the attached. Anyway in terms of the scripting, I've done it using an AT ditch. The good news is the Biber lays the bridge. The bad news is nothing uses the bridge. Even though it works here: Off to the Support page with my first bug for 4.250. Scripted Bridging 4_250.sce 1526840718_ScriptedBridging4_250_20156_012421MARKS-PC-2011719.aar 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted January 24, 2021 Members Share Posted January 24, 2021 You have to enable the off-road navmesh usage in your routes. If everybody disables them for reasons that escape me, it's no wonder that you're not seeing the improvements made there. You may want to reconsider your preferences with respect to route plotting. By default, nav mesh usage should be "on"; holding Shift while plotting would keep using the road network as you're already doing it, and holding the Alt key would disable the navmesh usage for route plotting. Most seem to have that inverted, as a result from version 3.0 navmesh inadequacies. 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted January 24, 2021 Members Share Posted January 24, 2021 Note that (only) navmesh-enabled routes will dynamically update where passages through obstacles are being created; whether that's knocking down a wall segment, or creating a mine breach lane, or bridging an obstacle. 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 24, 2021 Share Posted January 24, 2021 (edited) 30 minutes ago, Ssnake said: You have to enable the off-road navmesh usage in your routes. If everybody disables them for reasons that escape me, it's no wonder that you're not seeing the improvements made there. You may want to reconsider your preferences with respect to route plotting. By default, nav mesh usage should be "on"; holding Shift while plotting would keep using the road network as you're already doing it, and holding the Alt key would disable the navmesh usage for route plotting. Most seem to have that inverted, as a result from version 3.0 navmesh inadequacies. Does this mean this sentence is now incorrect: "When a scenario without an embedded navmesh is loaded , the navmesh will be generated automatically as part of the loading process" Page 67. I've just re-read pages 67 - 68 and I see no mention of a way to change the default in the Mission Editor to have Navmesh on - only the part about pressing ALT if you want it activated per individual route: If you have to remember to press ALT every time, I'm not surprised its not used too often. Edited January 24, 2021 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 24, 2021 Share Posted January 24, 2021 Right so I held down the ALT key .... 1. ALT + Breach route = The AVLB in the North now lays its bridge (the route no longer goes around the river). 2. ALT + Breach route = The South lays its bridge (no change). 1 x LeoScripted Bridging 4_250 - Nav Mesh.sce crosses the bridge. 3 x Leo wander off. 1993236449_ScriptedBridging4_250-NavMesh_20180_012421MARKS-PC-2012216.aar 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 24, 2021 Share Posted January 24, 2021 (edited) Happy to have Navmesh routes on all the time if that's the best option (the jury seemed out for a while) but ... 1. I'd like to know how to have them "on" by default, not have to press "ALT" every time. I couldn't find it in the Manual, nor in the Options menu. 2. We seem to now have a plethora of options Navmesh on / off per route plus some four options for Route path finding?! By my maths that 8 possible combinations before you worry about tactics, formations, speed, spacing ... Edited January 24, 2021 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
Splash Posted January 24, 2021 Share Posted January 24, 2021 6 hours ago, Gibsonm said: 1 x LeoScripted Bridging 4_250 - Nav Mesh.sce crosses the bridge. 3 x Leo wander off. This particular part of your problem, I'm pretty sure, can be fixed by moving Waypoint 2 away from the obstacle and/or changing the tanks' route from it to COLUMN rather than WEDGE. As it is, the lead tank is sending a "Wedge" formation order to its wingmen before they even reach the bridge. 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted January 24, 2021 Members Share Posted January 24, 2021 8 hours ago, Gibsonm said: Happy to have Navmesh routes on all the time if that's the best option (the jury seemed out for a while) I thought we had that made a configurable option but apparently not so (this is now bug 9492). I agree, you shouldn't have to hold down Alt all the time. 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 24, 2021 Share Posted January 24, 2021 2 hours ago, Splash said: This particular part of your problem, I'm pretty sure, can be fixed by moving Waypoint 2 away from the obstacle and/or changing the tanks' route from it to COLUMN rather than WEDGE. As it is, the lead tank is sending a "Wedge" formation order to its wingmen before they even reach the bridge. They should be in column for the last two waypoints prior to the crossing, to avoid that but I'll re-check, again. Perhaps holding down "ALT" messes with that too. The issue still remains that simple demo scenario that used to be 15 mins work has now consumed almost a day. 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 24, 2021 Share Posted January 24, 2021 13 minutes ago, Ssnake said: I thought we had that made a configurable option but apparently not so. I agree, you shouldn't have to hold down Alt all the time. Can we also put something in the manual along the lines of: "Always press the ALT key when creating a Breach route" which I gather is the outcome? or perhaps integrate it into the software so selecting a Breach route (or any other route that needs it - its still not black and white clear to me) is automatically created as if the ALT key was pressed? 0 Quote Link to comment Share on other sites More sharing options...
Splash Posted January 24, 2021 Share Posted January 24, 2021 Yeah, this is getting pretty confusing. But in testing your scenario and one I made myself, it was my experience that the key to getting a Breach route to work is to have it set for "No auto-pathfinding". Seems counter to what Ssnake was saying. 9 hours ago, Ssnake said: Note that (only) navmesh-enabled routes will dynamically update where passages through obstacles are being created; whether that's knocking down a wall segment, or creating a mine breach lane, or bridging an obstacle. Perhaps that is true of follow-on routes other than breach routes? But for the initial breach, a Navmesh-enabled route seems to make the vehicle want to avoid the obstacle rather than breach it. How you go about getting "no auto-pathfinding" on the route gets confusing regarding whether one has the "Hold Alt key to plot Navmesh routes" option ticked or not. 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted January 24, 2021 Members Share Posted January 24, 2021 Breach routes are best made without pathfinding because that's the point of them - connecting navigable areas with a passage through or over an obstacle that is otherwise forcing a detour (because that's the point of obstacles). Once that the breach is complete - whether that's an assault bridge or a lane through a minefield - using routes with navmesh support will recognize the new passage, and take advantage of it (if it shortens their travel route). 0 Quote Link to comment Share on other sites More sharing options...
DarkAngel Posted January 24, 2021 Share Posted January 24, 2021 The option for "Hold Alt for navmesh route" is under options when in the map view (F5) 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted January 24, 2021 Members Share Posted January 24, 2021 Thanks for that! I knew there was something. I also think this toggles your preference for future sessions as well, but please double-check that. 0 Quote Link to comment Share on other sites More sharing options...
DarkAngel Posted January 24, 2021 Share Posted January 24, 2021 yes it is saved 0 Quote Link to comment Share on other sites More sharing options...
Gibsonm Posted January 24, 2021 Share Posted January 24, 2021 (edited) 23 minutes ago, Ssnake said: Breach routes are best made without pathfinding because that's the point of them - connecting navigable areas with a passage through or over an obstacle that is otherwise forcing a detour (because that's the point of obstacles). Once that the breach is complete - whether that's an assault bridge or a lane through a minefield - using routes with navmesh support will recognize the new passage, and take advantage of it (if it shortens their travel route). Hang on - so you are now saying I need two routes for the one breach? One with Navmesh on to follow the breach and one with it off. I'm now required to create two superimposed routes between the same waypoints with some sort of "embark if its the AVLB" and the other with "embark if its not the AVLB"? Edited January 24, 2021 by Gibsonm 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.