Search the Community
Showing results for tags 'layers.cfg'.
Found 6 results
-
Problems with binarising my Terrain, layers.cfg Problem
Sh0rty posted a topic in ARMA 3 - TERRAIN - (BUILDER)
Hello Everyone, i seem to have a Problem with my layers.cfg, atleast that's what pboProject thinks... ..File shrty\shrty_santmarteen\source\layers.cfg: Expected ';' or ':' or '{' after classname Failed. View->output logs for shrty\shrty_santmarteen shrty_santmarteen.pbo not produced due to error(s) Anyone spot something weird in my cfg? class Layers { class shrty_grass { texture = ""; material = "shrty\shrty_santmarteen\data\shrty_grass.rvmat"; }; class shrty_ocean { texture = ""; material = "shrty\shrty_santmarteen\data\shrty_ocean.rvmat"; }; class shrty_beach { texture = ""; material = "shrty\shrty_santmarteen\data\shrty_beach.rvmat"; }; class shrty_stone { texture = ""; material = "shrty\shrty_santmarteen\data\shrty_stone.rvmat"; }; }; class Legend { picture = "maplegend.png"; class Colors { shrty_grass[] = {{ 0, 100, 0 }}; shrty_ocean[] = {{ 0, 0, 255 }}; shrty_beach[] = {{ 255, 255, 0 }}; shrty_stone[] = {{ 255, 0, 0 }}; }; };- 9 replies
-
- terrain
- terrainbuilder
-
(and 2 more)
Tagged with:
-
I'm trying my hand at making a map and I get this error when I go to generate layers. Here is my config file: class Layers { class ben_yellow_sand { texture = ""; material = "ben\egypt\data\ben_yellow_sand.rvmat; }; class ben_yellow_sand2 { texture = ""; material = "ben\egypt\data\ben_yellow_sand2.rvmat; }; class ben_rock { texture = ""; material = "ben\egypt\data\ben_rock.rvmat; }; class ben_rock2 { texture = ""; material = "ben\egypt\data\ben_rock2.rvmat; }; }; class Legend { picture = "ben\egypt\source\maplegend.png"; class Colors { ben_yellow_sand[]={{ 236, 230, 149 }}; ben_yellow_sand2[]={{ 226, 207, 129 }}; ben_rock[]={{ 181, 158, 111 }}; ben_rock2[]={{ 196, 177, 121 }}; }; };
-
layers.cfg Layers Generation - Unable to load the file "P:/....
Senor Dav3 posted a topic in ARMA 3 - TERRAIN - (BUILDER)
So, im trying to do my thing making a map and everything, then when i go to generate layers it throws me up this error https://gyazo.com/7e6be1efbd9454e8d22ff9f7c2f1f97f It used to say about not finding "P:/" at all but now it changed to the one mentioned up above. Yet when i load the layers.cfg file in it shows me a green check mark but then throws an error up. Shown in video here https://gyazo.com/aa0ad9a10ef6e64d4ed48da6fb5c8001 I will provide the script from the layers.cfg file below class Layers { class gdt_rock { texture = "Dave_First_Island\data\al_rock_co.paa"; material = "Dave_First_Island\data\al_rock.rvmat"; }; class gdt_gras { texture = "Dave_First_Island\data\al_gras.paa"; material = "Dave_First_Island\data\al_gras.rvmat"; }; class gdt_strbeach { texture = "Dave_First_Island\data\strbeach_co.paa"; material = "Dave_First_Island\data\strbeach_co.rvmat"; }; class Legend { picture = "Dave_First_Island\source\mapLegend.png"; ); ); class Colors { gdt_rock[] = {{255, 0, 0}}; gdt_gras[] = {{0, 0, 255}}; gdt_strbeach[] = {{0, 255, 0}}; }; }; Forgive me if there are any mistakes its just im not the best with this type of language in specific. But any questions or help would be sincerely appreciated, Thanks! -
Can't load image from file 'P:\': file does not exist.
Swedish Pyromaniac posted a topic in ARMA 3 - TERRAIN - (BUILDER)
Whenever I try to generate layers in terrain builder, I get this error: 23:57:44: Can't load image from file 'P:\': file does not exist. 23:57:44: Layers generation - PNGOVerlapV3Style.cpp bool V3PictureDataMod::LoadFromFile( const char* filename = "P:\" ) Unable to open the image file. 23:57:44: Layers generation - Unable to load the file "P:\". Here is my layers.cfg: class Layers { class swp_samavia_sand { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_sand.rvmat"; }; class swp_samavia_grass1 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass1.rvmat"; }; class swp_samavia_grass2 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass2.rvmat"; }; class swp_samavia_grass3 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass3.rvmat"; }; class swp_samavia_grass4 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass4.rvmat"; }; class swp_samavia_grass5 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass5.rvmat"; }; class swp_samavia_grass6 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass6.rvmat"; }; class swp_samavia_grass7 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass7.rvmat"; }; class swp_samavia_grass8 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass8.rvmat"; }; class swp_samavia_grass9 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass9.rvmat"; }; class swp_samavia_grass10 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass10.rvmat"; }; class swp_samavia_grass11 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass11.rvmat"; }; class swp_samavia_grass12 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass12.rvmat"; }; class swp_samavia_grass13 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass13.rvmat"; }; class swp_samavia_grass14 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass14.rvmat"; }; class swp_samavia_grass15 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass15.rvmat"; }; class swp_samavia_grass16 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass16.rvmat"; class swp_samavia_gravel1 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_gravel1.rvmat"; }; class swp_samavia_gravel2 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_gravel2.rvmat"; }; class swp_samavia_gravel3 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_gravel3.rvmat"; }; class swp_samavia_mud { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_mud.rvmat"; }; class swp_samavia_stone1 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_stone1.rvmat"; }; class swp_samavia_stone2 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_stone2.rvmat"; }; class swp_samavia_stone3 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_stone3.rvmat"; }; }; class Legend { picture = "maplegend.png"; class Colors { swp_samavia_sand[] = {{ 230, 230, 120 }}; swp_samavia_gravel1[] = {{ 175, 160, 130 }}; swp_samavia_gravel2[] = {{ 175, 160, 131 }}; swp_samavia_gravel3[] = {{ 175, 161, 131 }}; swp_samavia_grass1[] = {{ 156, 194, 75 }}; swp_samavia_grass2[] = {{ 158, 198, 90 }}; swp_samavia_grass3[] = {{ 155, 195, 90 }}; swp_samavia_grass4[] = {{ 160, 200, 90 }}; swp_samavia_grass5[] = {{ 140, 185, 70 }}; swp_samavia_grass6[] = {{ 140, 185, 72 }}; swp_samavia_grass7[] = {{ 110, 190, 80 }}; swp_samavia_grass8[] = {{ 140, 195, 80 }}; swp_samavia_grass9[] = {{ 150, 180, 80 }}; swp_samavia_grass10[] = {{ 150, 195, 80 }}; swp_samavia_grass11[] = {{ 160, 195, 80 }}; swp_samavia_grass12[] = {{ 170, 180, 70 }}; swp_samavia_grass13[] = {{ 170, 190, 80 }}; swp_samavia_grass14[] = {{ 130, 192, 80 }}; swp_samavia_grass15[] = {{ 120, 190, 80 }}; swp_samavia_grass16[] = {{ 110, 180, 80 }}; swp_samavia_mud[] = {{ 200, 170, 100 }}; swp_samavia_stone1[] = {{ 120, 121, 120 }}; swp_samavia_stone2[] = {{ 120, 120, 120 }}; swp_samavia_stone3[] = {{ 80, 80, 80 }}; }; };- 3 replies
-
- terrain builder
- terrain
-
(and 2 more)
Tagged with:
-
I have been having this error pop up upon trying to generate layers for a terrain that I am building for the entirety of the day and I've had no clue why or how it is happening, help or a push in the right direction would be much appreciated. the Layers.cfg file class Layers { { class SirB_Rangmore_forest_pine { texture="" material="SirB\Rangmore\data\SirB_Rangmore_forest_pine.rvmat"; }; class SirB_Rangmore_snow { texture="" material="SirB\Rangmore\data\SirB_Rangmore_snow.rvmat"; }; class SirB_Rangmore_rock { texture="" material="SirB\Rangmore\data\SirB_Rangmore_rock.rvmat" }; class SirB_Rangmore_stony { texture="" material="SirB\Rangmore\data\SirB_Rangmore_stony.rvmat" }; class SirB_Rangmore_beach { texture="" material="SirB\Rangmore\data\SirB_Rangmore_beach.rvmat" }; class SirB_Rangmore_desert { texture="" material="SirB\Rangmore\data\SirB_Rangmore_desert.rvmat" }; class SirB_Rangmore_wild_grass { texture="" material="SirB\Rangmore\data\SirB_Rangmore_wild_grass.rvmat" }; class SirB_Rangmore_wildfield { texture="" material="SirB\Rangmore\data\SirB_Rangmore_wildfield.rvmat" }; class SirB_Rangmore_marsh { texture="" material="SirB\Rangmore\data\SirB_Rangmore_marsh.rvmat" }; class SirB_Rangmore_strseabed { texture="SirB\Rangmore\data\SirB_Rangmore_strseabed.rvmat" }; }; class Legend { { picture="SirB\Rangmore\source\mapLegend.png" class Colors { SirB_Rangmore_forest_pine[]={{170,190,80}}; SirB_Rangmore_snow[]={{255,255,255}}; SirB_Rangmore_stony[]={{120,120,120}}: SirB_Rangmore_rock[]={{80,80,80}}; SirB_Rangmore_beach[]={{175,160,130}}; SirB_Rangmore_desert[]={{255,190,0}}; SirB_Rangmore_wild_grass[]={{140,195,80}}; SirB_Rangmore_wildfield[]={{170,180,70}}; SirB_Rangmore_marsh[]={{158,198,90}}; SirB_Rangmore_strseabed[]={{230,230,120}}; }; }; and just in case it was an issue with an .rvmat file here is an .rvmat file ambient[]={1.5,1.5,1.5,1}; diffuse[]={0.5,0.5,0.5,1}; forcedDiffuse[]={0,0,0,0}; emmisive[]={0,0,0,0}; specular[]={0,0,0,0}; specularPower=1; PixelShaderID="NormalMapDiffuse"; VertexShaderID="NormalMapDiffuseAlpha"; class Stage1 { texture="SirB\data\SirB_Rangmore_beach_nopx.paa"; uvSource="tex"; class uvTransform { aside[]={10,0,0}; up[]={0,10,0}; dir[]={0,0,10}; pos[]={0,0,0}; }; }; class Stage2 { texture="SirB\data\SirB_Rangmore_beach_co.paa"; uvSource="tex"; class uvTransform { aside[]={10,0,0}; up[]={0,10,0}; dir[]={0,0,10}; pos[]={0,0,0}; }; }; what I have tried already got rid of duplicate references inside the cfg file retype the Layers.cfg file by hand take another Layers.cfg file renamed everthing made a Layers.cfg file with only four textures retype Layers.cfg file again restart the project At the moment the only other thing I can think of is that the mask_Ico is a .bmp and has slightly different RGB codes (like 1-2 in any of the R,G or B) for some pixel than what is there for the colors class, but I think that would generate a different error code and using the magic wand w/ the fill tool would be a nightmare. So once again, help me out please.
- 3 replies
-
- terrain builder
- help
- (and 7 more)
-
Layers generation - Unable to load file "P:\"
slawterer posted a topic in ARMA 3 - TERRAIN - (BUILDER)
I'm trying to create an island, and the layers generation is failing with the following error: Layers generation - Unable to load the file "P:\". Can't load image from file 'P:\': file does not exist Layers generation - PNGOVerlapV3Style.cpp bool v3PictureDataMod::LoadFromFile( const char* filename = "P:\") Unable to open the image file. Layers generation - Unable to load file "P:\". I have looked over the forums and most people who have this issue say they resolved it by fixing a typo in their Layers.cfg file, however I cannot find one. If any of you can spot where I've gone wrong I will be eternally grateful. class Layers { class grass_green { texture = ""; material = "slawterer\mann\data\grass_green.rvmat"; }; class sand { texture = ""; material = "slawterer\mann\data\sand.rvmat"; }; class seabed { texture = ""; material = "slawterer\mann\data\seabed.rvmat"; }; class steep_grass { texture = ""; material = "slawterer\mann\data\grass_steep.rvmat"; }; class weed { texture = ""; material = "slawterer\mann\data\grass_weed.rvmat"; }; class concrete { texture = ""; material = "slawterer\mann\data\concrete.rvmat"; }; class cliff { texture = ""; material = "slawterer\mann\data\rock.rvmat"; }; class scrub { texture = ""; material = "slawterer\mann\data\grass_dry.rvmat"; }; class steep_scrub { texture = ""; material = "slawterer\mann\data\thistles.rvmat"; }; }; class Legend { picture="slawterer\mann\source\mapLegend.png"; class Colors { seabed[]={{230,230,120}}; grass_green[]={{140,195,80}}; steep_grass[]={{140,185,70}}; scrub[]={{170,190,80}}; steep_scrub{{=170,180,70}}; sand[]={{120,190,180}}; weed[]={{170,180,70}}; cliff[]={{120,120,120}}; concrete[]={{255,0,255}}; }; };