For the plugin, you'll design and create your maps the same way you're used to when using Unreal Engine, for the most part. This section serves as a short checklist for you, and highlights some setup that is supposed to make it easier for you to get started. Some steps are mandatory for some features of the plugin to work, however, such as vision.
- Use your game mode in the world settings.
- Create your level geometry and lighting as usual.
- Add an
RTSCameraBoundsVolume
to the map. - Use the Brush Settings to adjust the camera bounds as desired.
- Add a
NavMeshBoundsVolume
to the map. - Use the Brush Settings to adjust have the nav mesh bounds encompass your whole level.
- Build navigation. You may press P to review your results in the viewport.
- Add
RTSPlayerStart
s to the map. - Set the Team Index for each player start.
- Add an
RTSMinimapVolume
to the very center of your map. - Set its brush size to match the extents of your playable map.
- Set the Minimap Image to a nice top-down screenshot of your map.
- Add an
RTSVisionVolume
to the very center of your map, encompassing the whole valid visible map area. - Set the Size In Tiles of the vision volume to match your minimap background images (e.g. 256).
- Set the Tile Height of the vision volume to the height of a single height level of your map, in cm (e.g. 250).
- Set the Height Level Trace Channel if you want special geometry to affect your height levels, only.
- Add a
PostProcessVolume
to your map, and check Infinite Extent (Unbound). - Add an
RTSFogOfWarActor
to your map. - Set the Fog Of War Volume reference to the post process volume created before.
- Set the Fog Of War Material of the actor (e.g. to the
M_RTSFogOfWar
material shipped with the plugin).
- Add any actors that should initially on the battlefield.
- For each of these actors, at the
RTSOwnerComponent
, set the Initial Owner Player Index to specify which player should own them. - When pre-placing buildings, at the
RTSConstructionSiteComponent
, set their State to Finished if they should be ready from the beginning.