Revision Difference
Tilesets#545953
<cat>Dev.Map</cat>⤶
<title>Tilesets</title>⤶
<upload src="aafdb/8d98e8c27189686.png" size="564968" name="tileset.png" />⤶
# What is a Tileset⤶
⤶
Tilesets allow for the quick replacement of basic geometry for more complex models/geo. The Tiles selected are determined by the characteristics of the tilemesh and through tile properties selected by the user.⤶
⤶
#Creating a basic tileset⤶
⤶
##Step 1:⤶
When creating the vmap file it is important that it ends with **`_tileset`**. This allows the vmap to show up when selecting the tileset in the tilemesh properties.⤶
⤶
##Step 2:⤶
To create a tileset hover over the **Tile** tab and select the **Create tile set** .⤶
<upload src="aafdb/8d98e8cb4f72b64.png" size="55875" name="create tile set.png" />⤶
⤶
##Step 3:⤶
Select it in the **Outliner** and rename the tileset in **Object Properties** to **`Base`**.⤶
<upload src="aafdb/8d98e8d08006226.png" size="9386" name="rename.png" />⤶
⤶
##Step 4:⤶
To create a tile first create a mesh, while in **Mesh** ( <key>4</key> ) mode go to the **Tile** tab and select **Create Single Tile** ( <key>Ctrl</key>+<key>Shift</key>+<key>O</key> ) *`Note: The tile will be created separately in the outliner so it needs to be dragged into the Base-Tileset`*⤶
<upload src="aafdb/8d98e8e93fcd34b.png" size="205531" name="create tile.png" />⤶
⤶
##Step 5:⤶
The default width and height of the tile is 256. To change this to match the mesh first select the tile then go to the **Object Properties**. From there the **Base Width** and **Base Height** can be adjusted.⤶
<upload src="aafdb/8d98e8f47b1ddb8.png" size="74921" name="tile size.png" />⤶
⤶
##Step 6:⤶
After all that you should be able to create a tilemesh from an existing mesh, select the tileset from within **Object Properties** and see your mesh be replaced with tiles from the tileset.⤶
<upload src="aafdb/8d98e915b3835a9.mp4" size="19747868" name="2021-10-13 22-33-53.mp4" />⤶
⤶
#Tile Object Properties⤶
| Property | Description |⤶
| ------------- |-------------|⤶
| Name | The name of the tile |⤶
| Base Width | Width of the tile |⤶
| Base Height | Height of the tile |⤶
| Use Best Size Match | |⤶
| Minimum Size Scale | The minimum scale at which the tile can be selected |⤶
| Maximum Size Scale | The maximum scale at which the tile can be selected |⤶
| Probability Weight | Determines the chance of the tile being selected from multiple tiles of the same size |⤶
| Display Base Face | Toggle to show the base geometry |⤶
| Align To Axis | |⤶
| Rotation Snapping | |⤶
| Variation Id | |⤶
⤶
##To-do⤶
1. Tileset properties⤶
> - Mesh properties⤶
> - Custom properties⤶
⤶
2. Group Proxies