Page 1 of 1
[Rseding91] why battery not charging?
Posted: Thu Feb 13, 2025 5:56 am
by thekoreanseal
I am in map editor and having armor with portable fission reactor and personal battery MK 3
I sped up to 64x speed and battery charge is 0%
Re: why battery not charging?
Posted: Thu Feb 13, 2025 6:11 am
by SirSmuggler
"I sped up to 64x speed and battery charge is 0%"... for how long?
Any way, my guess would be that it takes quit a while to charge all the discharge defenses (if that's what it is?) and shields, and they would be charged to full before the batterys starrt to receive any charge.
Re: why battery not charging?
Posted: Thu Feb 13, 2025 6:57 am
by Muche
That was my guess as well.
However I went to try to find out the number of defenses & shields it can support and that number is undefined.

- 126814-EditorModePersonalBattery.jpg (76.32 KiB) Viewed 969 times
There seems to be no grid electricity in the editor mode at all.
Re: why battery not charging?
Posted: Thu Feb 13, 2025 7:21 am
by Rseding91
You need to unpause the game in the editor for the grid to update and produce energy.
Re: why battery not charging?
Posted: Thu Feb 13, 2025 1:23 pm
by Muche
Rseding91 wrote: Thu Feb 13, 2025 7:21 am
You need to unpause the game in the editor for the grid to update and produce energy.
I do have it unpaused.
Unless there are two ways to facilitate pausing and the way I am doing it (which allows
game.tick to advance) is not enough.
Code: Select all
1562.763 Script log("tick=" .. game.tick .. ", batteries=" .. g.available_in_batteries):1: tick=1723251, batteries=0
1563.684 Script log("tick=" .. game.tick .. ", batteries=" .. g.available_in_batteries):1: tick=1726493, batteries=0
Re: why battery not charging?
Posted: Thu Feb 13, 2025 1:52 pm
by Rseding91
In your first screenshot it shows the map editor having time paused.
Re: why battery not charging?
Posted: Thu Feb 13, 2025 1:55 pm
by vark111
Muche wrote: Thu Feb 13, 2025 1:23 pm
I do have it unpaused.
Your screen shot says it's paused. The speed section in the Lab controls says "x64 (paused)"
You have to push the play button that's just below that label to unpause it.
Re: why battery not charging?
Posted: Thu Feb 13, 2025 2:48 pm
by Muche
vark111 wrote: Thu Feb 13, 2025 1:55 pm
Muche wrote: Thu Feb 13, 2025 1:23 pm
I do have it unpaused.
Your screen shot says it's paused. The speed section in the Lab controls says "x64 (paused)"
You have to push the play button that's just below that label to unpause it.
I am aware OP's screenshot indicates paused time. That's why I tested it myself.
Here is the result in editor mode, unpaused time:
Code: Select all
175.434 Script log("tick=" .. game.tick .. ", batteries=" .. g.available_in_batteries):1: tick=1762634, batteries=0
178.777 Script log("tick=" .. game.tick .. ", batteries=" .. g.available_in_batteries):1: tick=1776881, batteries=0
Editor mode, paused time:
Code: Select all
234.772 Script log("tick=" .. game.tick .. ", batteries=" .. g.available_in_batteries):1: tick=1786335, batteries=0
239.909 Script log("tick=" .. game.tick .. ", batteries=" .. g.available_in_batteries):1: tick=1786335, batteries=0
Player mode:
Code: Select all
270.598 Script log("tick=" .. game.tick .. ", batteries=" .. g.available_in_batteries):1: tick=1786561, batteries=102543734.21701
273.087 Script log("tick=" .. game.tick .. ", batteries=" .. g.available_in_batteries):1: tick=1786710, batteries=170150001.46628
Re: [Rseding91] why battery not charging?
Posted: Thu Feb 13, 2025 6:35 pm
by Rseding91
I see now, it was broken. It's now fixed for the next release.