Space Engineers

Space Engineers

评价数不足
Moisture Vaporator Mobile
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Block, Production
文件大小
发表于
更新日期
38.317 MB
2024 年 12 月 11 日 上午 11:37
2024 年 12 月 12 日 下午 8:17
2 项改动说明 ( 查看 )

订阅以下载
Moisture Vaporator Mobile

描述
This mod is based off of Slowpokefarm's version 9 code of the Moisture Vaporator.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=709975763

Many were upset as Version 8 included a performance change that required the Vaporator to be on a static grid. It would basically check the atmosphere once (every 100 ticks), cache that value, and never check again.

The changes *should* be only slightly less efficient. Now it checks the current position of the vaporator (truncated down to meter, every 100 ticks), and skips atmosphere checks if it hasn't moved; And of course, the requirement that it be attached to a static grid has been removed. I did this for myself but have fun everyone!

The truncating should prevent excessive checks if your grid is parked funny or has a drill on it and is suffering the jitters.

His code (and subsequently this code) are under a creative commons license included in the mod.

Don't forget to rate it.
crafttjohnson@gmail.com

---

Update 1

1) The following feature was removed from slowpokefarm's code, and is being reenabled in this version:
- If the Vaporator cannot work it switches itself off to save CPU time.
I misunderstood what it does, but it just turns off the vaporator if you bring it close to or into space. This means you'll need to turn the vaporator back on when it comes back in the atmosphere.

2) Performance: Vaporator's position cache key was changed from 1 meter cubes to 10 meter cubes. The vaporator needs to move 10 meters before it will recheck atmosphere.

3) Performance: The planet the vaporator is on is now cached, which gets cleared if you go into space. Previously, the atmosphere check will cycle through all breathable planets, stop on the one you're on, and check atmosphere. Now the expensive check is done once, and the planet is cached, and used until it's no longer within it's atmosphere. Since the vaporator turns off when it's in space (and will turn itself back off if necessary), it won't spin it's wheels in space.

4) UI: Updated messages to be more clear about why the vaporator isn't working.
4 条留言
Dampiir 3 月 27 日 下午 2:14 
Nevermind I figured it out.
For anyone else wondering, this replaces the original one
Dampiir 3 月 27 日 下午 1:56 
Can I use this as well as the original one or is it one or the other? I currently have both but I'm not seeing yours show up in G screen to build it?
jarhead 2 月 12 日 上午 11:47 
i'm getting a mod warning "blockvariants obsolete use block groups instead"
jarhead 1 月 22 日 下午 8:16 
To make more "efficient" = can you make it so the "position check" is to within 5 meters and (I'm not sure how long 100 ticks is) have the time between checks be somewhere around 5 seconds?