S&box Wiki

Revision Difference

Tilesets-Advanced#552489

<cat>Hammer.Advanced</cat>⤶ <title>Tilesets-Advanced</title>⤶ ⤶ <warning> This page assumes that you have read the <page>Tilesets</page> page. It is highly recommend that you read through that page first and have a preliminary understand about how tilesets work. </warning>⤶ ⤶ ## The Advanced Features⤶ ⤶ This page aims to cover the remaining information about tilesets, it will cover everything left out of the initial <page>Tilesets</page> and more.⤶ ⤶ ⤶ ---⤶ ⤶ ⤶ # More Properties⤶ ⤶ ## Tile Set Properties⤶ - Convexity Angle⤶ - Ramp Rule Set⤶ ⤶ &zwnj;⤶ ⤶ - Tile Set Properties⤶ * mesh_face-world-z⤶ * mesh_edge_connectivity⤶ * mesh_edge_convexity⤶ * mesh_edge_convexity_or_tileset⤶ ⤶ &zwnj;⤶ ⤶ - Tile Set Properties Settings⤶ * Components⤶ * Apply To⤶ * Manipulator⤶ ⤶ &zwnj;⤶ - Tile Set Materials⤶ ⤶ ## Tile Properties⤶ ⤶ | Property | Description |⤶ | ------------------- | ------------------------------------------------------------------------------------- |⤶ | Name | User given name for tile |⤶ | Base Width | Width of the tile |⤶ | Base Height | Height of the tile |⤶ | Use Best Size Match | If checked, the tile closest to the mesh size will be used, even if not exact. |⤶ | Minimum Size Scale | The minimum scale at which the tile can be selected, 0 is disabled |⤶ | Maximum Size Scale | The maximum scale at which the tile can be selected, 0 is disabled |⤶ | Probability Weight | Determines the chance of the tile being selected from multiple tiles of the same size |⤶ | Display Base Face | If checked, the tilemesh will remain visable even when replaced by a tile |⤶ | Align To Axis | Forces the edge rules to align to the provided world axis |⤶ | Rotation Snapping | Forces the geometry to snap along this angle |⤶ | Variation Id | <?TBD?> ⤶ ⤶ <validate>⤶ - **Rotation Snapping** - Description is educated guess, cannot determine behavior in practice⤶ - **Variation ID** - Unknown, Believed possible to learn through the provided tile set examples⤶ </validate>⤶ ⤶ ⤶ # Using Concave & Convex angles⤶ ⤶ ⤶ ⤶ ###mesh_edge_convexity⤶ <upload src="aafdb/8d99067057ff564.png" size="5273" name="mesh_edge_convexity.png" />⤶ This property can define what tiles can connect together depending on their edge characteristics.⤶ <upload src="aafdb/8d9905e4d8c7ce5.png" size="39381" name="test.png" />⤶ If 180 degrees is treated as flat then **concave is < 180** and **convex is > 180**⤶ ⤶ Drop-down options are as follows⤶ - **open**⤶ - **flat**⤶ - **convex**⤶ - **concave**⤶ ⤶ Included are also their negated versions and a ***-Match Any** option⤶ ⤶ ##Example⤶ Here the settings for mesh_edge_convexity is shown for 2 tiles and in practice how these 2 tiles can be used.⤶ <upload src="aafdb/8d99094281bd708.png" size="200431" name="example.png" />⤶ <upload src="aafdb/8d990914958c046.mp4" size="27956660" name="2021-10-16 11-38-34.mp4" />⤶ ⤶ ⤶ # Group Proxies & Custom Properties⤶ ⤶ ⤶ ⤶ ⤶ ⤶ # Using Multiple Tilesets⤶