Tonto- 43 Posted September 27, 2015 So I cant generate my surface layer right. Every surface works but the two last ones; vt7_pelto and vt7_nurmi2. class Layers { class vt7_sammal { texture = ""; material = "vt7\data\vt7_sammal.rvmat"; }; class vt7_hietikko2_gravel { texture = ""; material = "vt7\data\vt7_hietikko2_gravel.rvmat"; }; class vt7_hakkuu2 { texture = ""; material = "vt7\data\vt7_hakkuu2.rvmat"; }; class vt7_kannas_green { texture = ""; material = "vt7\data\vt7_kannas_green.rvmat"; }; class vt7_nurmi2 { texture = ""; material = "vt7\data\vt7_nurmi2.rvmat"; }; class vt7_pelto { texture = ""; material = "vt7\data\vt7_pelto.rvmat"; }; }; class Legend { picture="p:\vt7\source\MapLegend.png"; class Colors { vt7_sammal[]={{0,255,0}}; vt7_hietikko2_gravel[]={{255,255,0}}; vt7_hakkuu2[]={{255,128,0}}; vt7_kannas_green[]={{253,0,245}}; vt7_nurmi2[]={{255,30,30}}; vt7_pelto[]={{7,0,254}}; }; }; So far i've tried: Different rgb-colors Different size mask images Rewriting layers.cfg Rewriting every .rvmat My own MapLegend.png Packing with pboproject and addonbuilder, neither gives any errors Here's a examples of one piece of layer and the mask image. https://www.dropbox.com/s/ra34spr69mh2eej/M_000_000_lca.png?dl=0 https://www.dropbox.com/s/rf5h4fn0psrf9sn/example.png?dl=0 Share this post Link to post Share on other sites
fatsquirrel 10 Posted September 27, 2015 You can only define 4 different Layers. The others will be ignored. "maximum of four different terrain types" https://community.bistudio.com/wiki/Layered_Terrain_Surface_Representation Share this post Link to post Share on other sites
Richie 330 Posted September 27, 2015 You can only define 4 different Layers. The others will be ignored. "maximum of four different terrain types" https://community.bistudio.com/wiki/Layered_Terrain_Surface_Representation That's not true, you can have as many as you want, you can't exceed 5 per tile though, tile size is in your mapframe properties and includes the overlap. Share this post Link to post Share on other sites
Tonto- 43 Posted September 27, 2015 Shouldnt it work with 6 materials per cell? Heres my settings. Share this post Link to post Share on other sites
Richie 330 Posted September 27, 2015 That setting is Arma 2, you posted in the Arma 3 section, so my answer was for Arma 3 :unsure: Share this post Link to post Share on other sites
Tonto- 43 Posted September 27, 2015 Even if I'm not planning to use Satelite Normal map? Thats strange, because i used that Arma 2 option with my last A3 map project.. I'll try my luck with satelite normal option. :) Share this post Link to post Share on other sites
jakerod 254 Posted September 27, 2015 The two options are:1.) 6 colors per land grid cell or whatever it is called OR 2.) 5 colors and a normal map Obviously you can have less than 5 if you want but those two options are the max. In the original post, what do you mean by the last two don't work? What isn't working about them? If you use "surfaceType getpos Player" while standing on them what does that return? Share this post Link to post Share on other sites
Tonto- 43 Posted September 27, 2015 Both not working surface textures has vt7_sammal surfaces texture. surfaceType getpos Player "#vt7_sammal_Surface" Share this post Link to post Share on other sites
jakerod 254 Posted September 28, 2015 The only thing I can think of is your rvmats and you said you checked that. What if you comment out the first two colors in the layers. And have you checked your cfgSurfaces file? Share this post Link to post Share on other sites
Tonto- 43 Posted September 28, 2015 Same result even with first two out commented colors. I mean the textures that had no color were still there and the two last were not. :o No errors, but the generated layer sure looks different: https://www.dropbox.com/s/ra34spr69mh2eej/M_000_000_lca.png?dl=0 Here is my cfgSurfaces: http://pastebin.com/fvfXeWBt Share this post Link to post Share on other sites
Tonto- 43 Posted September 29, 2015 I found out that the surface textures are right in Bulldozer before packing to pbo. Does this make any sense? Share this post Link to post Share on other sites