Space Engineers

Space Engineers

No Scrap Shrapnel
7 条留言
rolenthedeep 2017 年 4 月 27 日 下午 7:49 
I have a better solution for stopping scrap metal. You can edit block definitions on the fly to just remove any and all drops. Run this snippet once when the session starts:

foreach (var def in MyDefinitionManagerBase.Static.GetAllDefinitions<MyDefinitionBase>())
{
var c = def as MyComponentDefinition;
if (c == null)
continue;
c.DropProbability = 0;
}

You could refine this if you want to look only for scrap metal, but for my purposes I wanted to remove all drops forever.
The Erubian Warlord 2016 年 12 月 20 日 下午 9:53 
ok then that makes sense
Psyklz  [作者] 2016 年 12 月 19 日 下午 8:21 
@The Erubian Warlord In this case, it was to make ship battles lighter on performance by not having scrap metal being created from destroyed blocks. When scaled up, those little plates cause a lot of physics and slowdown.
Psyklz  [作者] 2016 年 12 月 19 日 下午 8:20 
@vanbot2000 Any scrap that enters the world goes away. Its does not appear possible to know where the scrap came from, from a modding standpoint, so if it enteres the world at all its destroyed instantly.
vanbot2000 2016 年 12 月 18 日 下午 2:50 
does it still give scrap if i break down something that would normally give scrap such as breaking down a battery (the power cells turn to scrap)
delleds 2016 年 12 月 17 日 下午 10:05 
@The Erubian Warlord Yummy fps/simspeed, generally less RAM usage
The Erubian Warlord 2016 年 12 月 17 日 上午 1:30 
what use is removing the scrap may I ask?