Stratkit Army Path Renderer¶
Renders armies movement paths on the map.
Setup¶
To enable the package functionality you'll need to do the following steps:
1. Add the Stratkit.ArmyPathRenderer.Managed.ArmyPathRendererModule to the BootstrapManager prefab.
2. Create a new prefab containing the necessary information for the ArmyPathLineRenderer component.
3. Create a new authoring object ArmyPathRendererConfigAuthor in the SharedSubScene and configure it with the prefab created in the previous step.
Optional¶
If the title/game uses free movement on paths instead of snapping points, you can create an ArmyPathRenderingConfig ScriptableObject and assign it to the BootstrapManager ("map configs"). There, set the rendering mode to "Free on paths".
Usage¶
The package uses ArmyMoveCommandComponent commands from the ArmyCommandList for all armies as input for generating the movement lines.