====== ArmA 3 Layers.cfg ====== [[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]] The layers.cfg file is where we configure our terrain types (concrete, grass, sand etc). The [[arma3:terrain:satellite-mask-image|satellite mask image]] file RGB color values reflect where our terrain types are located on the terrain. Layers.cfg is placed in tag_MyAddon\Source\ directory. **layers.cfg** class Layers { // terrain types class tag_grass { // no need to specify actual texture file texture = ""; material = "tag\tag_MyAddon\data\tag_grass.rvmat"; }; class tag_beach { texture = ""; material = "tag\tag_MyAddon\data\tag_beach.rvmat"; }; class tag_dirt { texture = ""; material = "tag\tag_MyAddon\data\tag_dirt.rvmat"; }; // etc... }; class Legend { // read from P:\ root directory picture = "mapLegend.png"; class Colors { // RGB color values for terrain types (class layers) tag_grass[] = {{ 230, 230, 120 }}; tag_beach[] = {{ 236, 230, 149 }}; tag_dirt[] = {{ 226, 207, 129 }}; // etc... }; }; mapLegend.png image can be located in P:\ root directory and then if you have two or more terrains you can leave out the directory from class legend and all your terrains will read this image from the same location, no need to duplicate same image with every terrain source dir.