AI Paths
This mod adds a few paths that AI can move over. These can be added to scenarios to allow AI to move through previously unpathable buildings or to path on floating objects – see video for examples. The paths are visible in editor and will hide automatically on start, functions can be used to make them visible and hide them again.
These are path LODs, which means that they do not alter the AI behavior but rather are seen like buildings (so are not favoured if a convenient clear path over terrain is present) so will move at a slower, more cautious pace and if already placed on a path the AI will typically follow it. The paths are not solid so nothing will be able to stand on them. When following the path the AI may stray about a meter from it, so place them not up against walls and any other path within a meter they will be able to cross over to – see photo of the killhouse. This point is very important with the fact that they ignore collisions with objects on the path so a wall with a path through will lead to the AI phasing through that wall, and paths separated by an object with too small gap will also be ignored (it will be solid for the player and the AI can’t shoot/see through it) but this also means the whole floor doesn’t have to be covered, only a grid made.
Since paths through objects cause AI to ignore them, paths through doors will not be seen as doors and the AI will not open them. There are mods which will make the AI to open them or else you will have to write a script yourself to open the doors.
This mod will need to be present on both server and client – server needs it to load any scenario with mods and clients need it for any AI owned by them to follow the paths and also to see them.
or
Paths can snap together, making placement much quicker. There is an option to turn this on and off at the top of the 3DEN Editor menu, under the AI Paths tab. Unlike other snapping mechanics, the object will maintain its rotation which allows you then to slope the path and hence fit uneven terrain.
I made this mod specifically for my killhouse generator: https://steamcommunity.com/sharedfiles/filedetails/?id=3560197577
If there are any simple shapes you would like me to create just ask.
Revisions:
Old revisions of this mod are available below. Click the link to download.