Space Engineers

Space Engineers

Energieverbrauchsanzeige
65 Comments
giorgiobusoni 31 Aug, 2022 @ 5:45am 
Also, I run into problems when I use solar panels on rotor with script to align them, as they belong to a different grid. Turning the setting for considering only won grid to false does not solve issue, cause in that case I don't get right the time for battery discharging, as it then counts docked ships as well. Would be nice to be able to include power generators from other grids based on group or connection...
giorgiobusoni 31 Aug, 2022 @ 4:09am 
could you add switch on/off of hydrogen engines as well?
rubinknoepfel  [author] 8 Aug, 2022 @ 12:09pm 
With the new version, I hope I can learn more about the problem. Please send me the new error output.
scorpio130386 25 Jul, 2022 @ 5:32am 
same probleme like Kaos...
--Kaos-- 25 Aug, 2021 @ 11:12am 
@rubinknoepfel Hi matey, I just downloaded the script to my base, checked code, and then the error appears in UI menu of the prog block. I have a few scripts on but ive turned all of them off... recompiled n still the same error ... i have a few mods too but nothing power related
rubinknoepfel  [author] 24 Aug, 2021 @ 2:08pm 
@--Kaos-- Seems to work at me. Can you describe your setup a little bit more? Do you have any mods installed? Do you have other scripts in use?
--Kaos-- 20 Aug, 2021 @ 11:20am 
doesnt work

caught exception during execution of script : object reference not set to and instance of an object at program...cTor()
dragonsphotoworks 24 May, 2021 @ 6:10pm 
Ah ok thank you for reply.
rubinknoepfel  [author] 20 May, 2021 @ 9:43am 
@dragonsphotoworks this ist currently not possible...
AL 9 May, 2021 @ 5:17am 
Hallo rubinknoepfel,
Ich konnte endlich testen. Nach meiner Einschätzung funktioniert die eingebaute Einschränkung genauso, wie ich sie mir gewünscht habe.
Wenn ein Miner andockt und die Batterien der Basis leersaugt, springt der Wasserstoffmotor an, sobald die Batterien der Basis unter den eingestellten Wert fallen - und nicht erst, wenn der Miner mit vollen Batterien wieder abfliegt.

Vielen vielen Dank!
Gruß AL
dragonsphotoworks 6 May, 2021 @ 5:03pm 
How do i set it to use Top left screen in small grid industrial cockpit?
AL 7 Apr, 2021 @ 1:33pm 
Ups, ich komme aktuell nicht so zum Spielen, wie ich gerne würde...
Ich habe es mir notiert und melde mich, sowie ich ein Ergebnis habe.

Danke für deine Mühe!

Gruß AL
rubinknoepfel  [author] 15 Mar, 2021 @ 2:33pm 
Hi AL, ich habe eine Einstellung für die Beschränkung auf das eigene Grid eingebaut. Ich wäre froh wenn du es mal testen könntest.
AL 14 Mar, 2021 @ 2:27pm 
Hallo rubinknoepfel, das Skript läuft auf der Basis. Ich würde den Ladestand gerne zwischen 75% und 90% halten. Da die Basis auf einem Eissee liegt, ist Wasserstoff kein Problem...

Das mit der Beschränkung auf das eigene Grid würde meine Probleme lösen. Den Ladezustand schalte ich aktuell von Hand ein, nachdem ich angedockt habe.

Danke für deine Antwort

Gruß AL
rubinknoepfel  [author] 4 Mar, 2021 @ 2:43pm 
Hallo AL, lauft das Skript auf der Basis oder dem Miner? Du hast recht, der absolute Ladestand ändert sich nicht, wenn leere Batterien angeschlossen werden. Allerdings sinkt der prozentuale Anteil ab, da jetzt ja mehr Gesamtkapazität vorhanden ist. Wenn der prozentuale Anteil unter die eingestellte Grenze sinkt, werden auch die Reaktoren aktiviert. Kommt halt drauf an, ob es reicht. Auf welchem Level würdest du die Batterien gerne halten?

Eine einfache Möglichkeit wäre, dass das Skript nur die Blöcke des eigenen Grids berücksichtigen. Diese Einstellung habe ist bereits bei meinem Inventar-Skript implementiert. Ich habe bei mir zusätzlich ein Skript auf meinen Fahrzeugen am Laufen, welches die Batterien automatisch auf aufladen stellt. Dadurch laden die Fahrzeug schnellstmöglich auf und die Batterien der Basis entladen sich. Zusammen mit der genannten Anpassung des Skripts werden auch die Reaktoren früher aktiviert.
AL 27 Feb, 2021 @ 5:44am 
Prima Skript, nach so etwas habe ich lange gesucht...

Gibt es eine Möglichkeit, die zu berücksichtigten Batterien irgendwie einzuschränken?
Ich möchte, das das Skript die Motoren / Reaktoren anwirft, wenn ein Miner mit leeren Batterien zurückkommt und dann im Auflademodus die Batterien der Basis leersaugt. Aktuell passiert das nicht, weil die Batterien des Miners zur Basis mitgerechnet werden. Es findet also nur eine Verschiebung der Ladung statt, aber am Ladestand der Basis ändert sich kaum etwas.

Hier wäre es toll, wenn man das Skript auf die Batterien der Basis beschränken könnte, so dass bei Erreichen der Untergrenze der Reaktor anspringt.

Ideal wäre die Steuerung über einen Gruppennamen.

Danke für deine Mühe!
Voss 11 Jul, 2020 @ 9:47am 
the name alone is worth the sub
:D
srm 20 May, 2020 @ 9:08am 
no problem
rubinknoepfel  [author] 20 May, 2020 @ 8:50am 
Sorry for the late answer
srm 20 May, 2020 @ 8:43am 
Nice, thank you
rubinknoepfel  [author] 20 May, 2020 @ 8:33am 
wind turbines added
srm 7 May, 2020 @ 1:43pm 
Yes add turbine please
[GNS] C4 20 Apr, 2020 @ 1:17pm 
Any update on when wind turbines will be added?
rubinknoepfel  [author] 25 Mar, 2020 @ 5:38pm 
coming soon
Gnodul 23 Mar, 2020 @ 7:22am 
Can we add the wind turbines ( wind)?
rubinknoepfel  [author] 13 Feb, 2020 @ 1:28pm 
@swordfish: updatet
SalazarWindriver 15 Jan, 2020 @ 3:24pm 
Change the public text to power, says it right in the config section
Riven, Consumer of Ramen 7 Jan, 2020 @ 5:06am 
what is the title that i add to lcd screens for it to show on them please i need to know
Radex 20 Apr, 2019 @ 11:53am 
Nice good job
LordNavarre 17 Apr, 2019 @ 12:20pm 
This mod is out of date, please update
rubinknoepfel  [author] 17 May, 2018 @ 2:19am 
The value "maxBatteryLevel" defines now when the reactors have to switched off. If the battery level is above this value the reactors are switched off.

Thanks to Katash for the idea.
rubinknoepfel  [author] 17 May, 2018 @ 2:04am 
@Katash: Good point, I will implement that.
Katash 9 May, 2018 @ 5:10pm 
is there any way you can change the reactor control so that once they are switched on after batteries fall below 10% they stay on until batteries have recharged to another user set value (say 100%)

At the moment my batteries discharge to 10%

Reactors start

Batteries recharge back to 10%

Reactors switch back off

this is happening about once every 2 seconds and is a bit annoying
rubinknoepfel  [author] 6 Mar, 2018 @ 6:23pm 
Copper Boltwire: What do you mean? Can you descripe your problem e little bit more accurate?
rubinknoepfel  [author] 6 Mar, 2018 @ 6:21pm 
RiP_CoRd: Does the self-update function of any other script work?
rubinknoepfel  [author] 6 Mar, 2018 @ 6:19pm 
PainfulCh3ese: Set the the public title of the lcd to "Power" (without "" and with a capital P)
RiP_CoRd 4 Mar, 2018 @ 1:48pm 
The LCDs dont seem to be updating by themselves, is this a bug?
Copper Boltwire 28 Feb, 2018 @ 12:21pm 
I got a problem with this mod: It does not make good toasts... it either burns them or does nothing, please fix.
PainfulCh33se 28 Feb, 2018 @ 8:40am 
sorry if i'm bad at java scripts
PainfulCh33se 28 Feb, 2018 @ 8:38am 
Changed in power? what does that mean exactly? does that mean the function or the name of the lcd or...
Copper Boltwire 12 Feb, 2018 @ 7:52pm 
Never learnt German, but as i read your messages, i actually freaking undersand it, wtf?! I mean, sure i watch a lot of RTL and other german channels here in Denmark, but never learned to read, write or speak it, yet when i DO read it, i make sense of it. It's a really weird experience to me. I'm highly entertained by this!
rubinknoepfel  [author] 12 Feb, 2018 @ 7:05pm 
Kein Ding, jeder ist mal neu ;)

Ja das habe ich mir auch scho überlegt. Wie lange die Batterie noch reicht wäre kein Problem, aber bei den Reaktoren und dem Uranverbrauch könnte es komplizierter werden. Mal schauen, was ich de noch hinkriege.
xXFreeFunXx 12 Feb, 2018 @ 6:59pm 
JA !!!! Perfekt hat geklappt :D Ich danke dir.
Verzeih mir aber bin noch am Anfang und wusste noch nichts von solchen Funktionen in dem Spiel. Habe ja gerade mal die Blueprinds enteckt ^^

Das einzige was mir noch fehlt wäre eine Optionale anzeige wieviele Tage der Strom Reicht so wie Rechts Runten wenn man in einem Sitz sitzt oder in einer Kryokammer!
rubinknoepfel  [author] 12 Feb, 2018 @ 6:52pm 
Dies ist ein Ingame Skript. Das heisst, du musst im Game einen Programmierbaren Block bauen und dann dieses Skript darin ausführen. Es tut mir leid, ich habe nicht daran gedacht, dass das nicht unbedingt klar ist. Ich werden die Anleitung anpassen.

Also im Programmierbaren Block (im Terminal, wo du auch den Public Title das LCDs ändern kannst) klickst du dann auf Code Editor und danach unten rechts auf Workshop. Falls du mein Skript aboniert hast, sollte es dann rechts in der Liste erscheinen. Doppelklick darauf, kompilieren (sollte keine Fehler geben) und dann auf behalten klicken. Der Code Editor schliesst sich und dann muss du nur noch auf Ausführen klicken.

Ich hoffe es klappt dann.
xXFreeFunXx 12 Feb, 2018 @ 6:42pm 
Nein! Wie geht das? Warum steht das nicht genauer da als Anleitung? Und wo bekomme ich das Skript her?
rubinknoepfel  [author] 12 Feb, 2018 @ 6:39pm 
Hast du das Skript in einen Programmierbaren Block geladen und diesen ausgeführt?
xXFreeFunXx 12 Feb, 2018 @ 6:37pm 
Deiner, also das Skript halt von dir! Habe die ID wie die anderen bei meinen Server hinzu gefügt und da wollte er nicht mehr starten. Habe es jetzt mal Lokal versucht aber da klappt es auch nicht! Am LCD den Public Titel auf Power und es tut sich nichts.
rubinknoepfel  [author] 12 Feb, 2018 @ 6:30pm 
@xXFreeFunXx: Mit welchem Mod?
xXFreeFunXx 12 Feb, 2018 @ 6:22pm 
Mit dem Mod Startet der Server nicht mehr! Kann man das Skript auch irgendwie Ohne Mod Testen?
rubinknoepfel  [author] 12 Feb, 2018 @ 5:57am 
I added self updating (a timer block is not needed anymore). In addition the public text is now showed automaticly on the screens so you don't have to set this manually. Just set the pubic title and run the script once and the the current informations should be shown.

I also did some code improvement and added some comments that hopefully help you to understand the code.