Page 1 of 1
Prototype/Generator to support working_visualisation or idle_animation
Posted: Sun May 12, 2019 12:43 am
by Earendel
The generator type supports having a burner, but there is no way to have a clear on-off state for the entity.
For the base game entities this is OK as they are not burning fuel, they are using steam, and the animation speed is enough of an indicator.
For anything with a burner however, if you have any kind of lighting effect in the entity sprites and the animation stops it looks like the entity is still running.
Other machines either use a working visualisation or idle animation for this, so can either of these be enabled for the generator type? Working visualisations have the advantage or allowing additional lighting effects so they would be preferred.
Re: Prototype/Generator to support working_visualisation or idle_animation
Posted: Sun May 12, 2019 8:53 am
by Deadlock989
Yes please. +++1
Also mining drills, same use case - burner drills with a furnace glow or electric drills with indicator lights.
Re: Prototype/Generator to support working_visualisation or idle_animation
Posted: Sun May 12, 2019 9:17 am
by Bilka
I don't think this is very likely to happen (I'm no graphics guy though), so I want to point you to
https://wiki.factorio.com/Types/EnergyS ... ht_flicker which should hopefully help with indications of the working state.
Re: Prototype/Generator to support working_visualisation or idle_animation
Posted: Sun May 12, 2019 9:33 am
by Deadlock989
Yeah, we asked for mining drills before, and posila wasn't very enthused by it, as there is no vanilla use case. But it would greatly expand the options available to modders if drills and generators could have more parity with assemblers and furnaces. Better options for modders = better mods = more sales of the base game, albeit in a very indirect relationship.
The flickering light certainly helps - except during the day when it basically doesn't. Also, it niggles me that the light isn't really coming from anything that looks like it might be a light source. You can't have anything that looks like a light or a burner on an electric generator/drill, because when the generator stops moving, the lights just freeze in place, powered or not, burning or not.
Re: Prototype/Generator to support working_visualisation or idle_animation
Posted: Tue May 14, 2019 8:02 am
by Rseding91
As Bilka said - this isn't likely to happen. Assembling machines/furnaces have extra state data to make it work with them and we aren't going to be adding extra state data to entities just for visual logic just for modding support.
Re: Prototype/Generator to support working_visualisation or idle_animation
Posted: Sat Dec 07, 2019 8:32 am
by Bilka
I added idle_animation and animation support to the burner generator for the next version.