only 4 textures in ArmA2?
Moderators: Lone Wolf, Snake Man
-
- Newbie
- Posts: 7
- Joined: 2009-07-24 15:04:52
- Gaming Interests: ArmA 2 (Armed Assault 2)
- Editing Interests: Terrains
only 4 textures in ArmA2?
Hello all,
Until now I can only use a maximum of 4 textures with my new amra2 map.
Any extra texture is not used.
I have made the file mask_lco.png with Paint Net and saved it with a resolution of 2048x2048 24 bit pixels.
When I created mask_lco.png I de-activated Antialiasing.
The layers.cfg file looks like this:
class Legend
{
picture="ostfront2\Source\mapLegend.png";
class Colors
{
trava[]={{255,255,0}};
lawn[]={{0,255,0}};
mesto[]={{255,0,0}};
lesjeh[]={{0,0,255}};
skalaj[]={{255,255,255}};
travajih[]={{0,0,0}};
What am I doing wrong ?
Until now I can only use a maximum of 4 textures with my new amra2 map.
Any extra texture is not used.
I have made the file mask_lco.png with Paint Net and saved it with a resolution of 2048x2048 24 bit pixels.
When I created mask_lco.png I de-activated Antialiasing.
The layers.cfg file looks like this:
class Legend
{
picture="ostfront2\Source\mapLegend.png";
class Colors
{
trava[]={{255,255,0}};
lawn[]={{0,255,0}};
mesto[]={{255,0,0}};
lesjeh[]={{0,0,255}};
skalaj[]={{255,255,255}};
travajih[]={{0,0,0}};
What am I doing wrong ?
-
- Commander-In-Chief
- Posts: 9784
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: only 4 textures in ArmA2?
Hmm is that the complete layers.cfg file or did you just list the bottom part of it?
Important PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Newbie
- Posts: 7
- Joined: 2009-07-24 15:04:52
- Gaming Interests: ArmA 2 (Armed Assault 2)
- Editing Interests: Terrains
Re: only 4 textures in ArmA2?
Snake Man wrote:Hmm is that the complete layers.cfg file or did you just list the bottom part of it?
here the complete list:
class Layers
{
class trava
{
texture = "ostfront2\data\trava_mco.paa";
material="ostfront2\data\trava.rvmat";
};
class travanf
{
texture = "ostfront2\data\travanf_mco.paa";
material="ostfront2\data\travanf.rvmat";
};
class pisekplaz
{
texture = "ostfront2\data\pisekplaz_mco.paa";
material="ostfront2\data\pisekplaz.rvmat";
};
class pole1
{
texture = "ostfront2\data\pole1_mco.paa";
material="ostfront2\data\pole1.rvmat";
};
class travajih
{
texture = "ostfront2\data\travajih_mco.paa";
material="ostfront2\data\travajih.rvmat";
};
class fieldtravajih
{
texture = "ostfront2\data\fieldtravajih_mco.paa";
material="ostfront2\data\fieldtravajih.rvmat";
};
class lawn
{
texture = "ostfront2\data\lawn_mco.paa";
material="ostfront2\data\lawn.rvmat";
};
class mesto
{
texture = "ostfront2\data\mesto_mco.paa";
material="ostfront2\data\mesto.rvmat";
};
class lesjeh
{
texture = "ostfront2\data\lesjeh_mco.paa";
material="ostfront2\data\lesjeh.rvmat";
};
class leslist
{
texture = "ostfront2\data\leslist_mco.paa";
material="ostfront2\data\leslist.rvmat";
};
class skalaj
{
texture = "ostfront2\data\skalaj_mco.paa";
material="ostfront2\data\skalaj.rvmat";
};
};
class Legend
{
picture="ostfront2\Source\mapLegend.png";
class Colors
{
trava[]={{255,255,0}};
lawn[]={{0,255,0}};
mesto[]={{255,0,0}};
lesjeh[]={{0,0,255}};
skalaj[]={{255,255,255}};
}
};
-------------------------------
------------------------------
the rvmat is like this:
ambient[]={0.89999998,0.89999998,0.89999998,1};
diffuse[]={0.89999998,0.89999998,0.89999998,1};
forcedDiffuse[]={0.02,0.02,0.02,1};
emmisive[]={0,0,0,0};
specular[]={0,0,0,0};
specularPower=1;
PixelShaderID="NormalMapDiffuse";
VertexShaderID="NormalMapDiffuseAlpha";
class Stage1
{
texture="ostfront2\Data\travanf_detail_nohq.paa";
uvSource="tex";
class uvTransform
{
aside[]={10,0,0};
up[]={0,10,0};
dir[]={0,0,10};
pos[]={0,0,0};
};
};
class Stage2
{
texture="ostfront2\Data\travanf_detail_co.paa";
uvSource="tex";
class uvTransform
{
aside[]={10,0,0};
up[]={0,10,0};
dir[]={0,0,10};
pos[]={0,0,0};
};
};
-
- Commander-In-Chief
- Posts: 9784
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: only 4 textures in ArmA2?
Ah I see, the layers.cfg seems fine then.
I don't know really what might be the problem, I don't have that much V3 experience to have seen such error before. The terrain's I've "compiled" with it seems to work fine.
Just for reference, here is the layers.cfg from our PMC 51km Desert terrain:
Sorry that I can't provide any other ideas...
I don't know really what might be the problem, I don't have that much V3 experience to have seen such error before. The terrain's I've "compiled" with it seems to work fine.
Just for reference, here is the layers.cfg from our PMC 51km Desert terrain:
Code: Select all
// PMC Desert Hardcore Native
// trials :)
class Layers
{
class wetsand
{
texture = "pmc\pmc_51km_desert\data\pisekpoust_detail_co.png";
material = "pmc\pmc_51km_desert\data\pisekpoust.rvmat";
};
class sand
{
texture = "pmc\pmc_51km_desert\data\pisekplaz_detail_co.png";
material = "pmc\pmc_51km_desert\data\pisekplaz.rvmat";
};
class concrete
{
texture = "pmc\pmc_51km_desert\data\pisekpoust_detail_co.png";
material = "pmc\pmc_51km_desert\data\pisekpoust.rvmat";
};
class grass
{
texture = "pmc\pmc_51km_desert\data\travajih_detail_co.png";
material = "pmc\pmc_51km_desert\data\travajih.rvmat";
};
class forest
{
texture = "pmc\pmc_51km_desert\data\lesjeh_detail_co.png";
material = "pmc\pmc_51km_desert\data\lesjeh.rvmat";
};
class coastcliff
{
texture = "pmc\pmc_51km_desert\data\skalaj_detail_co.png";
material = "pmc\pmc_51km_desert\data\skalaj.rvmat";
};
class mountainrocks
{
texture = "pmc\pmc_51km_desert\data\skalaj_detail_co.png";
material = "pmc\pmc_51km_desert\data\skalaj.rvmat";
};
class grass2
{
texture = "pmc\pmc_51km_desert\data\mesto_detail_co.png";
material = "pmc\pmc_51km_desert\data\mesto.rvmat";
};
class sandrocks
{
texture = "pmc\pmc_51km_desert\data\blato_detail_co.png";
material = "pmc\pmc_51km_desert\data\blato.rvmat";
};
};
class Legend
{
picture = "pmc\pmc_51km_desert\source\mapLegend.png";
class Colors
{
// color names should correspond to surface layer names
wetsand[] = {{ 0, 63, 0 }};
sand[] = {{ 255, 0, 60 }};
concrete[] = {{ 192, 192, 192 }};
grass[] = {{ 0, 255, 131 }};
forest[] = {{ 200, 255, 0 }};
coastcliff[] = {{ 0, 255, 250 }};
rocks[] = {{ 205, 0, 255 }};
mountainrocks[] = {{ 217, 120, 0 }};
grass2[] = {{ 77, 0, 255 }};
sandrocks[] = {{ 155, 100, 0 }};
}
};
Important PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Newbie
- Posts: 7
- Joined: 2009-07-24 15:04:52
- Gaming Interests: ArmA 2 (Armed Assault 2)
- Editing Interests: Terrains
Re: only 4 textures in ArmA2?
i think it is not a layers.cfg problem.
maybe a setting in the Visitor3 or the Map project?
maybe a setting in the Visitor3 or the Map project?
-
- Commander-In-Chief
- Posts: 9784
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: only 4 textures in ArmA2?
Hmm can you use any textures as long as they are 4 or less, or is it just specific 4 textures which work?
Important PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Newbie
- Posts: 7
- Joined: 2009-07-24 15:04:52
- Gaming Interests: ArmA 2 (Armed Assault 2)
- Editing Interests: Terrains
Re: only 4 textures in ArmA2?
yes all textures work fine but only 4
When i import Satellite and Mask files, my Visitor ask me for the Satelite maps and Layer mask files, but not for the layer.cfg it is ok?
When i import Satellite and Mask files, my Visitor ask me for the Satelite maps and Layer mask files, but not for the layer.cfg it is ok?
-
- Commander-In-Chief
- Posts: 9784
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: only 4 textures in ArmA2?
It should first ask layer.cfg, then texture and finally mask.
Important PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Newbie
- Posts: 7
- Joined: 2009-07-24 15:04:52
- Gaming Interests: ArmA 2 (Armed Assault 2)
- Editing Interests: Terrains
Re: only 4 textures in ArmA2?
Snake Man wrote:It should first ask layer.cfg, then texture and finally mask.
ok thx for your help, i will install the Visitor new maybe it help

-
- Newbie
- Posts: 7
- Joined: 2009-07-24 15:04:52
- Gaming Interests: ArmA 2 (Armed Assault 2)
- Editing Interests: Terrains
Re: only 4 textures in ArmA2?
i install all ArmA2 Tools new but no change
You can make a test map with 6 textures?
i hope it work for my and i find the error.

You can make a test map with 6 textures?
i hope it work for my and i find the error.
-
- Commander-In-Chief
- Posts: 9784
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: only 4 textures in ArmA2?
The only satellite mask I've done so far is for the CAT Afghanistan ArmA version, you can see the mask image in the topic in CAT Afghanistan forum area.
I have 7 mask texture types included in the terrain, it works fine.
I have 7 mask texture types included in the terrain, it works fine.
Important PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Newbie
- Posts: 7
- Joined: 2009-07-24 15:04:52
- Gaming Interests: ArmA 2 (Armed Assault 2)
- Editing Interests: Terrains
Re: only 4 textures in ArmA2?
good news, my textures work now, it was the wrong Sattelite Size in the Visitor3 setting!!!
but what have the Sattelite Size to do with the texture?
thx for all who help me!!!
but what have the Sattelite Size to do with the texture?
thx for all who help me!!!
-
- Commander-In-Chief
- Posts: 9784
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: only 4 textures in ArmA2?
Glad to hear you got it fixed.
Important PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."