Space Engineers

Space Engineers

658 ratings
Rust Mechanics
12
11
2
7
2
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Other
File Size
Posted
Updated
258.452 KB
Feb 22, 2022 @ 2:29pm
Feb 9, 2023 @ 10:37am
5 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Rust Mechanics

In 2 collections by Bačiulis
Eat. Drink. Sleep. Repeat! - Immersive survival
25 items
Ancient Astronauts recommended mods
17 items
Description
Blocks will slowly rust over time while in atmosphere of configured planets.

All blocks that is not covered by other blocks or airtight spaces in all directions will be affected by rust.

By default Earth, Alien, Pertam and Venus (that is any modded planet that has "Venus" in it's name) planets are configured.

Grids inside SafeZone that has damage disabled will not rust.

Rusting of powered grids can be disabled in config.

Rusting of specific block types can be disabled in config.

Server side only scripts! (Should work on Xbox dedicated servers, but not tested)

!!WARNING!! This mod is still somewhat experimental. Bugs are expected, please report if encountered. Also careful adding this to your already build world without backup saves.


F.A.Q

- How to repair rusted block?

Wield it up and paint. Only texture needs to be applied to fix rust.

- Does weather affect rusting?

No. Weather effects are not implemented, but it's something to think about for the future updates.


Configuration

This mod can be configured per save game:

Create and save game with this mod added.
Open Storage directory of your save, i.e.:
C:\Users\<User Name>\AppData\Roaming\SpaceEngineers\Saves\<Some number>\<Save Game name>\Storage\<Some number>.sbm_RustMechanics
config1.3.xml file should be inside.
Make sure to edit the latest version if there is more than one!
Also need to re-config every time mod is updated with changes to config options.
Open it with Notepad or other text editor

You will see planets config:
<OnlyRustUnpoweredGrids>false</OnlyRustUnpoweredGrids> <RustDamagesBlocks>true</RustDamagesBlocks> <Planets> <Planet> <PlanetNameContains>Earth</PlanetNameContains> <AverageMinutesToStartRusting>300</AverageMinutesToStartRusting> </Planet> <Planet> <PlanetNameContains>Alien</PlanetNameContains> <AverageMinutesToStartRusting>180</AverageMinutesToStartRusting> </Planet> <Planet> <PlanetNameContains>Pertam</PlanetNameContains> <AverageMinutesToStartRusting>60</AverageMinutesToStartRusting> </Planet> <Planet> <PlanetNameContains>Venus</PlanetNameContains> <AverageMinutesToStartRusting>10</AverageMinutesToStartRusting> </Planet> </Planets> <BlockSubtypeContainsBlackList> <string>Concrete</string> <string>Wood</string> </BlockSubtypeContainsBlackList>

OnlyRustUnpoweredGrids - will rust only unpowered (abandoned) grids if set to true.

RustDamagesBlocks - blocks will get damaged when rusting if set to true. Only texture change when set to false.

More planets, vanilla or custom can be added. PlanetNameContains is any part of planet name. AverageMinutesToStartRusting is how much minutes on average will it take for rust to start appearing on blocks. The further rusting depends on block integrity. I.e. it will take about 20 times more for large light armor block until block completely dissapear.

BlockSubtypeContainsBlackList - blocks that subtype name contains any of the string from this list, will not rust. Keep in mind this checks block subtype name, NOT texture name. So armor block painted in concrete or wood texture will still rust, but for example Concrete block from AQD Concrete mod or Wood Armor block from Tree Harvest mod will not rust.
Any vanilla or modded block names can be added to the list.


Integrations

Any modded planet that has atmosphere can be used with this mod.

Any modded block will rust if it supports textures.

To make rust maintenance more realistic it is recomended to use this mod together with Paint Gun mod, while disabling vanilla painting


Acknowledgements

Mod is based on Atmospheric Damage script by Rexxar. Could not find the original link, if someone has it, please let me know.

Ships in screenshots:
Astron, interplanetary tanker/hauler (No mods) by OctoBooze
“Frontier” Scientific Research Exploration System(No Mod) by ARC17Alpha
SpaceX Starship (1:1 scale) by me


Reporting issues

Please report any issues you encounter to help make this mod better.
When reporting be mindful to provide all possible information, so I can debug and fix it.

This is the minimum information needed when reporting a problem:

- List of all mods used in a game in exact order (take a screenshot of mods menu of save game)
- Latest log, just after issue or crash happened. Log is located:
"C:\Users\<User>\AppData\Roaming\SpaceEngineers\SpaceEngineers_<datetime>.log"
- Screenshot of problem if it is visible in-game

Provide any additional information/details that might help.

Use online services like Imgur, pastebin or others to share screenshots/logs/etc.


Github

Any help on maintaning/improving this mod is welcome, here is Github repo with the code:
https://github.com/vaidasmaciulis/rustmechanics
Popular Discussions View All (7)
22
Jun 9, 2023 @ 4:19am
Suggestion
Jack
6
Nov 22, 2023 @ 8:41am
Suggestion: Quality of life fix for maintenance / repairing rusting blocks
Samarty Pants
3
Jul 14, 2022 @ 10:47am
How can i make things rust away in like 1min?
patris225cz
374 Comments
Bačiulis  [author] Apr 22 @ 1:32pm 
Llama Del Rae, happy to hear that! Feel free to reuse the code, it is open source. Just please be kind and share a link to this mod in your description.
Llama Del Rae Apr 17 @ 6:28pm 
Hey @Bačiulis - Firstly I LOVE this mod - it's in most of my survival games now. Thank you for doing this.

I want to reuse some of your thread safe code execution for the HoverRail mod - can you please let me know if I have your permission to reuse? Or happy to discuss / show you what I'm doing before you approve?
Emperors_Nightmare Oct 29, 2024 @ 10:24pm 
Emperors_Nightmare Oct 29, 2024 @ 10:19pm 
i fixed it my self
Emperors_Nightmare Oct 28, 2024 @ 1:08am 
<BlockSubtypeContainsBlackList>
<string>Concrete</string>
<string>Wood</string>
</BlockSubtypeContainsBlackList>
dosent work
Ghost57_ Oct 27, 2024 @ 1:12am 
Прикольно но лучше бы отключить такой эффект на тех структурах с которыми идёт взаимодействия, строишь корабль и частично он ржавеет. А вот если со структурой не идёт никакое взаимодействия то да, было бы круто, забыл про что-то а оно уже ржавое.
gooworm Oct 25, 2024 @ 1:24am 
I was just looking into that... I was doing a survival run on Triton with the Frostbite structures added in and really loved this mechanic for rust, but it would be great for frost also
Lotl Oct 20, 2024 @ 11:53am 
Can we get a Frost Mechanics for Frozen worlds?
JayRog Aug 20, 2024 @ 6:09am 
hi! if you're still updating this mod i've noticed that heavy armour blocks take real time weeks to start to physically break down and decay, while light armour takes a few hours? is this intentional.
Phistandantilus Jul 18, 2024 @ 4:11pm 
a problem that I notice whenever I make a duplicate save or "save as" iteration, if I load one of those saves, the configurations are reset to default. further, the rust mechanics folder won't generate until I've loaded the game. this means I have to load a game, unload it, adjust the configurations again, and then reload it, just to carry over my settings. it wouldn't be a problem if I wasn't always making divergent save games, but I can't trust autosave, it has ruined me too many times. is there something that could be done about this? some way to adjust the way the defaults generate? its a minor annoyance in the grand scale, but one I'd still like to be rid of.