Facades

When you expand the “Facades” category, each facade is labeled with an index number to help you identify which one you're editing. A facade can be either Front or Back, and based on this, the system will generate the corresponding front or back style of the building using modular meshes from the building data.


When "General Grammar from Building Presets" is disabled, you can define Grammar Patterns for each level of the Front and Back facades.

Grammar Patterns define the rules for how modular building pieces are generated and arranged. They function similarly to the grammar system used for PCG in Unreal Engine: https://dev.epicgames.com/documentation/en-us/unreal-engine/using-shape-grammar-with-pcg-in-unreal-engine
Symbols:
S = Simple
E = Entrance
W = Wall
[S1, S2] - Combines the first mesh from the Simple modular set with the second mesh from the same set.
<S1,S2> - Select the best option between S1 and S2.
* Indicates repetition. For example, [S1]* means the first Simple modular piece should repeat as many times as possible.
Example of Grammar Pattern for buildings: [S2]*[E2][S1]*[E1]
In this pattern:
[S2] refers to the second element in the Simple mesh array for that level.
[E1] refers to the first Entrance mesh.

Last updated