Space Engineers

Space Engineers

[OBSOLETE] Planetary Installations
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Meridius_IX / Lucas  [udvikler] 21. sep. 2017 kl. 13:00
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.
Sidst redigeret af Meridius_IX / Lucas; 21. sep. 2017 kl. 14:20
< >
Viser 1-15 af 21 kommentarer
superhappyalien 22. sep. 2017 kl. 5:03 
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  [udvikler] 22. sep. 2017 kl. 6:34 
@superhappyalien - Since the config file isn't saved in the mod folder, it would need to be included separately.
FurtiveSage 22. sep. 2017 kl. 10:54 
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 23. sep. 2017 kl. 14:40 
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  [udvikler] 24. sep. 2017 kl. 9:09 
@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 15. nov. 2017 kl. 19:01 
Are the distances in meters or 2.5m blocks?
Meridius_IX / Lucas  [udvikler] 15. nov. 2017 kl. 19:44 
@dhatcher1 - All the distances in the config are in meters.
Viper 29. dec. 2017 kl. 11:15 
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  [udvikler] 29. dec. 2017 kl. 11:49 
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 29. dec. 2017 kl. 12:12 
Gotcha, thanks!
starmind 16. jan. 2018 kl. 1:57 
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  [udvikler] 16. jan. 2018 kl. 8:53 
@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 27. juli 2018 kl. 14:30 
@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 27. juli 2018 kl. 14:54 
@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 12. aug. 2018 kl. 10:00 
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?
< >
Viser 1-15 af 21 kommentarer
Per side: 1530 50