Page 1 of 1

Help : What's wrong with this SMD?

Posted: 02 Jan 2007, 10:16
by Vechs
Hey guys, Battlelines v02 has been done since last year, I've just never gotten the starting positions to work... what's wrong with this SMD file, I've stared at it and I must be missing something:

//Compiled by Maelstroms SMD Creator version 3.1
[MAP]
{
Description=Secure your lines, and break the enemy lines! Button up, it's cold out here now. - Vechs;
TidalStrength=20;
Gravity=120;
MaxMetal=.2;
ExtractorRadius=150;
MapHardness=1000;
AutoShowMetal=1;
[TEAM0]
{
StartPosX=500;
StartPosY=500;
}
[TEAM1]
{
StartPosX=500;
StartPosY=1500;
}
[TEAM2]
{
StartPosX=500;
StartPosY=2500;
}
[TEAM3]
{
StartPosX=500;
StartPosY=3500;
}
[TEAM4]
{
StartPosX=500;
StartPosY=4500;
}
[TEAM5]
{
StartPosX=14000;
StartPosY=500;
}
[TEAM6]
{
StartPosX=14000;
StartPosY=1500;
}
[TEAM7]
{
StartPosX=14000;
StartPosY=2500;
}
[TEAM8]
{
StartPosX=14000;
StartPosY=3500;
}
[TEAM9]
{
StartPosX=14000;
StartPosY=4500;
}
[ATMOSPHERE]
{
FogColor=0.75 0.75 0.75;
FogStart=0.5;
CloudColor=0.5 0.5 0.5;
SkyColor=0.75 0.75 0.75;
SunColor=0.75 0.75 0.75;
CloudDensity=0.5;
MinWind=3;
MaxWind=12;
}
[WATER]
{
WaterSurfaceColor=0.75 0.75 0.75;
WaterPlaneColor=0.75 0.75 0.75;
WaterBaseColor=0.5 0.5 0.5;
WaterAbsorb=0.5 0.5 0.5;
WaterMinColor=0.5 0.5 0.5;
WaterDamage=0;
}
[LIGHT]
{
SunDir=-0.008 0.989 -0.008;
GroundAmbiantColor=0.75 0.75 0.75;
GroundSunColor=0.75 0.75 0.75;
GroundShadowDensity=0.5;
UnitAmbiantColor=1 1 1;
UnitSunColor=1 1 1;
UnitShadowDensity=0.5;
SpecularSunColor=1 1 1;
}
[TERRAINTYPE0]
{
name=Default;
hardness=1;
tankmovespeed=1;
kbotmovespeed=1;
hovermovespeed=1;
shipmovespeed=1;
}

}

Posted: 02 Jan 2007, 11:14
by genblood
I see your problem .. it's you syntax " StartPosY ...
should be StartPosZ instead ..

Here is corrected version :

//Compiled by Maelstroms SMD Creator version 3.1
[MAP]
{
Description=Secure your lines, and break the enemy lines! Button up, it's cold out here now. - Vechs;
TidalStrength=20;
Gravity=120;
MaxMetal=.2;
ExtractorRadius=150;
MapHardness=1000;
AutoShowMetal=1;

[ATMOSPHERE]
{
FogColor=0.75 0.75 0.75;
FogStart=0.5;
CloudColor=0.5 0.5 0.5;
SkyColor=0.75 0.75 0.75;
SunColor=0.75 0.75 0.75;
CloudDensity=0.5;
MinWind=3;
MaxWind=12;
}
[WATER]
{
WaterSurfaceColor=0.75 0.75 0.75;
WaterPlaneColor=0.75 0.75 0.75;
WaterBaseColor=0.5 0.5 0.5;
WaterAbsorb=0.5 0.5 0.5;
WaterMinColor=0.5 0.5 0.5;
WaterDamage=0;
}
[LIGHT]
{
SunDir=-0.008 0.989 -0.008;
GroundAmbiantColor=0.75 0.75 0.75;
GroundSunColor=0.75 0.75 0.75;
GroundShadowDensity=0.5;
UnitAmbiantColor=1 1 1;
UnitSunColor=1 1 1;
UnitShadowDensity=0.5;
SpecularSunColor=1 1 1;
}

[TEAM0]
{
StartPosX=500;
StartPosZ=500;
}
[TEAM1]
{
StartPosX=500;
StartPosZ=1500;
}
[TEAM2]
{
StartPosX=500;
StartPosZ=2500;
}
[TEAM3]
{
StartPosX=500;
StartPosZ=3500;
}
[TEAM4]
{
StartPosX=500;
StartPosZ=4500;
}
[TEAM5]
{
StartPosX=14000;
StartPosZ=500;
}
[TEAM6]
{
StartPosX=14000;
StartPosZ=1500;
}
[TEAM7]
{
StartPosX=14000;
StartPosZ=2500;
}
[TEAM8]
{
StartPosX=14000;
StartPosZ=3500;
}
[TEAM9]
{
StartPosX=14000;
StartPosZ=4500;
}

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

}
There is a util to add start positions. I think it's
called startpos ..

Posted: 03 Jan 2007, 01:54
by Vechs
AHHHGGG!

All this time something so minor... anyway, thanks a bunch :)