View Full Version : Error message when adding sta/mask help pls
Hi all
Me and a few mate are having the same problem, I have searched over and over on more than 4 site (and yes i have used the search button no joy http://forums.bistudio.com/oldsmileys/sad_o.gif ) its now been a day still no joy so its time to ask for help http://forums.bistudio.com/oldsmileys/smile_o.gif
right, now to the problem. We are at the point of putting the sat/mask on in visitor.
What we have done so far is ( tools---> Project Preferences, in the top line where it says "Folder Textures" write: MyMap\Data)
then put in the files that are asked for, its here we get the problem it comes up with..........
Error loading 'P:\MyMap\Source\mapLegend.png
dont see why this is happening, i have mapLegend.png and i have replaced it but no joy
help pls
thank you
Sols
Linker Split
Oct 17 2007, 22:14
when you load the layers.cfg configuration file, in it you should write:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Layers
{
class terrain
{
texture = "BHD_mogadishu\data\terrain_mco.png";
material="BHD_mogadishu\data\terrain.rvmat";
};
class beachsand
{
texture = "BHD_mogadishu\data\beachsand_mco.png";
material="BHD_mogadishu\data\beachsand.rvmat";
};
class sand
{
texture = "BHD_mogadishu\data\sand_mco.png";
material="BHD_mogadishu\data\sand.rvmat";
};
class grass
{
texture = "BHD_mogadishu\data\grass_mco.png";
material="BHD_mogadishu\data\grass.rvmat";
};
};
class Legend
{
picture="BHD_mogadishu\Source\MapLegend.png";
class Colors
{
terrain[]={{86,77,52}};
beachsand[]={{190,168,158}};
sand[]={{127,114,87}};
grass[]={{47,81,34}};
}
};[/QUOTE]
(obviously don't put the textures i use for my map)
then the mapLegend.png must go in the directory you wrote http://forums.bistudio.com/oldsmileys/smile_o.gif
mine is like that already mate, but thank tou anyway
Linker Split
Oct 17 2007, 22:27
that's strange... maybe open the png in PS, and save it again... maybe some texture format problem... try and tell us
still no joy mate, thank you anyway mate
my 2 cents on this would be
1) try and redownload the file from the wiki
2) check for spelling errors
Opteryx
Oct 18 2007, 22:47
my 2 cents on this would be
1) try and redownload the file from the wiki
2) check for spelling errors
I concur. When I first started out with Visitor I quickly learned that the most minute detail can cause severe problems, sometimes I had to decem-check all the paths before I found an error. Being an absent-minded person can cost you valuable time I'm afraid. http://forums.bistudio.com/oldsmileys/confused_o.gif
there are 3 of us trying to get this to work we have checked for spellings over and over spent a few hours checking with no joy and have redownload the mapLegend quite a few times as well still with no joy.
thank you anyway guys
You have a: sat_lco.png, Mask_lco.png, Maplegend.png and a layers.cfg, yes ?
all put in P:\Mymap\source
Now in P:\Mymap\data you have all detailed texture files (png's) and some Rvmat files ?
I'm not sure if visitor will change all detailed texture files to .paa files automaticly but if NOT, you should convert all .png's in the data folder to .paa files, then open up the Rvmat files and change all .png to .paa, be sure the paths are right.
Then you should also change the paths in the layer.cfg file.
Quote[/b] ]class Layers
{
class terrain
{
texture = "mymap\data\terrain_mco.paa";
material="mymap\data\terrain.rvmat";
};
class beachsand
{
texture = "mymap\data\beachsand_mco.paa";
material="mymap\data\beachsand.rvmat";
};
class sand
{
texture = "mymap\data\sand_mco.paa";
material="mymap\data\sand.rvmat";
};
class grass
{
texture = "mymap\data\grass_mco.paa";
material="mymap\data\grass.rvmat";
};
};
class Legend
{
picture="mymap\Source\MapLegend.png";
class Colors
{
terrain[]={{86,77,52}};
beachsand[]={{190,168,158}};
sand[]={{127,114,87}};
grass[]={{47,81,34}};
}
};
you can leave the LEGEND as PNG.
Thats it.
later
Alphons
i have it working now thanks for all your help.
my mate came across it we replaced as file names that had caps to small letters and it worked, just to let any1 know how to sort it if they have the same problem.
once again thanks for all your help guys http://forums.bistudio.com/oldsmileys/biggrin_o.gif
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.