Page 1 of 1

Blue box/plane?

Posted: 28 Dec 2005, 14:56
by mystiq
Hi.

First days of experimenting with mapping and ive got one small problem...

Image

The blue box/plane. Ive got no idea what that is or how to get rid of it. Any ideas?

Its not the water area so i dont know what it is...

Thanks in advance.

Posted: 28 Dec 2005, 15:47
by aGorm
Hi.... mmm how big is that map? Only youv'e managed (it looks from the screeny) to zoom out all teh way and see teh whole map at once, which either means your maps real small.... or wait no... its real smal. It may just be that you have made it so small its making a funny blue thing around teh outsde.

aGorm

Posted: 28 Dec 2005, 16:28
by mystiq
Yea its the smallest map size. 1024x1024 texture map and height (etc) are 129x129.

I made it small to speed up the compiling since im only learning and experimenting stuff, so small is good... for now. :)

Note that the bright blue are is separate from all the rest, its not part of the water plane or the ground. Also its not the skybox either.

Also heres the SMD, which is more or less the "default" that comes with Maelstroms SMD Creator 3.1.

Code: Select all

[MAP]
{
	Description=Description of your map;
	TidalStrength=20;
	Gravity=120;
	MaxMetal=0.05;
	ExtractorRadius=400;
	MapHardness=100;
	AutoShowMetal=1;
	[ATMOSPHERE]
	{
		Skybox=skybox.dds;
		FogColor=0.784 1 1;
		FogStart=0.5;
		CloudColor=0.784 0.784 0.784;
		SkyColor=0.588 1 1;
		SunColor=1 1 0.49;
		CloudDensity=0.5;
		MinWind=15;
		MaxWind=25;
	}
	[WATER]
	{
		WaterSurfaceColor=0 0.392 1;
		WaterPlaneColor=0 0.392 1;
		WaterBaseColor=0 0.392 1;
		WaterAbsorb=0.784 0.392 0.588;
		WaterMinColor=0 0.196 0.078;
		WaterDamage=0;
	}
	[LIGHT]
	{
		SunDir=-0.233 0.648 -0.263;
		GroundAmbiantColor=0.49 0.49 0.49;
		GroundSunColor=1 1 1;
		GroundShadowDensity=0.5;
		UnitAmbiantColor=0.49 0.49 0.49;
		UnitSunColor=0.49 0.49 0.49;
		UnitShadowDensity=0.5;
		SpecularSunColor=0.784 0.784 1;
	}
	[TEAM0]
	{
		StartPosX=50;
		StartPosZ=50;
	}
	[TEAM1]
 
	{
		StartPosX=100;
		StartPosZ=100;
	}
	[TERRAINTYPE0]
	{
		name=Default;
		hardness=1;
		tankmovespeed=1;
		kbotmovespeed=1;
		hovermovespeed=1;
		shipmovespeed=1;
	}
	[TERRAINTYPE3]
	{
		name=(none) - 3;
		hardness=1;
		tankmovespeed=1;
		kbotmovespeed=1;
		hovermovespeed=1;
		shipmovespeed=1;
	}
	[TERRAINTYPE8]
	{
		name=(none) - 8;
		hardness=1;
		tankmovespeed=1;
		kbotmovespeed=1;
		hovermovespeed=1;
		shipmovespeed=1;
	}
	[TERRAINTYPE13]
	{
		name=(none) - 13;
		hardness=1;
		tankmovespeed=1;
		kbotmovespeed=1;
		hovermovespeed=1;
		shipmovespeed=1;
	}
	[TERRAINTYPE20]
	{
		name=(none) - 20;
		hardness=1;
		tankmovespeed=1;
		kbotmovespeed=1;
		hovermovespeed=1;
		shipmovespeed=1;
	}
}
Also the this is the mapconv command line params line...

Code: Select all

mapconv.exe -i -f %respath%feature.bmp -x 200 -n -50 -m %respath%metal.bmp -a %respath%height.bmp -t %respath%texture.bmp -o compiled.smf
ignore the respath thing, its just part of the batch file i made.

Posted: 28 Dec 2005, 16:52
by mother

Code: Select all

WaterPlaneColor=0 0.392 1;
There it is right there. (And yes it is below your terrain, it's at 0 elevation)

Posted: 28 Dec 2005, 17:06
by mystiq
Hmm...

What is the purpose of that bright blue plane? Because from what i see, theres ground, water plane and that blue plane.

Image

Posted: 28 Dec 2005, 17:54
by mother
What is the purpose?!

You put the tag 'WaterPlaneColor=0 0.392 1;' in your SMD file. That is what the tag WaterPlaneColor does, and that 'bright blue' would seem to be 0/0.392/1... :wink:

You asked why you are getting the "blue box/plane," and you are getting it because your SMD file defines it through the WaterPlaneColor tag.

Not to mention that is a completely different map


Do yourself a favor and stop confusing the issue. Start without a skybox or waterplanecolor. Then add a skybox. Then remove the skybox and use waterplanecolor. Then use both.

Once you understand the expected behavior of Spring you will find life as a mapper slightly less horrible. If you don't want to use a WaterPlaneColor then don't...

Take a look at my Monolith NaAr map... IIRC I funkily used the WPC and fog tags along with a starscape skybox... And I know others have used it to soften the 'cutoff' at the edge of a map (particularly island type maps). You also should keep in mind the tiny map size you are working with- it's possible that certain 'effects' don't scale down well.

Posted: 28 Dec 2005, 18:50
by mystiq
You asked why you are getting the "blue box/plane," and you are getting it because your SMD file defines it through the WaterPlaneColor tag.
Thats good to know.
Not to mention that is a completely different map
Pretty much the same map, but i fail to see if that even matters in this case.
Do yourself a favor and stop confusing the issue. Start without a skybox or waterplanecolor. Then add a skybox. Then remove the skybox and use waterplanecolor. Then use both.
Confusing the issue? At least i know exactly what skybox is for, im just asking what the plane is used for. Also how does the skybox have to do with the water plane (color)?
Once you understand the expected behavior of Spring you will find life as a mapper slightly less horrible. If you don't want to use a WaterPlaneColor then don't...
Firstly, i wasnt aware of that tag was optional.
Take a look at my Monolith NaAr map... IIRC I funkily used the WPC and fog tags along with a starscape skybox... And I know others have used it to soften the 'cutoff' at the edge of a map (particularly island type maps). You also should keep in mind the tiny map size you are working with- it's possible that certain 'effects' don't scale down well.
Good to know as well. :)

Thanks.

Posted: 29 Dec 2005, 06:46
by Maelstrom
Also note that there is a new version of the SMD creator out. Its posted on the last post in the thread. I havnt updated the main post as it was a beta, but I think I have fixed all the bugs in it so it SHOULD work fine. Ill update the first post again in a sec.

Posted: 29 Dec 2005, 09:37
by Das Bruce
Do all those maps have custom skyboxes?

Posted: 29 Dec 2005, 12:49
by mystiq
My "map(s)"? :)

If you mean those maps that i posted screens of, its the skybox thats i found on some thread.

Posted: 29 Dec 2005, 13:16
by Maelstrom
it does look suspiciously like a skybox with a blue image for its bottom face.

Posted: 29 Dec 2005, 20:04
by mystiq
Yes it does, but its not. :)