Page 1 of 1
take_screenshot flag for train status text
Posted: Sun Jun 25, 2023 9:01 pm
by drdozer
tldr
Add toggle to take_screenshot to disable rendering of the train status text
What?
Add a flag `take_screenshot(..., show_warning_text::boolean? default=true)`. When the flag is true (or default), capture the floating text. When the flag is false, do not render the text.
Why?
During the take_screenshot rendering, it captures the "floating" text associated with trains, like "no path" or the train limit warning. These floating texts really screw with the visuals of time-lapse rendering. They flash, or flicker, or become far more visually attention-grabbing than the actual factory. Having the option to toggle them off during screen captures would let us get rid of them in this use-case.
epilogue
I don't really care if this toggle is specific to train text or also covers things like the text that bubbles up on damage or picking up items. If those get caught up as collateral then I'm fine with that.
Re: take_screenshot flag for train status text
Posted: Sun Jun 25, 2023 9:13 pm
by Stringweasel
IMHO the train status should be in the tooltip, just like all the other information in the game. Not a random floating text. Then we wouldn't have this odd issue

Re: take_screenshot flag for train status text
Posted: Mon Jun 26, 2023 12:27 pm
by curiosity
Stringweasel wrote: Sun Jun 25, 2023 9:13 pm
IMHO the train status should be in the tooltip, just like all the other information in the game. Not a random floating text. Then we wouldn't have this odd issue
Train status is not updated often enough for that, IMO. It would mislead players into thinking it updated every tick.