Page 1 of 1

Weird ElectricEnergyInterface behaviour and drain property behaviour

Posted: Fri Jul 17, 2020 11:40 am
by Linver
Hi! I'm trying to create an entity (animated when work) that do nothing more than drain energy from the energy network, and maintain a buffer that will be modified via script for modding purpose.

So for example:
4MW drain
24MW max input
48MW of storage

The best fit prototype should be the ElectricEnergyInterface, but seems that the animation work only if the entity do a postivie work, if put new energy in the system, if consume it the animation didn't work (but work when the entity will be disconnected from the network until the buffer is empty?!)

Try to using Accumulator prototype, seems that accumulators ignore the drain property in the EnergySource

Is impossible do an entity like that?

Re: Weird ElectricEnergyInterface behaviour and drain property behaviour

Posted: Fri Jul 17, 2020 12:15 pm
by Linver
Solved reducing the ElectricEnergyInterface animation speed.