#Brush Surface Mask Guide
4 messages · Page 1 of 1 (latest)
TRANSPARENT_FX = 2;
IGNORE_RAYCAST = 4;
WATER = 16;
UI = 32;
LOGIC = 256;
PLAYER = 512;
ENEMY = 1024;
VIEWMODEL = 2048;
DEBRIS = 4096;
ITEM = 8192;
RESOURCE = 16384;
*LARGE = 32768;
*MEDIUM = 65536;
SMALL = 131072;
SKY = 262144;
*ENVIRONMENT = 524288;
*GROUND = 1048576;
CLIP = 2097152;
NAVMESH = 4194304;
ENTITY = 8388608;
AGENT = 16777216;
LADDER = 33554432;
VEHICLE = 67108864;
BARRICADE = 134217728;
STRUCTURE = 268435456;
TIRE = 536870912;
TRAP = 1073741824;
GROUND2 = -2147483648;```
Each layer has a corresponding power of 2 number.
- If you want your brush to be cast on a certain layer, set the surface mask to the corresponding power of two.
- If you want your brush to be cast on several layers, set the surface mask to the sum of the numbers corresponding to the layers you want.
*For example, if the brush should be cast on GROUND and LARGE, set it to 1048576 + 32768 = 1081344*
The layers marked with * are the most commonly used layers for mapmaking surface masks