PDA

View Full Version : New error !



VladAlex
Mar 5 2008, 23:34
All was perfect before that µMµ%§ error. When I try to load my sat map: Visitor 3 tell me :

Error Loading P:\

? WHAT ?

Aplion
Mar 6 2008, 09:59
or your sat_map color depth or image size are wrong.

**EDIT**

on the other hand I just noticed that your error says P:\ this should be P:\your_map_dir_name\data

VladAlex
Mar 6 2008, 10:07
Image size is Ok, what is color depth ?

Aplion
Mar 6 2008, 10:14
have a look again in my previous post.

VladAlex
Mar 6 2008, 10:40
I dont understand... Visitor 3 work perfectly with others maps. I check all the path...

VladAlex
Mar 6 2008, 17:06
Ok, 10 hours to solve the problem... Now it's work... But it not work WELL !

Here is my layers.cfg


Quote[/b] ]class Layers
{

class terre
{
texture = "Sinai\data\terre_detail_co.paa";
material="Sinai\data\terre.rvmat";
};

class roche
{
texture = "Sinai\data\roche_detail_co.paa";
material="Sinai\data\roche.rvmat";
};



};

class Legend
{
picture="Sinai\Source\mapLegend.png";
class Colors
{
/// color names should correspond to surface layer names

terre[]={{255,246,0}};

roche[]={{255,0,0}};


}
};

And on of my two .rvmat


Quote[/b] ]ambient[] = {0.9,0.9,0.9,1};
diffuse[] = {0.9,0.9,0.9,1};
forcedDiffuse[] = {0.02,0.02,0.02,1};
specular[] = {0.0,0.0,0.0,0};
specularPower = 1; // specular interpolator must be enabled
emmisive[] = {0,0,0,0};

PixelShaderID = "NormalMapDiffuse";
VertexShaderID = "NormalMapDiffuseAlpha";

//surfaceInfo = "landtext\bumps.bisurf";

class Stage1
{ // normal map
texture="sinai\Data\roche_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="sinai\Data\roche_detail_co.paa";
uvSource="tex";
class uvTransform
{
aside[] = {10,0,0};
up[] = {0,10,0};
dir[] = {0,0,10};
pos[] = {0,0,0};
};
};


And the result is:

http://img143.imageshack.us/img143/2610/sanstitrezp4.th.jpg (http://img143.imageshack.us/my.php?image=sanstitrezp4.jpg)

Where is my SAT MAP http://forums.bistudio.com/oldsmileys/huh.gif

Planck
Mar 6 2008, 22:10
Layers.cfg should use _mco as the textures:

texture = "Sinai\data\terre_detail_mco.tga";

and

texture = "Sinai\data\roche_detail_mco.tga";


Planck

VladAlex
Mar 6 2008, 22:37
OMG... http://forums.bistudio.com/oldsmileys/crazy_o.gif It was so simple. It's a shame I dont see it before.

Thanks Plank

Aussie
Mar 7 2008, 01:46
Quote[/b] ]Layers.cfg should use _mco as the textures:

texture = "Sinai\data\terre_detail_mco.tga";


Are you sure this is correct?

Planck
Mar 7 2008, 02:50
Actually, no.........I was wrong, it should be .png

Other than that it is right.



Planck

Aussie
Mar 7 2008, 06:57
Dont u mean

"terre_mco.png"

VladAlex
Mar 7 2008, 08:05
Hmmm... I think it's better if it is something like: "terre_mco.paa"

Aussie
Mar 7 2008, 09:52
can use both png or paa, I prefer to use paa instead, not sure if there are any differences I have never been able to tell. I wasn't referrng to the file extention but rather the correct file name http://forums.bistudio.com/oldsmileys/smile_o.gif

Planck
Mar 7 2008, 15:16
Well. what can I say........in my defense .... it was late, or early, depending on your viewpoint.

Aye, you can remove the _detail bit too. http://forums.bistudio.com/oldsmileys/crazy_o.gif


Planck

Aussie
Mar 7 2008, 17:47
Quote[/b] ]Well. what can I say........in my defense .... it was late, or early, depending on your viewpoint.

Aye, you can remove the _detail bit too.

lol its all good, now go get some sleep http://forums.bistudio.com/oldsmileys/smile_o.gif