Page 1 of 1

Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 04:25
by CCBlackmilk
Hey Spring Players,

I was discussing this was Senna earlier, as he was teaching me how to do map conversion. The problem that seems to keep arising is that my map, Beach Battle doesn't appear to function, regardless of how I edited my smd folder. :( :(

These are the following three files I have that I have:
Beachbattle.smd
Beachbattle.smf
Beachbattle.smt
These files are in the folder called maps.

I then convert it into an sd7 file as a 7z file.

However, although the map is atleast read by Spring, it does not do anything else but say there is an error reading it.

==================
Now here is what my .smd folder looks like:
[MAP]
{
Description=Created by [CC]BlackMilk ; A basic 1v1 skirmish allowing all different types vehicles.;
TidalStrength=12;
Gravity=120;
MaxMetal=1.0;
ExtractorRadius=100;
MapHardness=10;
AutoShowMetal=1;

[ATMOSPHERE]
{
FogColor=0.63 0.74 0.28;
CloudColor=1 0.89 0.7;
SkyColor=0.76 0.83 1;
SunColor=1 0.99 0.81;
FogStart=.9;
CloudDensity=0.3;
MinWind=5;
MaxWind=15;
}

[WATER]
{
WaterSurfaceColor=0.44 0.66 1;
WaterPlaneColor=0.76 0.88 1;
WaterBaseColor=0.84 0.94 1;
WaterAbsorb=0.7 0.7 0.7;
WaterMinColor=1 1 1;
WaterDamage=;
}

[LIGHT]
{
SunDir=0.008 0.556 -0.444;
GroundAmbiantColor=1 1 1;
GroundSunColor=1 1 1;
UnitAmbiantColor=1 0.93 0.67;
UnitSunColor=1 0.93 0.67;
SpecularSunColor=1 1 1;
}

[TERRAINTYPE0]
{
name=terrainex0;
hardness=15;
tankmovespeed=1;
kbotmovespeed=1;
hovermovespeed=1;
shipmovespeed=1;
}

}

[TEAM0]
{
StartPosX=0;
StartPosZ=0;
}

}
Please tell me if I'm doing anything wrong, thanks :)

Btw, this does have water, and, only TWO textures, one is the sandy texture, and, another is a asphaltish texture.
===========
End Result:
As of now, I get an error parsing maps/Beachbattle.smd

Therefore, something is wrong with my SMD file

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 04:47
by smoth
CCBlackmilk wrote:Hey Spring Players,

I was discussing this was Senna earlier, as he was teaching me how to do map conversion. The problem that seems to keep arising is that my map, Beach Battle doesn't appear to function, regardless of how I edited my smd folder. :( :(

These are the following three files I have that I have:
Beachbattle.smd
Beachbattle.smf
Beachbattle.smt
These files are in the folder called map.

I then convert it into an sd7 file as a 7z file.

However, although the map is atleast read by Spring, it does not do anything else but say there is an error reading it.

==================
Now here is what my .smd folder looks like:
[MAP]
{
Description=Created by [CC]BlackMilk ; A basic 1v1 skirmish allowing all different types vehicles.;
TidalStrength=12;
Gravity=120;
MaxMetal=1.0;
ExtractorRadius=100;
MapHardness=10;
AutoShowMetal=1;

[ATMOSPHERE]
{
FogColor=0.63 0.74 0.28;
CloudColor=1 0.89 0.7;
SkyColor=0.76 0.83 1;
SunColor=1 0.99 0.81;
FogStart=.9;
CloudDensity=0.3;
MinWind=5;
MaxWind=15;
}

[WATER]
{
WaterSurfaceColor=0.44 0.66 1;
WaterPlaneColor=0.76 0.88 1;
WaterBaseColor=0.84 0.94 1;
WaterAbsorb=0.7 0.7 0.7;
WaterMinColor=1 1 1;
WaterDamage=;
}

[LIGHT]
{
SunDir=0.008 0.556 -0.444;
GroundAmbiantColor=1 1 1;
GroundSunColor=1 1 1;
UnitAmbiantColor=1 0.93 0.67;
UnitSunColor=1 0.93 0.67;
SpecularSunColor=1 1 1;
}

[TERRAINTYPE0]
{
name=terrainex0;
hardness=15;
tankmovespeed=1;
kbotmovespeed=1;
hovermovespeed=1;
shipmovespeed=1;
}

}


[TEAM0]
{
StartPosX=0;
StartPosZ=0;
}

}

Please tell me if I'm doing anything wrong, thanks :)

Btw, this does have water, and, only TWO textures, one is the sandy texture, and, another is a asphaltish texture.

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:03
by CCBlackmilk
smoth wrote:
CCBlackmilk wrote:Hey Spring Players,

I was discussing this was Senna earlier, as he was teaching me how to do map conversion. The problem that seems to keep arising is that my map, Beach Battle doesn't appear to function, regardless of how I edited my smd folder. :( :(

These are the following three files I have that I have:
Beachbattle.smd
Beachbattle.smf
Beachbattle.smt
These files are in the folder called map.

I then convert it into an sd7 file as a 7z file.

However, although the map is atleast read by Spring, it does not do anything else but say there is an error reading it.

==================
Now here is what my .smd folder looks like:
[MAP]
{
Description=Created by [CC]BlackMilk ; A basic 1v1 skirmish allowing all different types vehicles.;
TidalStrength=12;
Gravity=120;
MaxMetal=1.0;
ExtractorRadius=100;
MapHardness=10;
AutoShowMetal=1;

[ATMOSPHERE]
{
FogColor=0.63 0.74 0.28;
CloudColor=1 0.89 0.7;
SkyColor=0.76 0.83 1;
SunColor=1 0.99 0.81;
FogStart=.9;
CloudDensity=0.3;
MinWind=5;
MaxWind=15;
}

[WATER]
{
WaterSurfaceColor=0.44 0.66 1;
WaterPlaneColor=0.76 0.88 1;
WaterBaseColor=0.84 0.94 1;
WaterAbsorb=0.7 0.7 0.7;
WaterMinColor=1 1 1;
WaterDamage=;
}

[LIGHT]
{
SunDir=0.008 0.556 -0.444;
GroundAmbiantColor=1 1 1;
GroundSunColor=1 1 1;
UnitAmbiantColor=1 0.93 0.67;
UnitSunColor=1 0.93 0.67;
SpecularSunColor=1 1 1;
}

[TERRAINTYPE0]
{
name=terrainex0;
hardness=15;
tankmovespeed=1;
kbotmovespeed=1;
hovermovespeed=1;
shipmovespeed=1;
}

}


[TEAM0]
{
StartPosX=0;
StartPosZ=0;
}

}

Please tell me if I'm doing anything wrong, thanks :)

Btw, this does have water, and, only TWO textures, one is the sandy texture, and, another is a asphaltish texture.
I don't need to get rid of all four paranthesis', just one, and that's the one below Terrain Type...

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:11
by lurker
Not that smoth ever suggested removing 4.

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:18
by smoth
CCBlackmilk wrote:I don't need to get rid of all four paranthesis', just one, and that's the one below Terrain Type...
you are welcome sir.

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:22
by CCBlackmilk
smoth wrote:
CCBlackmilk wrote:I don't need to get rid of all four paranthesis', just one, and that's the one below Terrain Type...
you are welcome sir.
Haha thanks, but, it's still not working :P, same problem as previous :!:

I compiled it correctly, as far as I know :P

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:27
by lurker

Code: Select all

Description=Created by [CC]BlackMilk ; A basic 1v1 skirmish allowing all different types vehicles.;
This is not tdf.

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:32
by CCBlackmilk
lurker wrote:

Code: Select all

Description=Created by [CC]BlackMilk ; A basic 1v1 skirmish allowing all different types vehicles.;
This is not tdf.
What do you mean by tdf. (I'm a noob lmao)

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:38
by lurker
Don't worry about it. Just spot the error.

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:42
by CCBlackmilk
lurker wrote:Don't worry about it. Just spot the error.
Quotes????

EDIT: AFTER ALL THAT PAIN, I JUST NEEDED THOSE TWO LITTLE THINGS!!!

OMFG!

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:42
by Argh
What he's saying, in a rather obscure way, is that the ";" symbol ends a valid line in a TDF, which is one of the text-file formats Spring uses.

You can't write the line like that, basically. Just write it like this:
Description=Created by [CC]BlackMilk. A basic 1v1 skirmish allowing all different types vehicles.;

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:43
by lurker
I'm sorry, the correct answer was: semicolon
But you still get a consolation prize! A basket of smoked cheeses.

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:46
by Argh
I like smoked cheeses :mrgreen:

Oh, and I'm glad that that fixed it for ya. Have fun mapping!

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 05:47
by CCBlackmilk
Argh wrote:What he's saying, in a rather obscure way, is that the ";" symbol ends a valid line in a TDF, which is one of the text-file formats Spring uses.

You can't write the line like that, basically. Just write it like this:
Description=Created by [CC]BlackMilk. A basic 1v1 skirmish allowing all different types vehicles.;
Ironic enough, simply adding quotes to the description allowed the map to work.

Now only thing needed is the minimap :P

As of now, it appears completely black, it works perfect other then that

Re: Help understanding how to do MAP CONVERSION

Posted: 05 Jul 2009, 06:02
by CCBlackmilk
Wait, how do you get minimaps working. Mine are just black :P

Re: Help understanding how to do MAP CONVERSION

Posted: 21 Jul 2009, 21:54
by Quanto042
remove minimap.dds from the compressed file, its borked. Spring will create a proper minimap in realtime anyways.

Re: Help understanding how to do MAP CONVERSION

Posted: 22 Jul 2009, 01:25
by kburts
is there going to be a public release of this map?

Re: Help understanding how to do MAP CONVERSION

Posted: 22 Jul 2009, 10:14
by Wombat
plz no more dumb dsd remakes

Re: Help understanding how to do MAP CONVERSION

Posted: 22 Jul 2009, 15:57
by CCBlackmilk
Wombat wrote:plz no more dumb dsd remakes
It isn't a DSD remake, although it does have that generic feel. Lower ground vs higher ground. However Higher gets a 3 extra metal spots (i'll explain later). The dunes which lead to both higher and lower ground areas both have metal 2 metals spots (2 dunes) and the water in between is not of any military value for the top, but, lower can access it easily while higher ground may reach the corner waters (which are less valuable 1 metal spot, vs 3 in the water PLUS tidal is 20e on this map).

I formatted my computer, so I don't have the map anymore :( but, it was kind of needed because I need to remake it in 16x16