Actions

Difference between revisions of "Adding new worlds"

From Unofficial Stationeers Wiki

m (Example world setting data expansion made more clear to the reader.)
(Added mercury as example.)
Line 380: Line 380:
 
       </Parameter>
 
       </Parameter>
 
     </CustomTerrainParameters>
 
     </CustomTerrainParameters>
 
 
   </WorldSettingData>
 
   </WorldSettingData>
 
</pre>
 
</pre>
 
|}
 
|}
  
 +
 +
==== Mercury ====
 +
[[File:Mercury.png|thumb|right|Mercury View]]
 +
* Survival; 38% Gravity; -175 to 422°C at 0.1 kPa; 258% Solar Power; 7° Inclination
 +
* Moon terrain
 +
* Missing translation
 +
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
 +
|World Setting Data
 +
|-
 +
|<pre>
 +
<WorldSettingData>
 +
    <Name>Mercury Custom</Name>
 +
    <Description>NewWorldMoonShortDesc</Description>
 +
    <Thumbnail>moonsurv</Thumbnail>
 +
    <GameMode>Survival</GameMode>
 +
    <SkyBoxMaterialName>Starfield Skybox</SkyBoxMaterialName>
 +
    <SetSunInSkybox>false</SetSunInSkybox>
 +
    <SunPrefabName>MoonSun</SunPrefabName>
 +
    <TerrainPrefabName>TerrainMoon</TerrainPrefabName>
 +
    <Gravity>-3.7</Gravity>
 +
    <TimeOfDay>0.94</TimeOfDay>
 +
    <SizeOfWorld>10</SizeOfWorld>
 +
    <SolarScale>2.58</SolarScale>
 +
    <SolarEclipticAngle>7</SolarEclipticAngle>
 +
    <WorldOreDensity>0.001</WorldOreDensity>
 +
    <NumberOfCratersPerRegion>5</NumberOfCratersPerRegion>
 +
    <NumberOfRegions>8</NumberOfRegions>
 +
    <MaxSunIntensity>2.58</MaxSunIntensity>
 +
    <SizeOfCraterRegions>50</SizeOfCraterRegions>
 +
    <BedrockLevel>-40</BedrockLevel>
 +
    <Kelvin>
 +
<keys>
 +
  <Keyframe>
 +
            <time>0</time>
 +
            <value>200</value>
 +
            <inTangent>60</inTangent>
 +
            <outTangent>60</outTangent>
 +
            <tangentMode>34</tangentMode>
 +
          </Keyframe>
 +
          <Keyframe>
 +
            <time>0.025</time>
 +
            <value>650</value>
 +
            <inTangent>60</inTangent>
 +
            <outTangent>60</outTangent>
 +
            <tangentMode>34</tangentMode>
 +
          </Keyframe>
 +
          <Keyframe>
 +
            <time>0.46</time>
 +
            <value>700</value>
 +
            <inTangent>60</inTangent>
 +
            <outTangent>60</outTangent>
 +
            <tangentMode>34</tangentMode>
 +
          </Keyframe>
 +
          <Keyframe>
 +
            <time>0.5025</time>
 +
            <value>100</value>
 +
            <inTangent>60</inTangent>
 +
            <outTangent>60</outTangent>
 +
            <tangentMode>34</tangentMode>
 +
          </Keyframe>
 +
  <Keyframe>
 +
            <time>0.96</time>
 +
            <value>100</value>
 +
            <inTangent>60</inTangent>
 +
            <outTangent>60</outTangent>
 +
            <tangentMode>34</tangentMode>
 +
          </Keyframe>
 +
          <Keyframe>
 +
            <time>1</time>
 +
            <value>200</value>
 +
            <inTangent>60</inTangent>
 +
            <outTangent>60</outTangent>
 +
            <tangentMode>34</tangentMode>
 +
          </Keyframe>
 +
        </keys>
 +
</Kelvin>
 +
    <TerrainGenerationFeatures>
 +
      <Feature>Normal</Feature>
 +
      <Feature>Craters</Feature>
 +
    </TerrainGenerationFeatures>
 +
    <Planets>
 +
      <Prefab>Blackhole</Prefab>
 +
    </Planets>
 +
    <AmbientSkyColor>
 +
        <r>0.1838235</r>
 +
        <g>0.1838235</g>
 +
        <b>0.1838235</b>
 +
        <a>1</a>
 +
    </AmbientSkyColor>
 +
    <AmbientEquatorColor>
 +
        <r>0.1176471</r>
 +
        <g>0.1176471</g>
 +
        <b>0.1176471</b>
 +
        <a>1</a>
 +
    </AmbientEquatorColor>
 +
    <AmbientGroundColor>
 +
        <r>0.08088237</r>
 +
        <g>0.08088237</g>
 +
        <b>0.08088237</b>
 +
        <a>1</a>
 +
    </AmbientGroundColor>
 +
    <NoTerrainLod>true</NoTerrainLod>
 +
<AtmosphereComposition>
 +
      <SpawnGas>
 +
        <Type>Pollutant</Type>
 +
        <Quantity>0.042</Quantity>
 +
        <Name>Pollutant</Name>
 +
      </SpawnGas>
 +
      <SpawnGas>
 +
        <Type>Volatiles</Type>
 +
        <Quantity>0.022</Quantity>
 +
        <Name>Volatiles</Name>
 +
      </SpawnGas>
 +
    </AtmosphereComposition>
 +
<MineablesOverride>
 +
    <MineableData>
 +
  <DisplayName>Iron</DisplayName>
 +
      <OrePrefabName>ItemIronOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreIron</VisualizerPrefabName>
 +
      <Rarity>50</Rarity>
 +
      <MiningTime>1</MiningTime>
 +
  <VoxelType>Iron</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>6</MaxDropQuantity>
 +
  <MinDropQuantity>3</MinDropQuantity>
 +
  <MaxVeinAttempts>100</MaxVeinAttempts>
 +
  <MinVeinAttempts>50</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Ice</DisplayName>
 +
      <OrePrefabName>ItemIce</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreIce</VisualizerPrefabName>
 +
      <Rarity>0</Rarity>
 +
      <MiningTime>2</MiningTime>
 +
  <VoxelType>Ice</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>10</MaxDropQuantity>
 +
  <MinDropQuantity>5</MinDropQuantity>
 +
  <MaxVeinAttempts>50</MaxVeinAttempts>
 +
  <MinVeinAttempts>30</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Oxite</DisplayName>
 +
      <OrePrefabName>ItemOxite</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreOxite</VisualizerPrefabName>
 +
      <Rarity>0</Rarity>
 +
      <MiningTime>2</MiningTime>
 +
  <VoxelType>Oxite</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>10</MaxDropQuantity>
 +
  <MinDropQuantity>5</MinDropQuantity>
 +
  <MaxVeinAttempts>80</MaxVeinAttempts>
 +
  <MinVeinAttempts>50</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Volatiles</DisplayName>
 +
      <OrePrefabName>ItemVolatiles</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreVolatiles</VisualizerPrefabName>
 +
      <Rarity>0</Rarity>
 +
      <MiningTime>2</MiningTime>
 +
  <VoxelType>Volatiles</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>10</MaxDropQuantity>
 +
  <MinDropQuantity>5</MinDropQuantity>
 +
  <MaxVeinAttempts>100</MaxVeinAttempts>
 +
  <MinVeinAttempts>50</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Gold</DisplayName>
 +
      <OrePrefabName>ItemGoldOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreGold</VisualizerPrefabName>
 +
      <Rarity>15</Rarity>
 +
      <MiningTime>5</MiningTime>
 +
  <VoxelType>Gold</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>4</MaxDropQuantity>
 +
  <MinDropQuantity>2</MinDropQuantity>
 +
  <MaxVeinAttempts>60</MaxVeinAttempts>
 +
  <MinVeinAttempts>40</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Coal</DisplayName>
 +
      <OrePrefabName>ItemCoalOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreCoal</VisualizerPrefabName>
 +
      <Rarity>35</Rarity>
 +
      <MiningTime>3</MiningTime>
 +
  <VoxelType>Coal</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>5</MaxDropQuantity>
 +
  <MinDropQuantity>2</MinDropQuantity>
 +
  <MaxVeinAttempts>90</MaxVeinAttempts>
 +
  <MinVeinAttempts>60</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Copper</DisplayName>
 +
      <OrePrefabName>ItemCopperOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreCopper</VisualizerPrefabName>
 +
      <Rarity>35</Rarity>
 +
      <MiningTime>2</MiningTime>
 +
  <VoxelType>Copper</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>5</MaxDropQuantity>
 +
  <MinDropQuantity>3</MinDropQuantity>
 +
  <MaxVeinAttempts>80</MaxVeinAttempts>
 +
  <MinVeinAttempts>60</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Uranium</DisplayName>
 +
      <OrePrefabName>ItemUraniumOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreUranium</VisualizerPrefabName>
 +
      <Rarity>5</Rarity>
 +
      <MiningTime>5</MiningTime>
 +
  <VoxelType>Uranium</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>3</MaxDropQuantity>
 +
  <MinDropQuantity>2</MinDropQuantity>
 +
  <MaxVeinAttempts>40</MaxVeinAttempts>
 +
  <MinVeinAttempts>20</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Silver</DisplayName>
 +
      <OrePrefabName>ItemSilverOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreSilver</VisualizerPrefabName>
 +
      <Rarity>20</Rarity>
 +
      <MiningTime>5</MiningTime>
 +
  <VoxelType>Silver</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>10</MaxDropQuantity>
 +
  <MinDropQuantity>5</MinDropQuantity>
 +
  <MaxVeinAttempts>40</MaxVeinAttempts>
 +
  <MinVeinAttempts>20</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Nickel</DisplayName>
 +
      <OrePrefabName>ItemNickelOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreNickel</VisualizerPrefabName>
 +
      <Rarity>18</Rarity>
 +
      <MiningTime>5</MiningTime>
 +
  <VoxelType>Nickel</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>10</MaxDropQuantity>
 +
  <MinDropQuantity>5</MinDropQuantity>
 +
  <MaxVeinAttempts>40</MaxVeinAttempts>
 +
  <MinVeinAttempts>20</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Lead</DisplayName>
 +
      <OrePrefabName>ItemLeadOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreLead</VisualizerPrefabName>
 +
      <Rarity>5</Rarity>
 +
      <MiningTime>5</MiningTime>
 +
  <VoxelType>Lead</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>10</MaxDropQuantity>
 +
  <MinDropQuantity>5</MinDropQuantity>
 +
  <MaxVeinAttempts>40</MaxVeinAttempts>
 +
  <MinVeinAttempts>20</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Silicon</DisplayName>
 +
      <OrePrefabName>ItemSiliconOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreSilicon</VisualizerPrefabName>
 +
      <Rarity>25</Rarity>
 +
      <MiningTime>4</MiningTime>
 +
  <VoxelType>Silicon</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>6</MaxDropQuantity>
 +
  <MinDropQuantity>3</MinDropQuantity>
 +
  <MaxVeinAttempts>50</MaxVeinAttempts>
 +
  <MinVeinAttempts>30</MinVeinAttempts>
 +
    </MineableData>
 +
<MineableData>
 +
  <DisplayName>Cobalt</DisplayName>
 +
      <OrePrefabName>ItemCobaltOre</OrePrefabName>
 +
      <VisualizerPrefabName>AsteroidOreCobalt</VisualizerPrefabName>
 +
      <Rarity>8</Rarity>
 +
      <MiningTime>5</MiningTime>
 +
  <VoxelType>Cobalt</VoxelType>
 +
  <VeinSize>1</VeinSize>
 +
  <MaxDropQuantity>4</MaxDropQuantity>
 +
  <MinDropQuantity>2</MinDropQuantity>
 +
  <MaxVeinAttempts>60</MaxVeinAttempts>
 +
  <MinVeinAttempts>10</MinVeinAttempts>
 +
    </MineableData>
 +
    </MineablesOverride>
 +
  </WorldSettingData>
 +
</pre>
 +
|}
  
  

Revision as of 15:35, 18 November 2019

Adding new worlds

There is two ways of adding new worlds to your game.


Adding a game file

  1. Navigate to your stationeers game folder. (For Steam this is usually C:\Program Files (x86)\Steam\steamapps\common\Stationeers\)
  2. From there navigate to rocketstation_Data\StreamingAssets\Data
  3. Create a new file there named "worldsettings-custom.xml"
  4. Edit your new file using an appropriate text editor.
  5. Copy and paste the following:
<?xml version="1.0" encoding="utf-8"?>
<GameData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<WorldSettings>

<!-- Your worlds go here -->

</WorldSettings>
</GameData>
  • Now you can insert your custom worlds where the placeholder is.


Notes

  • You can look up built-in worlds in a file called "worldsettings.xml"


Example Worlds

Mimas

Mimas View
  • Survival; 10% Gravity; 0 kPa; 18% Solar Power; 126° Inclination
  • Nice view on Saturn
  • Moon terrain, many craters
  • Recycled from game files
  • Missing translation; so it will state <T:EN:NEWWORLDAREAMIMASCUSTOM> instead.


Titan

Titan View
  • Survival; 14% Gravity; -201 to -161°C at 125 kPa; 18% Solar Power; 126° Inclination
  • Nice view on Saturn
  • Europa terrain
  • Missing translation


Mercury

Mercury View
  • Survival; 38% Gravity; -175 to 422°C at 0.1 kPa; 258% Solar Power; 7° Inclination
  • Moon terrain
  • Missing translation


Adding a mod file

Todo


World Settings Attributes

( Maybe a new page for this info ? )

GameMode
Survival or Creative
MaxSunIntensity
Factor how bright lighting is on this world. No effect to solar panel power.
Value >= 0; Default is 1
Gravity
Value in m/s2. Has to be negative.
TimeOfDay
Time of day factor on world creation.
Value between 0.0 and 1.0
WorldOreDensity
Density of ore spawn. Higher values result in more ore spawn.
Default is 0.001; Vulcan is 0.005
SolarScale
Power factor to solar panels. Higher values result in increased solar panel output.