Space Engineers
คะแนนไม่เพียงพอ
Battery & Gas
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
ขนาดไฟล์
โพสต์
อัปเดต
387.820 KB
18 ม.ค. 2021 @ 3: 38am
23 เม.ย. 2022 @ 10: 35am
2 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
Program Battery & Gas
by Seamus Donohue of EVE University
Saturday, April 23, 2022, Space Engineers version 01.200.032

This program displays the current and maximum amounts of energy, oxygen, and hydrogen on the construct (ship or station) on a text surface of all blocks of that same construct whose Custom Data field contains the keyword "BatteryAndGas" (without the quotes). If the block has multiple text surfaces, then a number must be included on the same line in the Custom Data field, such as "BatteryAndGas 0" or "BatteryAndGas 1".

If a block (such as a cockpit) has multiple text surfaces, then the keyword and an integer needs to appear on a single line in the Custom Data for the block.

The arguments "showzero", "hidezero", and "togglezero" control whether this program will display "No Storage" or simply nothing for resource types that don't have any storage blocks present. For example, if the construct does not have any gasoline tanks, then "hidezero" will omit gasoline being mentioned in the display and "showzero" will display "Gas: No storage".

The argument "all" will show the sum total resources for all connected ships and stations.
The argument "ship" will resume the default behavior of only counting the resources of the ship the Programmable Block running this script is located on.
This program does not, under any circumstances, attempt to display information on text surfaces in other constructs.
2 ความเห็น
3dfxorchid 31 ธ.ค. 2022 @ 3: 55pm 
Can you please some Pictures or an sample video pls, to understand
Ryne 7 ก.ค. 2021 @ 6: 14am 
What should I do if I want the information displayed on the LCD?