Help understanding how to do MAP CONVERSION

Help understanding how to do MAP CONVERSION

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
CCBlackmilk
Posts: 62
Joined: 03 Jul 2009, 03:20

Help understanding how to do MAP CONVERSION

Post 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
Last edited by CCBlackmilk on 05 Jul 2009, 04:47, edited 2 times in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Help understanding how to do MAP CONVERSION

Post 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.
User avatar
CCBlackmilk
Posts: 62
Joined: 03 Jul 2009, 03:20

Re: Help understanding how to do MAP CONVERSION

Post 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...
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Help understanding how to do MAP CONVERSION

Post by lurker »

Not that smoth ever suggested removing 4.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Help understanding how to do MAP CONVERSION

Post 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.
User avatar
CCBlackmilk
Posts: 62
Joined: 03 Jul 2009, 03:20

Re: Help understanding how to do MAP CONVERSION

Post 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
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Help understanding how to do MAP CONVERSION

Post by lurker »

Code: Select all

Description=Created by [CC]BlackMilk ; A basic 1v1 skirmish allowing all different types vehicles.;
This is not tdf.
User avatar
CCBlackmilk
Posts: 62
Joined: 03 Jul 2009, 03:20

Re: Help understanding how to do MAP CONVERSION

Post 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)
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Help understanding how to do MAP CONVERSION

Post by lurker »

Don't worry about it. Just spot the error.
User avatar
CCBlackmilk
Posts: 62
Joined: 03 Jul 2009, 03:20

Re: Help understanding how to do MAP CONVERSION

Post 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!
Last edited by CCBlackmilk on 05 Jul 2009, 05:43, edited 1 time in total.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Help understanding how to do MAP CONVERSION

Post 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.;
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Help understanding how to do MAP CONVERSION

Post by lurker »

I'm sorry, the correct answer was: semicolon
But you still get a consolation prize! A basket of smoked cheeses.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Help understanding how to do MAP CONVERSION

Post by Argh »

I like smoked cheeses :mrgreen:

Oh, and I'm glad that that fixed it for ya. Have fun mapping!
User avatar
CCBlackmilk
Posts: 62
Joined: 03 Jul 2009, 03:20

Re: Help understanding how to do MAP CONVERSION

Post 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
User avatar
CCBlackmilk
Posts: 62
Joined: 03 Jul 2009, 03:20

Re: Help understanding how to do MAP CONVERSION

Post by CCBlackmilk »

Wait, how do you get minimaps working. Mine are just black :P
User avatar
Quanto042
Basically OTA Developer
Posts: 778
Joined: 22 Feb 2006, 03:01

Re: Help understanding how to do MAP CONVERSION

Post by Quanto042 »

remove minimap.dds from the compressed file, its borked. Spring will create a proper minimap in realtime anyways.
User avatar
kburts
Posts: 134
Joined: 22 Mar 2009, 00:36

Re: Help understanding how to do MAP CONVERSION

Post by kburts »

is there going to be a public release of this map?
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Help understanding how to do MAP CONVERSION

Post by Wombat »

plz no more dumb dsd remakes
User avatar
CCBlackmilk
Posts: 62
Joined: 03 Jul 2009, 03:20

Re: Help understanding how to do MAP CONVERSION

Post 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
Post Reply

Return to “Map Creation”