Difference between revisions of "Yaml Files"
(→General) |
(→General) |
||
Line 1: | Line 1: | ||
==General== | ==General== | ||
− | Yaml files are basically text files that use spaces to | + | Yaml files are basically text files that use spaces to organize the code in them. So placing spaces accrodingly is extremely important. One wrong placed space can and will make the yaml file unreadable by Empyrion. |
[https://www.wikipedia.org/wiki/YAML Wikipedia article on yamls] | [https://www.wikipedia.org/wiki/YAML Wikipedia article on yamls] |
Revision as of 08:27, 11 August 2018
Contents
General
Yaml files are basically text files that use spaces to organize the code in them. So placing spaces accrodingly is extremely important. One wrong placed space can and will make the yaml file unreadable by Empyrion.
Snippet
Example snippet of a yaml file:
# -------------------------------------------------------------------------------------------------------------------------- # 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
At the moment there are several types of yamls:
Planetary Playfields:
- 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:
- playfield.yaml
- space_dynamic.yaml (used by the SSG to create random playfields on every start of a fresh game)