Hello!
Here with another technical devlog post today! I wanted to have a short talk about the structure system in Vitality!
The system basically enables dynamic structures to be generated, based on a series of constraints. Some features in Vitality (such as trees) are generated using static models. These are fine for small creations, however for larger structures, we utilise code to generate models and them place them on the world.
There are a number of key benefits of structures:
Can be dynamically sized, thus shape can change programatically, rather than needing to be manually updated
structures can dynamically scan and adapt to the terrain. This is particularly useful for structures which generate on difficult terrain.
Structures can easily have different skins/styles applied to them, which is useful for re-using the same generation scheme for different types of buildings in different areas of the world.
Structures can still be pre-generated and spawned in upon request
Structures can dynamically alter the positioning of content inside them
Structures generate a map of data, allowing us to reference points of interest, or components within a structure that can be utilised by quests.
6 comments