# Road and Exits

The rest of the settings are on the BP\_Village and BP\_Farm exposed to be customized in your scene. I placed them here because it makes it a lot easier to tweak the final result of your village, and it probably fits better per village and not globally.

<figure><img src="https://342728394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOIeQIBrFFtGwhSJVdhiH%2Fuploads%2F7rEu7LDNpuTHt3ueD9co%2Fimage.png?alt=media&#x26;token=3b08cf6d-21e1-4a6f-8ebb-f621692771b0" alt=""><figcaption></figcaption></figure>

### Building

Village Type: Use the database, you can change the value to change the style of the village/farm

Building Distance From Edge: Minimum distance that a building must have from the edge of the village

Slope Impact Removal: Used to remove buildings on a slope, more is more severe

Building Distance: Minimum distance between 2 building

Building Min Distance From Road: Minimum building distance from the road

Debug Mode: Activate the debug mode, show the region in your village

Use Water Level: use the water level to remove the building

is Village Light Activated?: If true, will activate all the villages in the scene

Update Landscape?: Tell PCG to automatically update the landscape, <mark style="color:red;">**better to not touch and use the function Toggle Auto PCg Update**</mark>

### Road

Sector Resolution: Affect how often the roads "break" to create new intersections. A higher number will create smaller sections.

<figure><img src="https://342728394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOIeQIBrFFtGwhSJVdhiH%2Fuploads%2FAHeJOxKmjZJ94c3OKUV8%2Fimage.png?alt=media&#x26;token=4ad63568-9c1c-4371-afa9-a968c7b2ace9" alt="" width="563"><figcaption><p>Low resolution: 0.6</p></figcaption></figure>

<figure><img src="https://342728394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOIeQIBrFFtGwhSJVdhiH%2Fuploads%2F0ftVpKXwRa7Yc2hmr6cp%2Fimage.png?alt=media&#x26;token=a1593abf-8ac4-4f89-b6b2-76a82e11c01c" alt="" width="563"><figcaption><p>High resolution: 3</p></figcaption></figure>

Road Width: Increase the width of the roads

Road Density: Density of the road meshes to place from 0 to 1

Road Randomness: Create a "perfect squared grid" or a more chaotic one (like the screenshots above). Between 0 and 1

Road Side Props Distance: Minimum distance to add props on the side of the roads

### Exit

Number Of Exits: Add exits in the village fence. <mark style="color:red;">Note that a current bug creates artifacts in the bound calculation to remove the fences, this is a PCG bug that will be solved in 5.4.2</mark>

Exit Remove Fence Offset: Move the exit bound to remove the fences around it. This setting allows you to adjust in case you are not getting the proper result.

Exit Remove Fence Scale Offset: Scale the exit bound to remove the fences around it. This setting allows you to adjust in case you are not getting the proper result.

### Functions

Clear: Clear the village/farm generated by PCG

Generate: Generate and update the village/farm

Toggle Auto PCG Update: Toggle the automatic update on/off. [Learn more here](https://qwertystudio.gitbook.io/massive-village/toggle-auto-update)

Destroy: Destroy the village/farm. Useful to also destroy every actor created with it like doors, lights, and flattening stamps.
