Yaml Files

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /home/.sites/763/site811/web/EPD/EPDWiki/includes/parser/Preprocessor_DOM.php on line 845
From EPDWiki
Jump to: navigation, search

General[edit]

Yaml files are basically text files that use spaces to organize the code in them. So placing spaces accordingly is extremely important. One wrongly placed space can and will make the yaml file unreadable by Empyrion.

Wikipedia article on yamls

Snippet[edit]

Example snippet of a yaml file created with EPD:

# --------------------------------------------------------------------------------------------------------------------------
# Created by EPD v1.55.0.0, Playfield Version: 8.0.5 [1666] (Alpha EXPERIMENTAL 8.0 - Release Candidate 1)
# --------------------------------------------------------------------------------------------------------------------------
#
Seed: 407407
PlanetSize: 4
PlanetAxis: 4.7880940000000001
TemperatureMinMax: [-3, 45]
TemperatureNight: 12
HumidityMinMax: [0.108704, 0.6994219]
SeaLevel: 38
TerrainLevel: 130
BaseLevel: 0
LandWaterRatio: 0.1340295
TemperatureHeightRange: [30, 100]
TemperatureGradientRange: [0.55, 0]
TemperatureNoiseFac: 0.75
HumidityHeightFac: [0, 270]
HumidityNoiseFac: 0.90000000000000002
Gravity: -10.94
AtmosphereDensity: 0.90000000000000002
AtmosphereBreathable: True
AtmosphereO2: 0.20000000000000001
Water: WaterGreen
Music: Hyperion
TerrainHeightMapMax: 490
HumidityMasks:
- Global_1, 0.125
- Global_1a, 0.125
- Global_2, 0.125
- Global_2a, 0.125
- Global_3, 0.125
- Global_3a, 0.125
- Global_4, 0.125
- Global_4a, 0.125
TemperatureMasks:
- Global_1, 0.125
- Global_1a, 0.125
- Global_2, 0.125

Empyrion's Yaml files[edit]

At the moment (Alpha 8) there are several types of yamls:

Planetary Playfields:[edit]

  • playfield.yaml
  • playfield_static.yaml (used by the SSG to create random playfields on every start of a fresh game)
  • playfield_dynamic.yaml (used by the SSG to create random playfields on every start of a fresh game)

Space (Orbit) Playfields:[edit]

  • playfield.yaml
  • space_dynamic.yaml (used by the SSG to create random playfields on every start of a fresh game)