Space Engineers

Space Engineers

Not enough ratings
WR Environmental Hazard for Kharak
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Planet
File Size
Posted
Updated
35.136 MB
9 Jun, 2021 @ 11:40am
9 Jun, 2021 @ 12:19pm
2 Change Notes ( view )

Subscribe to download
WR Environmental Hazard for Kharak

Description
What does this Mod:
It adds weather to Kharak. And Sandstorms on Kharak now deal damage to players and blocks.

So how does it work:
It utilizes the same Script as https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2507374909 . But this time the damage will occur from all sides not only to your roof. The damage is also around 10 times less. Heavy Sandstorms deal 10times the damage of light ones.
There is no block that takes reduced damage from the storm.

Mod Loading Order:
This Mod needs to be above Kharak (Beta).

Credits:
It is a Script based on the "AtmosphericDamage" Script by Rexxar.
Entersprite for Kharak (Beta).
BlackArmor for the Treehouse in the Thumbnail
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1675864010

Can I reupload this mod?
I not only allow it I encourage you to do so as long as you:
- Credit me and Rexxar
- Put a link to this workshop page/ or another workshop page of mine with this script
- Change something
- (Optional but expected in some form) change anything significant, like add new Weather, add it to your planet, new “Types” of damage, …
13 Comments
Siv 1 Sep, 2022 @ 9:34pm 
Thanks!
janik-bey  [author] 1 Sep, 2022 @ 9:27pm 
Sure go ahead
Siv 1 Sep, 2022 @ 12:47pm 
Okay, thank you for the info. I really love the idea of weather that causes damage which can be resisted by certain blocks. I can't think of any situation where I'd want grids destroyed quickly or even reliably by weather, so missing damage ticks is fine with me.

Anyway, I have 13 planets and moons in the game world. Would you be OK if I patched your code changes into the newer Rexxar script and provided it on the workshop? I'll add you as a contributor, of course.

I can also add some simple queue randomization to the damage event queue so grids on the planet at the front of the queue don't get hammered first all the time. Should solve exploiting "queue sheltering", addressing your concern.
janik-bey  [author] 1 Sep, 2022 @ 12:04pm 
I decided against the newer version of the script because: 1. It was way harder to understand 2. The "lag reducin" feature basicly means that it reduces damage if too many blocks are getting damaged at once(at least I think to remember it was this way). I did not like it as it seams to be very easy to abuse, or you put the limit so high that it doesn't realy matter.

But to be honest I did not work on this for quiet some time. Maybe I added this feature but made a limit for every planet and not for the entire game.

If it lags to much I recomend turning down the damage. I think this was rather easy. As the lag does not come from this script but from space engineers calculating the damage ( mostly because of defroming blocks I think)
Siv 31 Aug, 2022 @ 4:14pm 
Could I bother you to update this to use the (newer) version of Rexxar's damage script which communicates with other damage scripts to reduce lag? If you can't find it, a copy is in the scripts for Elysium.
janik-bey  [author] 26 May, 2022 @ 3:41am 
you should be able to open it with text editor. But I don't recommend it. notepad++ is a light weight option.
ATF_Coldblooded Carebear || 22 May, 2022 @ 11:59am 
Well i'm F***. I don't have the program to open the script .cs file itself at all.
janik-bey  [author] 21 May, 2022 @ 2:10pm 
1) not quiet you need to give the mars weather the effect of this script (basically you say that mars_sandstrom_heavey[or how it is named] should be used by the script) the exact spelling is important
2) yes
3) yes to damage and I think so to the 2 types

also look at my other workshop Item there is an explanation on how to locate the files and so on https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2507374909
ATF_Coldblooded Carebear || 21 May, 2022 @ 8:56am 
Oops I realize that I forgot to mention when you mention the slow response is that it wasn’t a issue because other issue keep preventing me from being ready for the playthrough from happening that not related to this since it drone and remote control issue related.
Your mod give credibility and reason to the historical narrative i made for the
world.
ATF_Coldblooded Carebear || 21 May, 2022 @ 8:50am 
Not a problem for the response ( better late then never I say) I have zero ability in experience and programming

So correct me if i’m wrong in my understanding.

1) since I don’t want to change any of Mars weather but just add your to Mars weather effect by using the Mars weather name in editing your mod using notepad? Correct ??

2) since I don’t change any Mars weather then there won’t be any need to alter the vanilla Mars files? Correct ??

3) this is more a curiosity, would it be possible to make Mars light storm deal half damage and the Mars heavy storm deal full damage ?
And to my knowledge there is only 2 weather on mars ( the 2 previously mention? Correct ??