Space Engineers

Space Engineers

[OBSOLETE] Planetary Installations
 This topic has been pinned, so it's probably important
Meridius_IX / Lucas  [developer] Sep 21, 2017 @ 1:00pm
Configuration File
A configuration file is now available for Planetary Installations. This will allow players and admins to fine tune how the mod spawning system behaves.

Location:

The configuration file should be located in your user data files

Example: C:\Users\USERNAME\AppData\Roaming\SpaceEngineers\Storage\1135484377.sbm_MeridiusIX\planetaryinstallationconfig.xml


Configurable Values:

  • <SpawnTimerTrigger> - Seconds between player travel distance scans.

  • <MaximumActiveStationsPerPlanet> - No more than this number of active installations on a planet at a time.

  • <MinimumSpawnDistanceFromOtherGrids> - Installations will not spawn if any grid is within this distance of proposed spawn location.

  • <MediumSpawnChanceBaseValue> - If spawning small station, this is chance percent a medium station will appear instead.

  • <MediumSpawnChanceIncrement> - For each small station spawn, <MediumSpawnChanceIncrement> increases by this amount.

  • <LargeSpawnChanceBaseValue> - If spawning medium station, this is chance percent a large station will appear instead.

  • <LargeSpawnChanceIncrement> - For each medium station spawn, <LargeSpawnChanceIncrement> increases by this amount.

  • <PlayerDistanceSpawnTrigger> - Spawn will initiate in player area once player travels this distance along the surface.

  • <PlayerMaximumDistanceFromSurface> - Spawning will not occur for player if they are this far from planet surface.

  • <MinimumSpawnDistanceFromPlayers> - Minimum distance from player to spawn at.

  • <MaximumSpawnDistanceFromPlayers> - Maximum distance from player to spawn at.

  • <MediumSpawnDistanceIncrement> - When spawning a medium station, this value is added to <MinimumSpawnDistanceFromPlayers> and <MaximumSpawnDistanceFromPlayers>

  • <LargeSpawnDistanceIncrement> - When spawning a large station, this value is added to <MinimumSpawnDistanceFromPlayers> and <MaximumSpawnDistanceFromPlayers>

  • <MinimumSpawnDistanceFromExistingSpawn> - Minimum distance from exisiting spawn location to spawn at.

  • <RandomTerrainSurfaceChecks> - Number of times the mod will try to find an area to spawn around a player during spawning phase.

  • <MinimumTerrainVariance> - While checking near-by terrain, checked points cannot be lower than this value compared to the initial spawn location.

  • <MaximumTerrainVariance> - While checking near-by terrain, checked points cannot be higher than this value compared to the initial spawn location.

  • <TerrainCheckIncrementDistance> - Terrain checks in 8 directions are increased by this distance.

  • <SmallTerrainCheckDistance> - Small station terrain checks are done until this distance is reached in 8 directions from spawn location.

  • <MediumTerrainCheckDistance> - Medium station terrain checks are done until this distance is reached in 8 directions from spawn location.

  • <LargeTerrainCheckDistane> - Large station terrain checks are done until this distance is reached in 8 directions from spawn location.

  • <UnpoweredDespawnDistance> - If installation loses power and isn't owned by player, it will despawn when all players are further than this distance.

  • <RegenerationTimerTrigger> - Seconds until installation attempts to regenerate blocks (if station has regeneration enabled).

  • <RegenerationMinimumBlocks> - Minimum blocks that script will try to regenerate.

  • <RegenerationMaximumBlocks> - Maximum blocks that script will try to regenerate.
Last edited by Meridius_IX / Lucas; Sep 21, 2017 @ 2:20pm
< >
Showing 1-15 of 21 comments
superhappyalien Sep 22, 2017 @ 5:03am 
Thank u for this, Can i Edit these Values before i upload to workshop as a mod or would i need the Edit your Script To keep the Edited Vaules ?
Meridius_IX / Lucas  [developer] Sep 22, 2017 @ 6:34am 
@superhappyalien - Since the config file isn't saved in the mod folder, it would need to be included separately.
FurtiveSage Sep 22, 2017 @ 10:54am 
This btw is an excellent mod to add content. I am having trouble locating the config file. I am in the Storage folder and see other mods config files there, however not yours. Would it be someone else? I have confirmed these structures are spawing. Does your mod need to be loaded first from Occupation?
FurtiveSage Sep 23, 2017 @ 2:40pm 
Found it - the server had to be saved the first time for the file to show up. Can't run it though has it seems to take too many cpu cycles away from the sim speed. 1.0 sim without mode .45 to .90 cycling with the mod. Great mod, just need to see how to make it DS friendly.
Meridius_IX / Lucas  [developer] Sep 24, 2017 @ 9:09am 
@Soulthule - Odd that your getting bad sim speed with it. I've been running it on a test rental DS with several stations appeared near my area and the sim has remained stable.
dhatcher1 Nov 15, 2017 @ 7:01pm 
Are the distances in meters or 2.5m blocks?
Meridius_IX / Lucas  [developer] Nov 15, 2017 @ 7:44pm 
@dhatcher1 - All the distances in the config are in meters.
Viper Dec 29, 2017 @ 11:15am 
You added

<IgnoreTerritoryRules>false</IgnoreTerritoryRules>
<ReuseTerritories>false</ReuseTerritories>

to the config but not this guide. Does <ReuseTerritories> allow spawns near where a despawned installation used to be?
Meridius_IX / Lucas  [developer] Dec 29, 2017 @ 11:49am 
It was supposed to, but looking closer it appears I never wrote the functions for that. I'll see about getting that fixed sometime soon
Viper Dec 29, 2017 @ 12:12pm 
Gotcha, thanks!
starmind Jan 16, 2018 @ 1:57am 
thanks as this setting <ReuseTerritories>true</ReuseTerritories> could be the only way i see to allow mod to work on multiplayer with lots of people and no "reset" of planet on long term
Meridius_IX / Lucas  [developer] Jan 16, 2018 @ 8:53am 
@starmind - I'm a total derp. I've had the code ready for this for about a week and a half and thought I had pushed it. I had not it seems. Should be live now!
LightningEagle Jul 27, 2018 @ 2:30pm 
@Meridius_IX do you know that this mod is creating allot of lagg. my friend rents a server with this mod and, every time a base from this mod spawns in its creating alot of lagg.
superhappyalien Jul 27, 2018 @ 2:54pm 
@LightningEagle I am Running this on my server with lots of base that spawn some up to 10K blocks without lag On a Server at pingperfect
SMooreAce Aug 12, 2018 @ 10:00am 
Im looking for your config file. The location advised contains

npcgarbagecleanconfig.xml
and
npcperformanceconfig.xml

from your other mod. The server has been running with no mod changes for weeks. What am I missing?
< >
Showing 1-15 of 21 comments
Per page: 1530 50