Currently, when an AI Convoy is sent out to resupply a depot, it's not possible in lua to figure out what route it would take to get to it's destination.
We can do some basic math to find the mid point between 2 points, but that's not indicative of the roads / path travelled, so there is a large margin for error with this solution.
Another option, is to just spawn ground units 2km ahead of the convoy (using the convoys current heading + offset distance) which may produce reasonable results. The problem I have with this is that unless a player is escorting a convoy their entire route through, the convoy will almost certainly die. The solution needs to be something that players can patrol/scan the entire route quickly and pick off targets, rather than needing to orbit the convoy for 40+ minutes to get it to it's destination safely.
Currently, when an AI Convoy is sent out to resupply a depot, it's not possible in lua to figure out what route it would take to get to it's destination.
We can do some basic math to find the mid point between 2 points, but that's not indicative of the roads / path travelled, so there is a large margin for error with this solution.
Another option, is to just spawn ground units 2km ahead of the convoy (using the convoys current heading + offset distance) which may produce reasonable results. The problem I have with this is that unless a player is escorting a convoy their entire route through, the convoy will almost certainly die. The solution needs to be something that players can patrol/scan the entire route quickly and pick off targets, rather than needing to orbit the convoy for 40+ minutes to get it to it's destination safely.