Mapdev:SMD: Difference between revisions

From Spring
Jump to navigationJump to search
m moved Maps:SMD to Map Making:SMD: in wrong namespace
Flozi (talk | contribs)
m Flozi moved page Map Making:SMD to Mapdev:SMD: already an Enetheru page using templates
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Map making]]
{{deprecated|Use of SMD is deprecated, use [[Map_Making:mapinfo.lua|mapinfo.lua]] instead!}}
This page should only be used when dealing with old maps. new maps use
[[Map_Making:mapinfo.lua|mapinfo.lua]]
= Spring Map Definition (smd) Reference =
= Spring Map Definition (smd) Reference =
Thing are set out in sections with all relevant information for that section contained within.
variables are organised as such:
variables are organised as such:
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">VariableName</span> [dimensions] <span style="color:#ffff88"><b>Required</b></span> : <span style="color:#999999;">Default: value</span>, Description
{{tag|range=[valid range]|special=Required}}


But I dont know whats required or not.
==Source==
 
The engine source code which reads this file from the map is viewable here:
there are <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>'s everywhere I haven't yet found information for.


==Source==
* {{sourcelink|file=rts/Map/MapInfo.cpp}}  
The engine source code which reads this file from the map is viewable here:{{sourcelink|file=rts/Map/MapInfo.cpp}} and {{sourcelink|file=rts/Map/MapParser.cpp}}
* {{sourcelink|file=rts/Map/MapParser.cpp}}


= General Formatting =
= General Formatting =
Line 94: Line 93:
}</pre></code>
}</pre></code>


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">Description</span> [string] <span style="color:#ffff88"><b>Required</b></span> : The description of the map that shows in the multiplayer battleroom.
{{tag|name=Description|type=string|special=Required
|description=The description of the map that shows in the multiplayer battleroom}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">AutoShowMetal</span> [0|1] : Default: 1, Defines wether the metal map (F4 mode) is shown automatically when a mex is queued for placement.
{{tag|name=AutoShowMetal|type=bool|range=[0|1]|default=1
|description=Defines wether the metal map (F4 mode) is shown automatically when a mex is queued for placement}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">DefaultOptions</span> [0|1] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=DefaultOptions|type=bool|range=[0|1]}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">DetailTex</span> [string]: Specifies the detail texture for the map, for examples and a library, see this sticky thread: [[http://springrts.com/phpbb/viewtopic.php?f=56&t=21565]]
{{tag|name=DetailTex|type=string|
|description=Specifies the detail texture for the map, for examples and a library, see this sticky thread: [[http://springrts.com/phpbb/viewtopic.php?f=56&t=21565]]}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">ExtractorRadius</span> [0,?] : Default: 500, The radius of effect that a single extractor will extract from. If two radii intersect, both extractors will suffer from reduced output.
{{tag|name=ExtractorRadius|type=float|range=[0-max]|default=500
|description=The radius of effect that a single extractor will extract from. If two radii intersect, both extractors will suffer from reduced output}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">Gravity</span> [?,?] : Default: 130, The force of gravity in units/sec^2
{{tag|name=Gravity|type=float|range=[0.0-max]|default=130
|description=The force of gravity in units/sec^2}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">MapHardness</span> [?,?] : Default: 100, Defines how much a map will deform from impacts. Higher values mean less deformation, negative values will result in negative deformation (really funny looking)
{{tag|name=MapHardness|type=float|default=100
|description=Defines how much a map will deform from impacts. Higher values mean less deformation, negative values will result in negative deformation (really funny looking)}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">MaxMetal</span> [0,?] : Default: 0.02, How much metal a map square with the maximum metal value gives.
{{tag|name=MaxMetal|type=float|range=[0.0-max]|default=0.02
|description=How much metal a map square with the maximum metal value gives}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">TidalStrength</span> [0,?] : Default: 0, The amount of energy which will be given by tidal generators.
{{tag|name=TidalStrength|type=float|range=[0,max]|default=0
|description=The amount of energy which will be given by tidal generators}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">voidwater</span> [0|1]: Default: 0, Voidwater means there will be no water plane, and all parts of the map under water will be completely transparent, to show the skybox through the map. For example, check Apophis_v2 : http://springrts.com/phpbb/viewtopic.php?f=13&t=20684&hilit=apophis
{{tag|name=voidwater|type=bool|range=[0|1]|default=0
|description=Voidwater means there will be no water plane, and all parts of the map under water will be completely transparent, to show the skybox through the map. For example, check Apophis_v2 : http://springrts.com/phpbb/viewtopic.php?f=13&t=20684&hilit=apophis}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">notdeformable</span> [0|1]: Default: 0, Setting it to 1 means that no explosions can deform the map.
{{tag|name=notdeformable|type=bool|range=[0|1]|default=0
|description=Setting it to 1 means that no explosions can deform the map}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SpecularTex</span> [string]: <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=SpecularTex|type=string}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SplatDistrTex</span> [string]: <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=SplatDistrTex|type=string}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SplatDetailTex</span> [string]: <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=SplatDetailTex|type=string}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GrassBladeTex</span> [string]: Specifies the texture to be used on the grass blades themselves. Green-yellow gradients make for some interesting effects. Defaults to the internally generated blade texture.
{{tag|name=GrassBladeTex|type=string
|description=Specifies the texture to be used on the grass blades themselves. Green-yellow gradients make for some interesting effects. Defaults to the internally generated blade texture}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GrassShadingTex</span> [string]: Specifies the color variation of the grass across the map. This defaults to the minimap, so the grass color can match the map color.
{{tag|name=GrassShadingTex|type=string
|description=Specifies the color variation of the grass across the map. This defaults to the minimap, so the grass color can match the map color}}


== SMF ==
== SMF ==
Line 137: Line 148:
   ...
   ...
}</pre></code>
}</pre></code>
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">MinHeight</span> [-?,?] : Overrides the minimum map height specified while compiling. Compile time height used if undefined
{{tag|name=MinHeight|type=float|default=0
|description=Overrides the minimum map height specified while compiling. Compile time height used if undefined}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">MaxHeight</span> [-?,?] : Overrides the maximum map height specified while compiling. Compile time height used if undefined
{{tag|name=MaxHeight|type=float|default=0
|description=Overrides the maximum map height specified while compiling. Compile time height used if undefined}}




Line 160: Line 173:
   ...
   ...
}</pre></code>
}</pre></code>
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">CloudColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 1.0 1.0 1.0, The color of the clouds. The values are in the order Red, Green, Blue.
{{tag|name=CloudColor|type=rgb|default=1.0 1.0 1.0
|description=The color of the clouds. The values are in the order Red, Green, Blue}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">CloudDensity</span> [0.0,1.0]: Default: 0.5, The number of clouds in the sky. A percentage in decimal form, 0.0 to 1.0.
{{tag|name=CloudDensity|type=float|range=[0.0-max]|default=0.5
|description=The number of clouds in the sky. A percentage in decimal form, 0.0 to 1.0.}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">FogColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 0.7 0.7 0.8, The color of the fog and the infinite plane below the world. The values are in the order Red, Green, Blue. However, giving values higher than 1.0 will give brighter fog and less than 0.0 will give darker.
{{tag|name=FogColor|type=rgb|default=0.7 0.7 0.8
|description=The color of the fog and the infinite plane below the world. The values are in the order Red, Green, Blue. However, giving values higher than 1.0 will give brighter fog and less than 0.0 will give darker}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">FogStart</span> [0.0,?]: Default: 0.1, The distance from the camera at which the fog will start.
{{tag|name=FogStart|type=float|default=0.1
|description=The distance from the camera at which the fog will start}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">MinWind</span> [0.0,?]: Default: 5.0, The minimum amount of energy the wind on the map will give.
{{tag|name=MinWind|type=float|range=[0.0-max]|default=5.0
|description=The minimum amount of energy the wind on the map will give}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">MaxWind</span> [0.0,?]: Default: 25.0, The maximum amount of energy the wind on the map will give.
{{tag|name=MaxWind|type=float|range=[0.0-max]|default=25.0
|description=The maximum amount of energy the wind on the map will give}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SkyBox</span> [string]: Specify a .dds skybox (also called skycube) for examples and resources see: [[http://springrts.com/phpbb/viewtopic.php?f=56&t=11009]]
{{tag|name=SkyBox|type=string
|description=Specify a .dds skybox (also called skycube) for examples and resources see: [[http://springrts.com/phpbb/viewtopic.php?f=56&t=11009]]}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SkyColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 0.1 0.15 0.7, The color of the sky itself. The values are in the order Red, Green, Blue.
{{tag|name=SkyColor|type=rgb|default=0.1 0.15 0.7
|description=The color of the sky itself. The values are in the order Red, Green, Blue}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SunColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 1 1 1 , The color of the sun in the sky. The values are in the order Red, Green, Blue. This will also effect the size of the star. As the values increase (including over 1.0), the disc will get bigger; the inverse is also true.
{{tag|name=SunColor|type=rgb|default=1 1 1
|description=The color of the sun in the sky. The values are in the order Red, Green, Blue. This will also effect the size of the star. As the values increase (including over 1.0), the disc will get bigger; the inverse is also true}}


== LIGHT ==
== LIGHT ==
Line 196: Line 218:
   ...
   ...
}</pre></code>
}</pre></code>
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GroundAmbientColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 0.5 0.5 0.5, The ambient (non-sun-lit) color of ground, grass, trees and other features. The values are in the order Red, Green, Blue.
{{tag|name=GroundAmbientColor|type=rgb|default=0.5 0.5 0.5
|description=The ambient (non-sun-lit) color of ground, grass, trees and other features. The values are in the order Red, Green, Blue}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GroundSunColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, The color of ground where it is fully sun lit (added to GroundAmbientColor). The values are in the order Red, Green, Blue.
{{tag|name=GroundSunColor|type=rgb|default=0.5 0.5 0.5
|description=The color of ground where it is fully sun lit (added to GroundAmbientColor). The values are in the order Red, Green, Blue}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GroundShadowDensity</span> [?,?]: Default:0.8, How far from the non shadowed to the ambient color stuff in shadow will go.
{{tag|name=GroundShadowDensity|type=float|default=0.8
|description=How far from the non shadowed to the ambient color stuff in shadow will go}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GroundSpecularColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 0.1 0.1 0.1, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=GroundSpecularColor|type=rgb|default=0.1 0.1 0.1}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">UnitAmbientColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 0.4 0.4 0.4, The ambient (non-sun-lit) color of units and corpses. The values are in the order Red, Green, Blue.
{{tag|name=UnitAmbientColor|type=rgb|default=0.4 0.4 0.4
|description=The ambient (non-sun-lit) color of units and corpses. The values are in the order Red, Green, Blue}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">UnitSunColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, The color of units where they is fully sun lit (added to UnitAmbientColor). The color of units where they is fully sun lit (added to UnitAmbientColor). The values are in the order Red, Green, Blue.
{{tag|name=UnitSunColor|type=rgb
|description=The color of units where they is fully sun lit (added to UnitAmbientColor). The color of units where they is fully sun lit (added to UnitAmbientColor). The values are in the order Red, Green, Blue}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">UnitShadowDensity</span> [?,?]: Default: 0.8, How far from the non shadowed to the ambient color stuff in shadow will go.
{{tag|name=UnitShadowDensity|type=float|default=0.8
|description=How far from the non shadowed to the ambient color stuff in shadow will go}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">UnitSpecularColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 0.7 0.7 0.7, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=UnitSpecularColor|type=rgb|default=0.7 0.7 0.7}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SunDir</span> [-1.0,1.0] [-1.0,1.0] [-1.0,1.0] : Default: 0.0 1.0 2.0, The direction of the sun, which is normalized by Spring. The Y-axis is up.
{{tag|name=SunDir|type=float[3]||default=0.0 1.0 2.0
|description=The direction of the sun, which is normalized by Spring. The Y-axis is up}}


== WATER ==
== WATER ==
Line 248: Line 277:
   ...
   ...
}</pre></code>
}</pre></code>
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterSurfaceColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0]: Default: 0.75 0.8 0.85, The color of the water surface. The values are in the order Red, Green, Blue. Mostly affects the colors of the reflections off the top of the water. Has no effect on bump mapped water!
{{tag|name=WaterSurfaceColor|type=rgb|default=0.75 0.8 0.85
|description=The color of the water surface. The values are in the order Red, Green, Blue. Mostly affects the colors of the reflections off the top of the water. Has no effect on bump mapped water!}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterBaseColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0]: Default: 0.0 0.0 0.0, The color of the water just beneath the surface plane. This is the starting color from which deeper waters will absorb more color. The values are in the order Red, Green, Blue.
{{tag|name=WaterBaseColor|type=rgb|default=0.0 0.0 0.0
|description=The color of the water just beneath the surface plane. This is the starting color from which deeper waters will absorb more color. The values are in the order Red, Green, Blue}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterAbsorb</span> [0.0,?] [0.0,?] [0.0,?]: Default:0.0 0.0 0.0, How fast different colors (RGB in order) are absorbed by the water. Can be used to make the water look murky at deeper sections and so on. How this works: the waterabsorb value for the color channel gets multiplied by the depth of the water at a point, and this product gets subtracted from WaterBaseColor, until WaterMinColor is reached. Example: WaterAbsorb is 0.01, for the red channel, and we want to know how much red will be left in the water at a Spring elevation of -100, since 0.01*100= 1 , at this depth, there will be no more red component in the water, unless WaterMinColor is higher than 0 on the red channel.
{{tag|name=WaterAbsorb|type=rgb|default=0.0 0.0 0.0
|description=How fast different colors (RGB in order) are absorbed by the water. Can be used to make the water look murky at deeper sections and so on. How this works: the waterabsorb value for the color channel gets multiplied by the depth of the water at a point, and this product gets subtracted from WaterBaseColor, until WaterMinColor is reached. Example: WaterAbsorb is 0.01, for the red channel, and we want to know how much red will be left in the water at a Spring elevation of -100, since 0.01*100= 1 , at this depth, there will be no more red component in the water, unless WaterMinColor is higher than 0 on the red channel}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterMinColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0]: Default: 0.0 0.0 0.0, The smallest values the water will go down to due to WaterAbsorb.
{{tag|name=WaterMinColor|type=rgb|default=0.0 0.0 0.0
|description=The smallest values the water will go down to due to WaterAbsorb}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterPlaneColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0]: Default: 0.0 0.4 0.0, This set the color of the groundplane under the water outside the map boundaries
{{tag|name=WaterPlaneColor|type=rgb|default=0.0 0.4 0.0
|description=This set the color of the groundplane under the water outside the map boundaries}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterDamage</span> [?,?] : Default: 0.0, Number of hit points per game frame (30 frames per second) a unit will be damaged if it is in the water.
{{tag|name=WaterDamage|type=float|default=0.0
|description=Number of hit points per game frame (30 frames per second) a unit will be damaged if it is in the water}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterSurfaceAlpha</span> [0.0,1.0]: Default:0.55, Transparency of the water surface. 0 meaning almost fully transparent water plane(low amount of reflections visible), and 1 being nearly opaque (massive amount of reflections).
{{tag|name=WaterSurfaceAlpha|type=float|default=0.55
|description=Transparency of the water surface. 0 meaning almost fully transparent water plane(low amount of reflections visible), and 1 being nearly opaque (massive amount of reflections)}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterDiffuseColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, This specifies the diffuse color of the water body. WARNING: use of this tag disables the effect of WaterAbsorb , in fact, this tag does nothing but disable WaterAbsorb. Avoid.
{{tag|name=WaterDiffuseColor|type=rgb
|description=This specifies the diffuse color of the water body. WARNING: use of this tag disables the effect of WaterAbsorb , in fact, this tag does nothing but disable WaterAbsorb. Avoid}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterSpecularColor</span> [0.0,1.0] [0.0,1.0] [0.0,1.0] : Default: 0.5 0.5 0.5, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=WaterSpecularColor|type=rgb|default=0.5 0.5 0.5}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterSpecularPower</span> [?,?] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, use of this tag disables the effect of WaterAbsorb.
{{tag|name=WaterSpecularPower|type=float|default=20
|description=use of this tag disables the effect of WaterAbsorb}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterSpecularFactor</span> [?,?] : Default: 20, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=WaterSpecularFactor|type=float|default=1.0}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterAmbientFactor</span> [?,?] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=WaterAmbientFactor|type=float|default=1.0}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterDiffuseFactor</span> [?,?] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=WaterDiffuseFactor|type=float|default=1.0}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterFresnelMin</span> [?,?] : Default: 0.2, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=WaterFresnelMin|type=float|default=0.2}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterFresnelMax</span> [?,?] : Default: 0.3, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=WaterFresnelMax|type=float|default=0.3}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterFresnelPower</span> [?,?] : Default: 4.0, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=WaterFresnelPower|type=float|default=4.0}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterReflectionDistortion</span> [0,?] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, How much the surface should distort reflections that are cause by waves not being level: ergo it adds more choppyness to your reflections sensible from 0 to 20
{{tag|name=WaterReflectionDistortion|type=float|default=1.0
|description=How much the surface should distort reflections that are cause by waves not being level: ergo it adds more choppyness to your reflections sensible from 0 to 20}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterBlurBase</span> [?,?] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, Something to do with blur, but it just seems to cause banding with values under 2 and corruption with values above 10
{{tag|name=WaterBlurBase|type=float|default=2.0
|description=Something to do with blur, but it just seems to cause banding with values under 2 and corruption with values above 10}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterBlurExponent</span> [0,?]: Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, How much reflections on water surface should be blurred together with the water surface, lower values meaning clearer reflections, (0.2-5) Warning: above 5 seems to cause water corruption
{{tag|name=WaterBlurExponent|type=float|default=1.5
|description=How much reflections on water surface should be blurred together with the water surface, lower values meaning clearer reflections, (0.2-5) Warning: above 5 seems to cause water corruption}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterPerlinStartFreq</span> [0,?] : Default:<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>, Wave sizes, smaller = big waves, sensible: [1,20] (influence the wave sizes) default=8
{{tag|name=WaterPerlinStartFreq|type=float|default=8
|description=Wave sizes, smaller = big waves, sensible: [1,20] (influence the wave sizes)}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterPerlinLacunarity</span> [0.0,?] : Default:2 Defines the size of the perlin waves, small values being big waves ([0.2,5] is sensible) default= 3
{{tag|name=WaterPerlinLacunarity|type=float||default:3.0
|description=Defines the size of the perlin waves, small values being big waves ([0.2,5] is sensible)}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">WaterPerlinAmplitude</span> [0.0,?] : Default:0.9, Base stillness of water surface, 0 is dead still, 1 is 'windy' .This doesnt affect the bump texture depth, besides the fact that this disables the bump texture when set to 0
{{tag|name=WaterPerlinAmplitude|type=float|default:0.9
 
|description=Base stillness of water surface, 0 is dead still, 1 is 'windy' .This doesnt affect the bump texture depth, besides the fact that this disables the bump texture when set to 0}}
 
Dont know if they have relevant options but there is also these options in the defaults.
* texture: Specifies the basic water (water 0) texture. Unzip the bitmaps.sdz file of spring in spring/base to see an example for caustics. Or unzip the map Mercury_v1.sd7 for an example.
* foamtexture: Specifies the texture of the shore waves. Unzip the bitmaps.sdz file of spring in spring/base to see an example.
* normaltexture: Specifies a normal map for bump water. Unzip the bitmaps.sdz file of spring in spring/base to see an example
* caustics : Specifies a sequence of images that shallow waters will have to model surface wave distortion of lighting on the water floor. Unzip the bitmaps.sdz file of spring in spring/base to see an example for caustics. If the images are called caustic0**.bmp, put watercaustics=caustic; in the SMD
* repeatx: These two specify the tile resulotion of the 'watertexture' smd tag
* repeaty


== TEAMx ==
== TEAMx ==
Line 321: Line 356:
   ...
   ...
}</pre></code>
}</pre></code>
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">StartPosX</span> [0,map width]: The X (east-west in the TA camera) coordinates on the map where the player will start.
{{tag|name=StartPosX|type=int|range=[0-map width]|
|description=The X (east-west in the TA camera) coordinates on the map where the player will start}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">StartPosZ</span> [0,map length]: The Z (north-south in the TA camera) coordinates on the map where the player will start.
{{tag|name=StartPosZ|type=int|range=[0-map length]
|description=The Z (north-south in the TA camera) coordinates on the map where the player will start}}


== TERRAINTYPEx ==
== TERRAINTYPEx ==
Line 350: Line 387:
   ...
   ...
}</pre></code>
}</pre></code>
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">name</span> [string] : A label for the terrain type.
{{tag|name=name|type=string
|description=A label for the terrain type}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">hardness</span> [0.0,?] : Default : 1.0, Used as a multiplier against the [MAP].MapHardness value. Can be used to make a particular terrain type softer or harder. A value of '1' will make it as hard as MapHardness, and 0.5 will make it half as hard.
{{tag|name=hardness|type=float|range=[0.001-max]|default=1.0
|description=Used as a multiplier against the [MAP].MapHardness value. Can be used to make a particular terrain type softer or harder. A value of '1' will make it as hard as MapHardness, and 0.5 will make it half as hard}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">recievetracks</span> [0|1] : Default: 1, Effects whether track decals will be placed on the ground from moving vehicles.
{{tag|name=recievetracks|type=bool|range=[0|1]|default=1
|description=Effects whether track decals will be placed on the ground from moving vehicles}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">tankmovespeed</span>  [0.0,2.0] : Default: 1.0, Speed multiplier for tanks when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type. '''All move speeds are clamped to [0,2]'''
{{tag|name=tankmovespeed|type=float|default=1.0
|description=Speed multiplier for tanks when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type. '''All move speeds are clamped to [0,2]'''}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">kbotmovespeed</span> [0.0,2.0] : Default: 1.0, Speed multiplier for Kbots when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type.
{{tag|name=kbotmovespeed|type=float|default=1.0
|description=Speed multiplier for Kbots when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">hovermovespeed</span> [0.0,2.0] : Default: 1.0, Speed multiplier for hovercraft when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type.
{{tag|name=hovermovespeed|type=float|default=1.0
|description=Speed multiplier for hovercraft when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">shipmovespeed</span> [0.0,2.0] : Default: 1.0, Speed multiplier for Ship when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type.
{{tag|name=shipmovespeed|type=float|default=1.0
|description=Speed multiplier for Ship when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type}}


== GRASS ==
== GRASS ==
[[Gras_on_maps| Page]] about the grass feature in maps
<code><pre>[MAP]
<code><pre>[MAP]
{
{
Line 378: Line 421:
   ...
   ...
}</pre></code>
}</pre></code>
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GrassBladeWaveScale</span> [<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>] : Default: 1, Specifies how much the wind should effect grass blade movement, as well as the amplitude of the grass motion. Setting it to 0 will stop grass animation.
{{tag|name=GrassBladeWaveScale|type=float|default=1.0
|description=Specifies how much the wind should effect grass blade movement, as well as the amplitude of the grass motion. Setting it to 0 will stop grass animation}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GrassBladeWidth</span> [<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>] : Default: 0.32, Specifies the width of each blade of grass
{{tag|name=GrassBladeWidth|type=float|default=0.32
|description=Specifies the width of each blade of grass}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GrassBladeHeight</span> [<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>] : Default 4, Specifies the length of each blade of grass
{{tag|name=GrassBladeHeight|type=float|default=4.0
|description=Specifies the length of each blade of grass}}


; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">GrassBladeAngle</span> [<span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>] : Default 1.57, Unit is radians. Specifies the curvature of each blade of grass. Zero means a completely straight blades of grass.
{{tag|name=GrassBladeAngle|type=float|default=1.57
|description=Unit is radians. Specifies the curvature of each blade of grass. Zero means a completely straight blades of grass}}


== SPLATS ==
== SPLATS ==
Line 397: Line 444:
   ...
   ...
}</pre></code>
}</pre></code>
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SplatTexScales</span> [?] : <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>
{{tag|name=SplatTexScales|type=float[3]}}
 
; <span style="color:#cccccc;text-shadow: #111 2px 2px 2px;">SplatTexMults</span> [?] : <span style="background: #000000; color:#FFFF00"><b>FIXME</b></span>


== Exampe ==
{{tag|name=SplatTexMults|type=float[3]}}
--add some file that can be c&p into new maps.
[[Category:Map Dev]]

Latest revision as of 09:57, 19 October 2014

Use of SMD is deprecated, use mapinfo.lua instead!


This page should only be used when dealing with old maps. new maps use mapinfo.lua

Spring Map Definition (smd) Reference

variables are organised as such: type name  default: ? range: [valid range] Required

FIXME:

Source

The engine source code which reads this file from the map is viewable here:

General Formatting

  • All lines must end in a semicolon.
  • Sections begin with a keyword wrapped in square brackets, and are wrapped in curly brackets
  • Blank lines are allowed
  • Comments are preceded by // anything following a comment marker is ignored
  • Whitespace is ignored so you can tabulate your SMD to help the overall readability, and to show where sections begin and end.
  • The names are not case sensitive
// Example (this is a comment)
[MAP]
{
   ...
   // this is a comment
   [subsection]
   {
      ...
      ThisIsAValue = something;
      AnotherValue = somethingelse; // another comment
      ...
   }
   ...
}

Sections

MAP

The map section describes the basic options of the map.

[MAP]
{
   // properties
   Description = "mountainous whatever";
   AutoShowMetal = 1;
   DefaultOptions = 1;
   DetailTex = detailtex.bmp;
   ExtractorRadius = 400;
   Gravity = 130;
   MapHardness = 100;
   MaxMetal = 0.03;
   TidalStrength = 20;
   voidwater = 0;
   notdeformable = 0;
   SpecularTex = speculartex.tga;
   SplatDistrTex = splatdist.tga;
   SplatDetailTex = splattex.tga;
   GrassBladeTex = grassbladetex.tga;
   GrassShadingTex = grassshading.bmp;

   // subsections
   [SMF]
   {
      ...
   }
   [ATMOSPHERE]
   {
      ...
   }
   [WATER]
   {
      ...
   }
   [LIGHT]
   {
      ...
   }
   [TEAMx]
   {
      ...
   }
   [TERRAINTYPEx]
   {
      ...
   }
   [GRASS]
   {
      ...
   }
   [SPLATS]
   {
      ...
   }
}

string Description  default: ? Required

The description of the map that shows in the multiplayer battleroom

bool AutoShowMetal  default: 1 range: [0 

Defines wether the metal map (F4 mode) is shown automatically when a mex is queued for placement

bool DefaultOptions  default: ? range: [0 

FIXME:

string DetailTex  default: ? 

Specifies the detail texture for the map, for examples and a library, see this sticky thread: [[1]]

float ExtractorRadius  default: 500 range: [0-max] 

The radius of effect that a single extractor will extract from. If two radii intersect, both extractors will suffer from reduced output

float Gravity  default: 130 range: [0.0-max] 

The force of gravity in units/sec^2

float MapHardness  default: 100 

Defines how much a map will deform from impacts. Higher values mean less deformation, negative values will result in negative deformation (really funny looking)

float MaxMetal  default: 0.02 range: [0.0-max] 

How much metal a map square with the maximum metal value gives

float TidalStrength  default: 0 range: [0,max] 

The amount of energy which will be given by tidal generators

bool voidwater  default: 0 range: [0 

Voidwater means there will be no water plane, and all parts of the map under water will be completely transparent, to show the skybox through the map. For example, check Apophis_v2 : http://springrts.com/phpbb/viewtopic.php?f=13&t=20684&hilit=apophis

bool notdeformable  default: 0 range: [0 

Setting it to 1 means that no explosions can deform the map

string SpecularTex  default: ? 

FIXME:

string SplatDistrTex  default: ? 

FIXME:

string SplatDetailTex  default: ? 

FIXME:

string GrassBladeTex  default: ? 

Specifies the texture to be used on the grass blades themselves. Green-yellow gradients make for some interesting effects. Defaults to the internally generated blade texture

string GrassShadingTex  default: ? 

Specifies the color variation of the grass across the map. This defaults to the minimap, so the grass color can match the map color

SMF

[MAP]
{
   ...
   [SMF]
   {
      MinHeight = -100;
      MaxHeight = 100;
   }
   ...
}

float MinHeight  default: 0 

Overrides the minimum map height specified while compiling. Compile time height used if undefined

float MaxHeight  default: 0 

Overrides the maximum map height specified while compiling. Compile time height used if undefined


ATMOSPHERE

[MAP]
{
   ...
   [ATMOSPHERE]
   {
      CloudColor = 0.9 0.9 0.9;
      CloudDensity = 0.25;
      FogColor = 0.7 0.7 0.8;
      FogStart = 0.48;
      MinWind = 1;
      MaxWind = 25;
      SkyBox = nebulus.dds;
      SkyColor = 0.1 0.15 0.7;
      SunColor = 1.0 1.0 1.0;
   }
   ...
}

rgb CloudColor  default: 1.0 1.0 1.0 

The color of the clouds. The values are in the order Red, Green, Blue

float CloudDensity  default: 0.5 range: [0.0-max] 

The number of clouds in the sky. A percentage in decimal form, 0.0 to 1.0.

rgb FogColor  default: 0.7 0.7 0.8 

The color of the fog and the infinite plane below the world. The values are in the order Red, Green, Blue. However, giving values higher than 1.0 will give brighter fog and less than 0.0 will give darker

float FogStart  default: 0.1 

The distance from the camera at which the fog will start

float MinWind  default: 5.0 range: [0.0-max] 

The minimum amount of energy the wind on the map will give

float MaxWind  default: 25.0 range: [0.0-max] 

The maximum amount of energy the wind on the map will give

string SkyBox  default: ? 

Specify a .dds skybox (also called skycube) for examples and resources see: [[2]]

rgb SkyColor  default: 0.1 0.15 0.7 

The color of the sky itself. The values are in the order Red, Green, Blue

rgb SunColor  default: 1 1 1 

The color of the sun in the sky. The values are in the order Red, Green, Blue. This will also effect the size of the star. As the values increase (including over 1.0), the disc will get bigger; the inverse is also true

LIGHT

[MAP]
{
   ...
   [LIGHT]
   {
      GroundAmbientColor=0.6 0.6 0.6;
      GroundSunColor=0.9 0.9 0.9;
      GroundShadowDensity=0.6;
      GroundSpecularColor=0 0 0;
      UnitAmbientColor=0.6 0.6 0.6;
      UnitSunColor=0.93 0.93 0.93;
      UnitShadowDensity=0.8;
      UnitSpecularColor=0 0 0;
      SunDir=2 1 1;
   }
   ...
}

rgb GroundAmbientColor  default: 0.5 0.5 0.5 

The ambient (non-sun-lit) color of ground, grass, trees and other features. The values are in the order Red, Green, Blue

rgb GroundSunColor  default: 0.5 0.5 0.5 

The color of ground where it is fully sun lit (added to GroundAmbientColor). The values are in the order Red, Green, Blue

float GroundShadowDensity  default: 0.8 

How far from the non shadowed to the ambient color stuff in shadow will go

rgb GroundSpecularColor  default: 0.1 0.1 0.1 

FIXME:

rgb UnitAmbientColor  default: 0.4 0.4 0.4 

The ambient (non-sun-lit) color of units and corpses. The values are in the order Red, Green, Blue

rgb UnitSunColor  default: ? 

The color of units where they is fully sun lit (added to UnitAmbientColor). The color of units where they is fully sun lit (added to UnitAmbientColor). The values are in the order Red, Green, Blue

float UnitShadowDensity  default: 0.8 

How far from the non shadowed to the ambient color stuff in shadow will go

rgb UnitSpecularColor  default: 0.7 0.7 0.7 

FIXME:

float[3] SunDir  default: 0.0 1.0 2.0 

The direction of the sun, which is normalized by Spring. The Y-axis is up

WATER

[MAP]
{
   ...
   [WATER]
   {
      // basic options
      WaterSurfaceColor=0.3 0.3 0.4;
      WaterBaseColor=0.4 0.6 0.8;
      WaterAbsorb=0.004 0.004 0.002;
      WaterMinColor=0.1 0.1 0.3;
      WaterPlaneColor= 0.1 0.1 0.3;
      WaterDamage=0;

      // bump mapped Water Settings
      WaterSurfaceAlpha = 0.55;
      WaterDiffuseColor = 0.55 0.4 0.3;
      WaterSpecularColor = 0.55 0.4 0.3;
      WaterSpecularPower = 2.0;
      WaterSpecularFactor = 0.3;
      WaterAmbientFactor = 1.3;
      WaterDiffuseFactor = 0.3;
      WaterFresnelMin = 0.3;
      WaterFresnelMax = 0.8;
      WaterFresnelPower = 4;
      WaterReflectionDistortion = 0.1;
      WaterBlurBase = 2;
      WaterBlurExponent = 2;
      WaterPerlinStartFreq = 8;
      WaterPerlinLacunarity = 3;
      WaterPerlinAmplitude= 0.9
   }
   ...
}

rgb WaterSurfaceColor  default: 0.75 0.8 0.85 

The color of the water surface. The values are in the order Red, Green, Blue. Mostly affects the colors of the reflections off the top of the water. Has no effect on bump mapped water!

rgb WaterBaseColor  default: 0.0 0.0 0.0 

The color of the water just beneath the surface plane. This is the starting color from which deeper waters will absorb more color. The values are in the order Red, Green, Blue

rgb WaterAbsorb  default: 0.0 0.0 0.0 

How fast different colors (RGB in order) are absorbed by the water. Can be used to make the water look murky at deeper sections and so on. How this works: the waterabsorb value for the color channel gets multiplied by the depth of the water at a point, and this product gets subtracted from WaterBaseColor, until WaterMinColor is reached. Example: WaterAbsorb is 0.01, for the red channel, and we want to know how much red will be left in the water at a Spring elevation of -100, since 0.01*100= 1 , at this depth, there will be no more red component in the water, unless WaterMinColor is higher than 0 on the red channel

rgb WaterMinColor  default: 0.0 0.0 0.0 

The smallest values the water will go down to due to WaterAbsorb

rgb WaterPlaneColor  default: 0.0 0.4 0.0 

This set the color of the groundplane under the water outside the map boundaries

float WaterDamage  default: 0.0 

Number of hit points per game frame (30 frames per second) a unit will be damaged if it is in the water

float WaterSurfaceAlpha  default: 0.55 

Transparency of the water surface. 0 meaning almost fully transparent water plane(low amount of reflections visible), and 1 being nearly opaque (massive amount of reflections)

rgb WaterDiffuseColor  default: ? 

This specifies the diffuse color of the water body. WARNING: use of this tag disables the effect of WaterAbsorb , in fact, this tag does nothing but disable WaterAbsorb. Avoid

rgb WaterSpecularColor  default: 0.5 0.5 0.5 

FIXME:

float WaterSpecularPower  default: 20 

use of this tag disables the effect of WaterAbsorb

float WaterSpecularFactor  default: 1.0 

FIXME:

float WaterAmbientFactor  default: 1.0 

FIXME:

float WaterDiffuseFactor  default: 1.0 

FIXME:

float WaterFresnelMin  default: 0.2 

FIXME:

float WaterFresnelMax  default: 0.3 

FIXME:

float WaterFresnelPower  default: 4.0 

FIXME:

float WaterReflectionDistortion  default: 1.0 

How much the surface should distort reflections that are cause by waves not being level: ergo it adds more choppyness to your reflections sensible from 0 to 20

float WaterBlurBase  default: 2.0 

Something to do with blur, but it just seems to cause banding with values under 2 and corruption with values above 10

float WaterBlurExponent  default: 1.5 

How much reflections on water surface should be blurred together with the water surface, lower values meaning clearer reflections, (0.2-5) Warning: above 5 seems to cause water corruption

float WaterPerlinStartFreq  default: 8 

Wave sizes, smaller = big waves, sensible: [1,20] (influence the wave sizes)

float WaterPerlinLacunarity  default: ? 

Defines the size of the perlin waves, small values being big waves ([0.2,5] is sensible)

float WaterPerlinAmplitude  default: ? 

Base stillness of water surface, 0 is dead still, 1 is 'windy' .This doesnt affect the bump texture depth, besides the fact that this disables the bump texture when set to 0

TEAMx

Is used to describe the starting positions of the players.

[MAP]
{
   ...
   [TEAM0]
   {
      StartPosX=730;
      StartPosZ=821;
   }
   [TEAM1]
   {
      ...
   }
   [TEAMn]
   {
       ...
   }
   ...
}

int StartPosX  default: ? range: [0-map width] 

The X (east-west in the TA camera) coordinates on the map where the player will start

int StartPosZ  default: ? range: [0-map length] 

The Z (north-south in the TA camera) coordinates on the map where the player will start

TERRAINTYPEx

Used to define different terrain types that exist on the map. The value starts at 0 and goes on for as many terrain types as you have, where X is the type number. Which terrain type goes where on the map is determined by the typemap when compiling the map. For example, if the typemap has an area of red 128, then the corresponding terraintype tag is [TERRAINTYPE128]

[MAP]
{
   ...
   [TERRAINTYPE0]
   {
      name = my terrain type;
      hardness = 1;
      recievetracks = 0;
      tankmovespeed = 1;
      kbotmovespeed = 1;
      hovermovespeed = 1;
      shipmovespeed = 1;
   }
   [TERRAINTYPE1]
   {
      ...
   }
   [TERRAINTYPEn]
   {
      ...
   }
   ...
}

string name  default: ? 

A label for the terrain type

float hardness  default: 1.0 range: [0.001-max] 

Used as a multiplier against the [MAP].MapHardness value. Can be used to make a particular terrain type softer or harder. A value of '1' will make it as hard as MapHardness, and 0.5 will make it half as hard

bool recievetracks  default: 1 range: [0 

Effects whether track decals will be placed on the ground from moving vehicles

float tankmovespeed  default: 1.0 

Speed multiplier for tanks when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type. All move speeds are clamped to [0,2]

float kbotmovespeed  default: 1.0 

Speed multiplier for Kbots when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type

float hovermovespeed  default: 1.0 

Speed multiplier for hovercraft when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type

float shipmovespeed  default: 1.0 

Speed multiplier for Ship when travelling on the parent terrain type. A value of '1' is normal speed, 0.5 will make them travel at half speed on the parent terrain type

GRASS

[MAP]
{
   ...
   [GRASS]
   {
      GrassBladeWaveScale = 1.0;
      GrassBladeWidth = 0.32;
      GrassBladeHeight = 4;
      GrassBladeAngle = 1.57;
   }
   ...
}

float GrassBladeWaveScale  default: 1.0 

Specifies how much the wind should effect grass blade movement, as well as the amplitude of the grass motion. Setting it to 0 will stop grass animation

float GrassBladeWidth  default: 0.32 

Specifies the width of each blade of grass

float GrassBladeHeight  default: 4.0 

Specifies the length of each blade of grass

float GrassBladeAngle  default: 1.57 

Unit is radians. Specifies the curvature of each blade of grass. Zero means a completely straight blades of grass

SPLATS

[MAP]
{
   ...
   [SPLATS]
   {
      SplatTexScales = 1.0 1.0 1.0 1.0;
      SplatTexMults = 1.0 1.0 1.0 1.0;
   }
   ...
}

float[3] SplatTexScales  default: ? 

FIXME:

float[3] SplatTexMults  default: ? 

FIXME: