Space Engineers

Space Engineers

BatteryStatus
38 則留言
Freaky 2024 年 9 月 3 日 上午 8:56 
how to use this in game ?XD
shadow2121 2022 年 9 月 1 日 下午 12:26 
this is really cool thancks for macking this
Lycanine 2020 年 1 月 31 日 下午 4:54 
thank you @DMOrigin
DMOrigin  [作者] 2020 年 1 月 31 日 下午 3:58 
No, this isn't possible. But there is an alternativ script, that includes the functionality of this script. It is my new script: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1984514349
Lycanine 2020 年 1 月 31 日 上午 5:18 
Hello, How do I change the Title to something else instead of "Battery Status"? I'd like to have the name of my vehicle instead.
DMOrigin  [作者] 2019 年 11 月 15 日 上午 7:58 
I don't know. I don't use any modded batteries. But, if this mod is using the mod interfaces in a correct way, then there shouldn't be any problems.
Cronyx 2019 年 11 月 14 日 下午 8:58 
If I'm using modded batteries, is that going to be an issue?
Pax'Jarome 2019 年 10 月 7 日 下午 1:14 
Thanks a lot, works great!
Yann-Cook 2019 年 6 月 3 日 下午 2:45 
I dont manage to show only the battery with [nametag] in their name, even after running with argument"readConfig" any hint ?
harrycheez 2019 年 5 月 20 日 上午 5:04 
How can I display this on one of the cockpit LCDs?
DMOrigin  [作者] 2019 年 5 月 19 日 上午 6:08 
:D
psylhos 2019 年 5 月 19 日 上午 5:26 
ok i'm an idiot, I was thinking that the nametag for the lcd was Battery Status LCD instead of [Battery Status LCD].
so it work perfectly with the scare bracket :D
i'm a moron, thanks and have a good day lol
psylhos 2019 年 5 月 18 日 下午 5:43 
also if I set OnlyWithNametag to false in the battery section it can see the batterys :

https://i.imgur.com/AgnIp7o.png
psylhos 2019 年 5 月 18 日 下午 5:37 
Thanks for your reply :)
Yes the lcd is on the same grid as the programmable block, here's the name of the lcd :
https://i.imgur.com/U9Ezc6U.png

the line of configuration :
https://i.imgur.com/ZCUOv0P.jpg

and the programmable block :
https://i.imgur.com/ijOtsDQ.png


DMOrigin  [作者] 2019 年 5 月 18 日 上午 6:28 
Is the LCD Panel part of the same construct as your script?
Can you print the name of your LCD Panel und the line of your configuration? Or do some screenshots :)
psylhos 2019 年 5 月 18 日 上午 1:19 
Hello, I have trouble with the script :

With the default parameters it can see my battery but not my lcd, if I use the nametag options on the batterys, the script doesn't see them. No matter what I do, the script never found the lcd panel.

I dont know what i am missing or what i am doing wrong (I tryed restoreDefault, then change the nametag, then readConfig).
DMOrigin  [作者] 2019 年 5 月 1 日 上午 8:06 
This script dosen't edit the name. I know only one script that do this, and this is the script Isy's Solar Alignment Script
saelfaer 2019 年 5 月 1 日 上午 3:52 
I could have sworn this script also edits the battery names to show percentages but it doesn't seem to do this in my new gameplay... am i mistaking this with another script?
ummthingy 2019 年 4 月 25 日 下午 6:04 
This is great. Now could you look at Lightwolfs Oxy/Hydo status scripts next.
DMOrigin  [作者] 2019 年 4 月 21 日 下午 12:03 
Fixed: An issue inside the filtering function. This caused the wrong batteries to be filtered out or not filtered out.
Merc 2019 年 4 月 20 日 下午 12:28 
I tried that on top of disconnecting every possible ship from the station. Once owngrids is set to true, it does not pick up the station batteries. I had to set it to false and tell it to use the name tags to work properly. I wasn't aware that i had to run those commands so thank you.
DMOrigin  [作者] 2019 年 4 月 20 日 下午 12:00 
Try the following. Go to you programmable block and press 'k' to open the control panel. Then type "restoreDefault" into the argument field and press "Run". This will overwrite your settings to the default.

Then press on "Custom Data" and change the settings "OnlyLocalGrid" to "true". After that type "readConfig" in the Argument field and press "Run". Maybe you forgott to reread the settings. This one will not be read automaticaly.
Merc 2019 年 4 月 20 日 上午 11:53 
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1718483741
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1718483823

Screenshots, if i turn off nametags it will show all batteries including through connectors
Merc 2019 年 4 月 20 日 上午 11:48 
Yes, tried every variation. nametag doesnt appear to work "NameTag=[Battery-Status] "
DMOrigin  [作者] 2019 年 4 月 20 日 上午 11:43 
Did you set OnlyLocalGrid=true under the "battery" section?


[battery]
OnlyLocalGrid=true

The setting "OnlyLocalGrid" exists in two section, "battery" and "lcd".
Merc 2019 年 4 月 20 日 上午 9:39 
I can't get it to display my localgrid only regardless of settings. It still picks up connected grids via connectors.
smartbadger 2019 年 4 月 12 日 下午 12:17 
Lol - nice catch. Thanks for the fix :)
DMOrigin  [作者] 2019 年 4 月 12 日 上午 10:42 
Oh... found the issue... it's a typo :D I forgot the "e" in the setting "Widescreen". If have fixed this. But you can also fix it by your own. Change the setting in your CustomData field from "Widscreen" to "Widescreen" and everything is fine.
DMOrigin  [作者] 2019 年 4 月 12 日 上午 9:14 
I see it. Strange. Maybe it's an issue of the script that comes with the last patch. I will check this :)
smartbadger 2019 年 4 月 11 日 下午 8:11 
I'm having trouble getting this to display correctly on a widescreen LCD. It just uses one side, until you have more than 50 batteries, and then the last row of battery icons go on to the rest of the screen, and right off the end.
Am I doing something wrong? I am setting widescreen = true, but it doesn't seem to work.
Smokebuddie 2019 年 4 月 9 日 下午 5:41 
Thanks for posting this dude. I've been breaking my head on the old one to fix the errors.
Great job!!! :steamhappy:
TiGeR 2019 年 3 月 31 日 上午 1:27 
@DMigryna
Ok, thank you very much for your answer and best regards
DMOrigin  [作者] 2019 年 3 月 30 日 下午 6:20 
No you can't do this with one instance of the script. Currently it is only possible to place 2 programmable blocks and select the battery with the lcd.
Programable Block 1 => Battery 1 + LCD 1
Programable Block 2 => Battery 2 + LCD 2

This script generate the graphical data only once and setting up all available lcd panels.
TiGeR 2019 年 3 月 30 日 上午 9:58 
Hello
Can I assign one battery in a script for one specific LCD panel? (battery 1+ LCD 1, battery 2 + LCD 2)
I try to do it and I can not do it :)
greetings
DMOrigin  [作者] 2019 年 3 月 25 日 上午 8:07 
You use the https://github.com/dmorigin/se_mod_battery_status/blob/master/BatteryStatus/Program.cs . This includes all whitespaces. Visual Studio replaces a tab with 4 spaces. If you want to use this code, you need to remove all the whitespaces. Therefore, use the code of the https://github.com/dmorigin/se_mod_battery_status/blob/master/Release_Version.cs . In that file all whitespaces are removed. Or use the workshop item directly.
Kaizen 2019 年 3 月 24 日 下午 8:52 
When I paste the script into the program block editor, I get a warning message saying the text is too long.

Apparently its about 8000 characters over the limit.
DMOrigin  [作者] 2019 年 3 月 21 日 上午 9:34 
Thanks for your agreement. To the other script. I don't know. I don't know this script currently. It looks like it's working exactly like the battery status script. I need to inspect it before I can say more.
Helmann 2019 年 3 月 21 日 上午 4:05 
Thank you for updating this script. One of my most used. Are you going to update Lightwolf's Hydrogen and Oxygen Status script also? They still work ok but have some inconsistencies.
Thanks again for the update.