Space Engineers

Space Engineers

31 ratings
Giant Meteor Shower [1.1.4]
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Asteroid, Planet, Other
File Size
Posted
Updated
316.082 KB
22 Aug, 2024 @ 2:55pm
25 Aug, 2024 @ 5:38pm
7 Change Notes ( view )

Subscribe to download
Giant Meteor Shower [1.1.4]

Description
Description
This mod causes meteors to generate ore boulders when they come into contact with the soil of a planet.

Complete information
I set up a wiki and a discord to keep discussions, roadmap information and bug reporting.
https://www.wikiful.com/@ogrimdooh/ogrimdooh-se-mods/giant-meteor-shower
https://discord.gg/rTd2P6pbEu

Settings

Once added to the save, the mod will create a configuration file within the save storage called "GiantMeteorShower.Settings.cfg".
In this file it is possible to customize the entire behavior of the functionality.

Root Configs
Enabled : Defines whether the mod is active or not.
DistanceToSpawn : Sets the maximum distance from active player to validate whether a meteor impact should create a boulder.
StoneLifeTime : Sets the lifetime of a boulder in seconds.
DespawnDistance : Defines the maximum distance from an active player and/or active grid to despawn a boulder.
DisableMeteorCrater: If the value is true then no craters are created on planets with the impact of meteors.
MeteorScale : Defines a size range for meteors, impacts damage and crater size.

Default Impact Configs
ChanceToSpawn : Chance of an impact generating a boulder.
Stones : List of boulder definitions that can be created in an impact.

Stones Configs
GroupId : Name of the VoxelMapStorage to be created on impact, by default the mod uses two values (SnowCoverageIronCore, StoneCoverageIronCore) that represent the planets' boulders. But this value can be from any VoxelMapStorage loaded in the save.
ModifierId : Name of the VoxelMaterialModifier to be applied to the voxel after it is created, by default the mod will load all those available in the save, to remove one in addition to removing it from the list you must add it to the ignore list.
ChanceToSpawn : Chance of this stone option being used, the total value of this property added across the entire list must be 1, if it is different from 1 the mod will adjust the value of each option so that the total remains 1.

Planet Impacts Configs
This group of settings allows you to customize behavior by planet type. By default the mod will load all planet types in the list to help with configuration.

ReplaceDefault : Defines whether the configuration will replace the default, if true then the values of "ChanceToSpawn" and "Stones" will be used on this planet. This values has the same function as in Default Impact Configs.
ChanceMultiplier : When "ReplaceDefault" is false then it is possible to define a multiplier for the chance of creating a boulder. Example: The default value sets the chance to 0.25 and this property has the value 2, so on this planet the chance is 0.5 when creating a stone on impact.

Ignored Modifiers Configs
A list of VoxelMaterialModifiers that will be ignored by the mod.

Ignored Planets Configs
A list of Planets that will be ignored by the mod.

Administrator commands
Just open the chat and type the commands below with a "/" in front, if the player has administrator privileges they will be executed.

gms.settings
You can change the values of some configuration properties while the game is running. This command has a syntax with some parameters, just place after the name of the command the property you want to change and then the value to be defined.
How to use and compatible properties:

/gms.settings debug <true/false>
/gms.settings enabled <true/false>
/gms.settings distancetospawn <number>
/gms.settings despawndistance <number>
/gms.settings disablemeteorcrater <true/false>
/gms.settings meteorscale <number min>:<number max>
/gms.settings fragmentation.chancetofragmentation <number>
/gms.settings fragmentation.canfragmentinspace <true/false>
/gms.settings fragmentation.numberoffragments <number min>:<number max>
/gms.settings defaultimpact.chancetospawn <number>

gms.spawnmeteor
Spawns a meteor in front of the player using the camera direction.
How to use:

/gms.spawnmeteor

gms.clearstones
Removes all rocks created by meteors.
How to use:

/gms.clearstones

Road Map
For this mod I still want to add a configuration to define whether an impact material allows generating stones, an example of application would be to configure a planet to only generate stones in the desert.

Multiplayer & Dedicated Servers
The mod has no issue with multiplayer.

Want to Support me
https://ko-fi.com/ogrimdooh

This workshop item cannot be redistributed without explicit permission.
This item is not authorized for posting on Steam, except under the Steam account named ogrimdooh
25 Comments
ogrimdooh  [author] 8 Jul @ 5:52pm 
@CheapFrag: lol man this is a great idea!!!
CheapFrag 8 Jul @ 3:26pm 
not having delved into the programming of it... it sounds like a meteor strike can be made to spawn things on surface impact...
could this be used to have an NPC shipwreck get spawned on the ground? I think that would look pretty cool, visually, without having to create an NPC encounter with the ship actually crashing the normal way.
Shorky 27 May @ 8:48am 
I feel like a setting ( if posible and not too difficult ) where you could put in a number and that would be the health multiplier based on size so if you enter 5 and meteor size is 3 then it would have 15 health would be pretty gud
Shorky 27 May @ 8:46am 
yipeee :D
ogrimdooh  [author] 26 May @ 1:35pm 
@Shorky: Man this is a great idea!!! \o/ I will try to do this ^__^
Shorky 26 May @ 10:54am 
is there any way to increase the meteor health ? its kind of goofy when a massive meteor is shot down by one bullet
Whitefire 22 Apr @ 9:38am 
with our current mod set, it causes constant connection issues every few minutes.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3377310326
Doctercorgi 7 Dec, 2024 @ 9:11am 
ty ty <3
ogrimdooh  [author] 6 Dec, 2024 @ 3:27am 
@Doctercorgi: They will work like vanilla, but crater override is global, if you set to not create craters even in a ignored planet will be with no craters.
Doctercorgi 4 Dec, 2024 @ 6:47pm 
If I add a planet to be ignored by this mod, does that mean meteors wont spawn there, or that the meteors will behave like vanilla when they hit it? thank you