S&box Wiki
Home
/
Edit Tilesets-Advanced
View
Edit
History
No Category
Developer Overview
The Project System
Publishing To Asset Party
Getting Started With Hammer
Mapping Basics
Mapping Entities
Advanced Mapping Techniques
Getting Started with Modeldoc
Animgraph & Animation
Physics
Modeldoc Nodes
Advanced Modelling
UI Basics
Styles & Stylesheets
Razor Templates
Game Menus
Materials
Built In Shaders
Shaders
Shader Reference
Sounds & Audio
Particles
Getting Started
Making Games
Input
Networking
Physics
Rendering
Editor & Tools
VR
Misc
Playing Guides
Console Commands & Variables
Dedicated Server
Log in to edit
Tilesets-Advanced
<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. ‌ --- # Tile Set Properties ## Object Properties ### Convexity Angle Changes the threshold for a angle to be considered convex/concave. here I set tiles to appear as green when attached to a convex angle. <upload src="aaf9e/8dbdf1450e4bedd.gif" size="547091" name="ConvexityAngleExplainer.gif" /> ‌ ### Ramp Rule Set <validate> unknown </validate> ‌ ## "Tile Set Properties" Tab | Property | Description | | ------------------------------ | ------------------------------------------------------------ | | mesh_face-world-z | TBD | | mesh_edge_connectivity | which sides are connected regardless of angle | | mesh_edge_convexity | define sides based on if its a concave/convex angle | | mesh_edge_convexity_or_tileset | same as above but also includes option for different tileset | ‌ ### Tile Set Mesh Properties Settings <upload src="aaf9e/8dbdf167b3342d9.png" size="9970" name="image.png" /> | Property | Description | | ----------- | ----------------------------------------------------- | | Components | what the rule uses to determine how tile is connected | | Apply To | where to send the information to | | Manipulator | TBD | ‌ ## Tile Set Materials This allows you to use placeholder materials in your tiles and gives you an way to swap between multiple styles when creating your mesh 1. Create your Tiles with placeholder materials. Here is an example I made for walls with an protruded outline. <upload src="aaf9e/8dbdf18f4fea4d4.png" size="365760" name="image.png" /> 2. Open the Tile Set's Object Properties Window and goto the _"Tile Set Materials"_ Tab 3. Along the bottom, click the third option _"Add Material"_, this will add the _"reflectivity_30"_ by default but double click it and and change it to one of your placeholder materials. Do this for all placeholder materials <note> Double clicking the image will open the material editor but double clicking the name of the material will open the browser </note> 4. Once you have all your materials added, click the first option _"Add Material Set"_. This will create a new column copying your placeholder materials, in this new column change the material from the placeholder to the real material. Remember to name any created sets for future reference. >> It should look something like this <upload src="aaf9e/8dbdf1af0c9961f.png" size="42101" name="image.png" /> 5. Now that you have created the material set, go to your Tile Mesh, Choose Face Mode, and select all the faces that you want to apply the Material Set to. Then right click to open the context menu, and choose >> Context Menu -> Tiles -> Assign Material Set -> {Material Set Name} <upload src="aaf9e/8dbdf1b84764b40.png" size="225292" name="image.png" /> 6. Behold, All the placeholder materials now take on that Material Set's Equivalent. <upload src="aaf9e/8dbdf1bb3f9caf4.png" size="589040" name="image.png" /> ‌ --- ‌ ## 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 Concave and Convex angles allow your tile sets to use specific tiles based on how connected tiles are angled relative to it. Examine this diagram to what name refers to what type of angle <upload src="aafdb/8d9905e4d8c7ce5.png" size="39381" name="test.png" /> >>> in short, concave is an "inside" angle and and convex is an "outside" angle. to give your tiles these rules, goto your TileSet Object Properties -> Tile Set Properties -> Add Mesh Property -> mesh_edge_convexity <upload src="aaf9e/8dbdf205f3039f3.png" size="52750" name="image.png" /> Once this TileSet property is added each tile will now be given those "rules" in its object properties allowing you to specify how the edges should connect ‌ --- For those interested here is Template I made for creating building walls. <upload src="aaf9e/8dbdf21c3570f7b.vmap" size="452133" name="buildingWalls_tileset_template.vmap" /> * The size of the tiles are 128x128 and they are to be placed vertical (z axis) --- ‌ Also here is an example on how Concave/Convex angles can be used in practice <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" />
S&box Wiki
Development
Developer Overview
6
Editor Overview
General FAQ
System Requirements
The s&box wiki
Troubleshooting
Useful Links
The Project System
4
Adding Assets
Creating a Game Project
Project Settings Window - Games
Project Types
Publishing To Asset Party
2
Uploading assets
Uploading projects
Hammer
Getting Started With Hammer
3
Getting Started With Hammer
Making Your First Map
Mapping Resources
Mapping Basics
7
Cordons
Hotspot Materials
Selection Sets
Standard Mapping Dimensions
Tool Materials
Tools Visualisation Modes
Using Entities That Require a Mesh
Mapping Entities
2
Creating a Door
Light Entities
Advanced Mapping Techniques
8
Collaborating With Prefabs and Git
Instances
Prefabs
Quixel Bridge Plugin
Tilesets
Tilesets-Advanced
Tilesets-Proxies
VIS Optimizations
Models & Animation
Getting Started with Modeldoc
7
Automatic Model Setup
Breakpieces
Creating a Model
Guide to Models
Importing Rust Weapons
LODs
ModelDoc FAQ & best practices
Animgraph & Animation
4
Animations without Animgraph
AnimEvents, AnimGraph Tags, Attachments
Animgraph
Delta Animations
Physics
3
Cloth Physics
Collisions, Physics & Surface Types
Jiggle Bones
Modeldoc Nodes
1
Custom ModelDoc nodes
Advanced Modelling
6
Bodygroups
Citizen
First Person
IKChains and Stride Retargeting
Morphs
Vertex Normals
User Interface
UI Basics
7
Custom Fonts
Embedding Websites
Enabling Pointer Events
Events and Input
Localization
UI Basics
UI with Components
Styles & Stylesheets
1
Video Backgrounds
Razor Templates
4
A Razor Overview
Aliases and SetProperty Attributes
Generic Components
Templates
Game Menus
1
Making a Custom Pause Screen
Materials & Shaders
Materials
5
Guide to Materials
Material Attributes
Material Resources
Texture Settings
Using Dynamic Expressions
Built In Shaders
2
Foliage Shader
Glass Shader
Shaders
4
Compute Shaders
Constant Buffers
Material API
Shading Model
Shader Reference
5
Anatomy of Shader Files
Getting rid of Tex2D macros
Shader Reference
Shader States
Texture Format Cheat-Sheet
Other Assets
Sounds & Audio
3
Guide to Sounds
Sound Events
Soundscapes
Particles
5
Creating animated sprites
Creating your first particle effect
Understanding Particle Editor
Using custom sprites
Using particle systems from C#
Coding
Getting Started
5
Cheat Sheet
Learning Resources
Setting up Rider
Setting up Visual Studio
Setting up Visual Studio Code
Making Games
2
Components
GameObjects
Input
4
Commands
ConVars
Input System
Speech Recognition
Networking
7
Auth Tokens
Http Requests
Lobby System
Networked Types
Networking Basics
RPCs
WebSockets
Physics
5
Collisions
Hitboxes
Joints
Traces
Triggers
Rendering
3
Render Tags
RenderHooks
Scenes
Editor & Tools
7
Creating a Tool
Custom Asset Types
Guide to Widgets
Hammer API
Hammer Gizmos
Hotload Performance
Widget Docking
VR
3
Getting Started
VR Input
VR Overlays
Misc
13
Asset Types
Attributes and Component Properties
Backend API
Cloud Assets in code
Code Accesslist
CPU Performance Profiling
DisplayInfo
FileSystem
Mounting assets at runtime
package/find
Setting Up A Navigation Mesh
Threaded Tasks
TypeLibrary
Playing
Playing Guides
3
Default Keybinds
Proton
s&box on macOS (Experimental)
Console Commands & Variables
1
Launch Arguments
Dedicated Server
1
Dedicated Servers