EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

RoadTerrain

Paved path of fixed width along an integer polyline with a limited grade.

Signature

{ base: BaseTerrain, material: MaterialId, max_grade_permille: Permille, points_mm: {{Millimeters}}, width_mm: PositiveDistance }

Fields

NameTypeMeaning
baseBaseTerrainTerrain beside the road; the road surface follows it within the grade limit.
materialMaterialIdTerrain material of the road surface.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: material
max_grade_permillePermilleLargest height change per metre along the centre line.
Range: 0…1000; Unit: permille
points_mm{{Millimeters}}Centre line as x, z points in millimetres; consecutive points differ and segments never cross.
Items: 2…256
width_mmPositiveDistanceFull road width across the centre line.
Range: 1…2147483647; Unit: mm