Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Level Design
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/18
Generate a town in minutes, auto adjust terrain height below each building and paint roads and paths directly on Terrain. Then bring your town to life with the new built in Peasant Spawner!
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
6000.0.26f1
Compatible
Compatible
Compatible
2023.2.16f1
Compatible
Compatible
Compatible
Description

The Town Generator Tool allows you to generate a town in a matter of minutes and bring it to life with the new built in Peasant Spawner, with basic path finding included! Automatically adjust terrain height below each building and paint roads and paths directly on the Terrain. Split your town up into Sectors with different buildings and painting Terrain Layers. Roads, Buildings, Sectors and the main Town Generator all have separate settings and functions to allow customization, tweeking and ease of use. Raise or Lower Terrain height and Paint terrain below roads and buildings on a Town or specific Road/Building level. Buildings are setup with doors and attachment points (for adjacent building placement). The generator uses each Building's physics colliders to ensure buildings are not placed within each other. Roads are drawn using a Spline editor that automatically aligns to the terrain. You can also change the width of a road at any specific point on the Road Spline, where needed.


Please Note: You need your own Visual Assets.


Documentation:

https://quasistellar-game-development.gitbook.io/town-generator


Discord Channel:

https://discord.gg/jnUswyuppX


Integrations


Building Setup

Buildings are set-up to indicate where doors are and where adjacent buildings can be placed using Attachment Points. Specify max height difference for adjacent buildings for better randomized results.


Roads

Roads are created using a Spline editor. The Spline is automatically aligned to the Terrain and BuildingAttachPoints are generated along the road at specifically set intervals. Use the Widths tool to change the width of a road at any specific point on the Road Spline.


Randomized Generation

Specify your Building prefabs. Set a random seed. Specify max terrain slope to place buildings on. Physics checks ensure buildings are not placed within each other.


Town Spawner

Setup NPCs to spawn all over your generated town, on a Town, Sector, Building or specific Building Path Start level. NPCs are spawned and unspawned as the player moves through your town. A basic NPC is included in the examples that makes use of the built in A* Pathfinder.


Sectors

Add Sectors to allow different Building sets and different Terrain Layers to be painted (ie residential sectors, market sectors, or industrial sectors).


Terrain Manipulation

Terrain can be manipulated below Buildings and at their Doors (with smoothing). Options allow 3 different manipulation processes: Raise below Building, Lower below Building and Raise/Lower at Doors. Each process can be run per Building or for the whole Town at once. Running a process for the whole town will arrange buildings by height and either run the process from lowest building to highest or the other way around.


Terrain Painting

Terrain can be painted below buildings and door to door (using an included basic AStar path finder). You can specify a Terrain Layer for the whole town or a separate Layer for each Sector.


Terrain Neighbours

Terrain manipulation and painting works for chunked up worlds where you have Terrain with Terrain Neighbours.


Assets seen in Screenshots:

Technical details

Building Setup

Buildings are set-up to indicate where doors are and where adjacent buildings can be placed using Attachment Points. Specify max height difference for adjacent buildings for better randomized results.


Roads

Roads are created using a Spline editor. The Spline is automatically aligned to the Terrain and BuildingAttachPoints are generated along the road at specifically set intervals. Use the Widths tool to change the width of a road at any specific point on the Road Spline.


Randomized Generation

Specify your Building prefabs. Set a random seed. Specify max terrain slope to place buildings on. Physics checks ensure buildings are not placed within each other.


Town Spawner

Setup NPCs to spawn all over your generated town, on a Town, Sector, Building or specific Building Path Start level. NPCs are spawned and unspawned as the player moves through your town. A basic NPC is included in the examples that makes use of the built in A* Pathfinder.


Sectors

Add Sectors to allow different Building sets and different Terrain Layers to be painted (ie residential sectors, market sectors, or industrial sectors).


Terrain Manipulation

Terrain can be manipulated below Buildings and at their Doors (with smoothing). Options allow 3 different manipulation processes: Raise below Building, Lower below Building and Raise/Lower at Doors. Each process can be run per Building or for the whole Town at once. Running a process for the whole town will arrange buildings by height and either run the process from lowest building to highest or the other way around.


Terrain Painting

Terrain can be painted below buildings and door to door (using an included basic AStar path finder). You can specify a Terrain Layer for the whole town or a separate Layer for each Sector.


Terrain Neighbours

Terrain manipulation and painting works for chunked up worlds where you have Terrain with Terrain Neighbours.

Town Generator and Spawner

(5)
28 users have favourite this asset
(28)
$14.95
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
5.3 MB
Latest version
1.2.2
Latest release date
Dec 18, 2024
Original Unity version
2023.2.16
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR