Docs

Guides

Blueprint and PCG

Lay paved areas with BP_PavingArea, or build your own with HISM, PCG, runtime material changes and walls from the modules.

BP_PavingArea — lay a paved area in one drag#

Drag Blueprints/BP_PavingArea into a level and set its size in the Details panel. Its Construction Script fills 16 Hierarchical Instanced Static Mesh components (one per SM_Flagstone_##) and 16 matching joint-grass components, so an area of any size is 32 draw batches, not hundreds of actors. Every setting is exposed:

Category Variable Default What it does
Paving|Layout CellsX, CellsY 12, 10 Size in cells (1–200 each way). One cell is 57 × 45.5 cm.
Paving|Layout bRunningBond off Shifts every odd row by 28.5 cm (half a cell) for a brick-bond street.
Paving|Layout bCentered on Centres the area on the actor; off starts it at the actor, which makes areas easy to butt together (move the next one by CellsX × 57 cm).
Paving|Edges EdgeRaggedness 0 0–1. Drops cells from the outer row (at this rate) and the next row (at 35 % of it) for a worn, broken edge.
Paving|Grass JointGrassPercent 55 Share of cells that get their matching joint-grass mesh.
Paving|Variation RandomSeed 1 Changes the module pick, flips, jitter and grass pattern. Same seed = same layout.
Paving|Variation bRandomFlip180 on Turns half the stones by 180°, which keeps joints aligned and doubles the visible variety.
Paving|Variation HeightJitterCm 0.25 Random settling of each stone, ± cm.
Paving|Variation TiltJitterDeg 0.3 Random tilt of each stone, ± degrees. Keep it below about 1°.
Paving|Variation YawJitterDeg 0.4 Random twist of each stone, ± degrees. Keep it below about 1° or joints close up.
Paving|Materials StoneMaterial, GrassMaterial empty Optional overrides for all stone / grass components. Empty = the meshes' own MI_Flagstone / MI_PlazaJointGrass.

Joint grass belongs to a cell's −X and +Y edges, so along the area's outer −X and +Y border it grows on the bare ground outside the stones; keep JointGrassPercent low there or trim those cells by hand.

The stone components collide (BlockAllDynamic, through the modules' box primitive; checked with line traces on all three L_Overview examples); the grass components are NoCollision. The area still needs the M_JointUnderlay_01 ground plane under it (see Quick start). The layout is rebuilt whenever you change a setting or move the actor. The Blueprint has no Tick event and its Start with Tick Enabled flag is off. The graph is laid out in labelled comment blocks, so it is easy to extend (for example, to read cell positions from a spline). L_Overview shows three configured examples.

The three BP_PavingArea examples in L_Overview and the values set on each
Grid and running bond: the cell pitch and where the joint grass sits

Doing it yourself#

A paving patch in your own Blueprint. The same recipe as BP_PavingArea: one Hierarchical Instanced Static Mesh component per stone variant (up to 16), each with its SM_Flagstone_##, plus a matching one per grass variant. In the Construction Script, loop over rows and columns and call Add Instance on a stone component with the location (column × 57, row × 45.5, 0) in centimetres (add 28.5 to X on odd rows for running bond), rotation 0 or 180 and scale 1; for grass cells, call Add Instance with the same transform on the grass component of the same index. Use a seeded hash or Random Stream so the layout is stable between edits.

Placing a plaza or the sample from Blueprint. Add the eight SM_PlazaFloor_## (or the sample trio) as Static Mesh components with an identical relative transform, then move the actor.

Changing the look at runtime. Call Create Dynamic Material Instance on a component (or on each HISM component) with MI_Flagstone as the parent, then Set Scalar Parameter Value — for example raise DustAmount over time for a dry spell, or lower GrassSaturation on the grass for autumn. Parameter names are listed in Materials and parameters.

PCG. Generate points on a 57 × 45.5 cm grid over your road area with rotation 0 (or 0/180), scale 1 and no jitter. Give every point a random integer attribute from 1 to 16, then for each index filter the points by that value and feed the same filtered set to two Static Mesh Spawner nodes: one spawning SM_Flagstone_##, one spawning the matching SM_JointGrass_## (optionally after a density filter, for partial grass). Spawning the stone and the grass from one shared point set is what keeps each grass on its own stone index.

Foliage tool. The stone modules can be painted with the Foliage tool only if the painted transform stays on the 57 × 45.5 cm pitch at yaw 0 or 180, which the Foliage tool does not do by default. Use BP_PavingArea, HISM or PCG for paving; the Foliage tool is fine for the SM_PlazaGrass tufts.

Walls from the modules. The dry-stacked walls in L_Demo are nothing but SM_Flagstone_## instances in HISM components with MI_DryStoneWall: courses of slabs 11 cm thick with seeded length (0.7–1.25) and thickness (0.75–1.2) scale, a few degrees of twist, two leaves, and slabs on edge as coping. Copy the HISM_Wall_## actors if you want the same wall.