SmfMap Type
A parsed Spring Map File (SMF). Structurally compatible with MapGrid so downstream primitives can consume either source without branching.
Record fields
| Record Field |
Description
|
Full Usage:
HeightElmos
Field type: int
|
World-space dimensions in elmos (= heightmap × 8).
|
Full Usage:
HeightHeightmap
Field type: int
|
Map dimensions in heightmap squares (1 square = 8 elmos).
|
Full Usage:
HeightMap
Field type: float32[,]
|
Corners heightmap: (WidthHeightmap+1) × (HeightHeightmap+1) float32 world heights.
|
Full Usage:
MetalMap
Field type: uint8[,]
|
Metal map (raw SMF byte values, 0-255) at half heightmap resolution.
|
Full Usage:
SlopeMap
Field type: float32[,]
|
Slope map at half heightmap resolution: (WidthHeightmap/2) × (HeightHeightmap/2).
|
Full Usage:
SourceArchive
Field type: string
|
Absolute path to the .sd7 archive the map was parsed from (diagnostics only).
|
Full Usage:
TypeMap
Field type: uint8[,]
|
Type map (terrain type indices, 0-255) at half heightmap resolution.
|
Full Usage:
WidthElmos
Field type: int
|
World-space dimensions in elmos (= heightmap × 8).
|
Full Usage:
WidthHeightmap
Field type: int
|
Map dimensions in heightmap squares (1 square = 8 elmos).
|
FSBarV1_Archived