Space Engineers

Space Engineers

评价数不足
Simple H2 Tank Level Check - Refill
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
206.325 KB
2021 年 2 月 1 日 上午 8:38
2021 年 2 月 2 日 上午 8:55
2 项改动说明 ( 查看 )

订阅以下载
Simple H2 Tank Level Check - Refill

描述
A simple script that Checks the H % full level of a tank or tanks in a group name and if too low starts the Gas Generator(s) in a group until the tank is at a set % full level.

Using this will keep your H-Tanks from dropping too low and leaving you short of fuel in an emergency.

Helps you save power too! Generators wont run if not needing to.

Currently set for engage at lower than 25 % and disengage at 75 % filled.

Setup.......

Place your Tank(s), your O2H2 generator(s) and your programing block.

Put the Tank(s) in a group named "H2Tanks" without the quotes

Put the Gas Generator(s) is a group named "H2Gens" without the quotes

Load the script into the programing block.

And off it goes. if your missing a group etc it will let you know in the status side bar of the programing block.

NOTE - If you have multiple Tanks in the group, it triggers only when ALL the tanks are below the threshold percentage and stops when ALL tanks are at the cut off level.

Script generated with the online Visual Script Generator for Space Engineers at

http://dco.pe/vsb/

Oxygen version here - https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2370258786
1 条留言
slipcasedrock2 2023 年 1 月 20 日 下午 11:13 
hmm, see if i can get this to work.lol. looks great.