Space Engineers

Space Engineers

FunLightning
17 Comments
Demaros 10 Feb @ 6:15pm 
Does your mod require the "Lighting Damage" option to be ticked on in the saves World Settings?
Also do you know if this would conflict with the Configurable Parameters mod, because that also has an option to turn lightning on/off and modify lightning strike damage?
BDCarrillo  [author] 19 Nov, 2024 @ 9:14am 
yes
Cornelius 18 Nov, 2024 @ 8:37pm 
When using this mod on a server, does it use the server's configuration for behaviour?
BDCarrillo  [author] 19 Jan, 2024 @ 8:44am 
The frequency of lightning is driven by the WeatherEffects SBC and would need to be changed in a mini mod specific to your desires. Since it varies a lot by weather type, and custom planets may have their own uniquely named storms, it's not something I'd want to try and globally overwrite with new values.
Mase 18 Jan, 2024 @ 10:45am 
Any way of turning the frequency of lightning strikes down?
BDCarrillo  [author] 4 Dec, 2023 @ 8:21pm 
Yeah there's two storage spots, one in the SpaceEngineers folder (AKA "Local" storage) and one per world. This mod writes to the world location. Location link updated for clarity
What Trigger 4 Dec, 2023 @ 7:54pm 
Ok, Finally worked it out.
Just a note for those who also have trouble with this mod and maybe others where you need to go to the storage folder??

I got lost trying to find the config file in
AppData/Roaming/SpaceEngineers/Storage

the correct location is (for me anyway)
AppData/Raoming/SpaceEngineers/Saves/ ((maybe random numbered folder)) / folder that contains your saved game/Storage/3046477519.sbm_FunLightning\Lightning.cfg

Loving the mod with no damage but still inflicted hindrance of strikes
Great work
BDCarrillo  [author] 18 Nov, 2023 @ 1:14pm 
Ty hotdogbun!

What trigger- fire up a game with the mod loaded and the config will be written to that folder, not upon subbing
What Trigger 18 Nov, 2023 @ 11:09am 
Ok interestingly and confusingly, regarding my question on that lightning.cfg file.
Even after unsubbing then resubbing.
Im only getting the folder 3046477519 in the workshop/content area which obviously doesnt have the cfg file

Said sbm folder in the SpaceEngineers/storage area isnt showing up
hotdogbun64 18 Nov, 2023 @ 10:46am 
(I went with just having lightning de-power grids, has given me many hours of joy fail-safing my mining drones!)
hotdogbun64 18 Nov, 2023 @ 10:45am 
Thank you for making this. Keen is foolish for not having this be natural behavior, the environmental hazard feels so much more immersive now!
BDCarrillo  [author] 15 Nov, 2023 @ 8:48am 
No... make changes to the config file located in \Storage\3046477519.sbm_FunLightning\Lightning.cfg

The RadiusMultiplier default (from Keen) is 1m unless you're using a custom WeatherEffects.sbc. The sample config for FunLightning dials it up to 10m, and checks for grids AND blocks within that 10m to de-power
What Trigger 13 Nov, 2023 @ 8:12pm 
So im guessing we make the changes in the "Settings.cs" file in the scripts folder?
Where you say the Radius multiplier has a default of 1m, the settings.cs near the top has it set as 10.
Is the new default 10m or does the setting work on a multiplier of 10 to get the 1m?
with the radius multiplier Im guessing if any part of the grid is within the lightning strike it shuts of the grid?
Thanks

Also I'm in similar mindset of Jhitereptar, I dont like the outright damage but this is perfect for a punishment with the power down.
BDCarrillo  [author] 13 Nov, 2023 @ 8:34am 
The Keen math of determining when/where a strike occurs is unchanged, only the result of the lightning strike
enenra 12 Nov, 2023 @ 11:40pm 
Does this still focus the player more and more the longer a storm goes on like vanilla?
BDCarrillo  [author] 8 Nov, 2023 @ 6:00pm 
Yep, it can do that. In the config set the DamageMultiplier to 0
Jhitereptar 8 Nov, 2023 @ 11:38am 
So could this be used to make the lightning do 0 damage but instead turn off the grid power.? I hate having to repair after a lightning storm, But do like the thought that I am still punished to a degree when my base is struck