Space Engineers

Space Engineers

评价数不足
No Scrap Shrapnel
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Other
标签: development
文件大小
发表于
更新日期
1.231 MB
2016 年 12 月 15 日 上午 10:16
2016 年 12 月 16 日 上午 8:28
2 项改动说明 ( 查看 )

订阅以下载
No Scrap Shrapnel

描述
Removes newly created scrap metal from block destruction or players dropping it.

Does not remove scrap metal that is already saved and floating around in-game.

Does not remove scrap metal in inventories.

Does remove scrap metal if a player drops it.

Does remove scrap metal when a block is destroyed.
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?