Uploaded January 2024 | Updated November 2026, 3 hours ago
We need to work on the region system we talked about in previous videos, before we start making units go to combat with attributes and modules, let's work on stablishing the foundations of a region system first, so let's see how to make a terrain for a RTS game,
Now we will go over how to build the region system based on the map 3D meshs, for that we will need to apply calculations over the AABB of the mesh, generating a grid system based on it, also taking care of the navigation aspects, each map should have it's own navigation region node, with it's own navigation mesh,
However doing that from scratch is no bueno, we will be copying the settings from a separate main navigation region node to all the other map meshs, this will make sure we can re-bake it later only by the separate regions, which should provide more perfomance because we are only re-baking the navigation of a give region and not the entire map, this type of code could also aid in the creation of open world games, as something similar might be required to keep the player travelling between different map parts, which shouldn't be that different from this concept of Regions in a RTS map,
We need to work on the region system we talked about in previous videos, before we start making units go to combat with attributes and modules, let's work on stablishing the foundations of a region system first, so let's see how to make a terrain for a RTS game,
Now we will go over how to build the region system based on the map 3D meshs, for that we will need to apply calculations over the AABB of the mesh, generating a grid system based on it, also taking care of the navigation aspects, each map should have it's own navigation region node, with it's own navigation mesh,
However doing that from scratch is no bueno, we will be copying the settings from a separate main navigation region node to all the other map meshs, this will make sure we can re-bake it later only by the separate regions, which should provide more perfomance because we are only re-baking the navigation of a give region and not the entire map, this type of code could also aid in the creation of open world games, as something similar might be required to keep the player travelling between different map parts, which shouldn't be that different from this concept of Regions in a RTS map,










