Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Consider making resbar "<<<" show net income

Open rlcevg opened this issue 9 years ago • 24 comments

http://zero-k.info/Battles/Detail/443810 fail_energy The energy bar never goes down yet net worth is negative.

rlcevg avatar Jan 17 '17 22:01 rlcevg

This is working as expected. The energy bar shows pull, not expenditure. You probably have 32 buildpower working (looking at your metal bar) which pulls 32 energy. You then have 3 overdrive pull and 0.8 other pull. The constructor pull is not fully realized as expenditure due to your lower metal income so it only expends 20.9 energy.

GoogleFrog avatar Jan 18 '17 00:01 GoogleFrog

Maybe the bar should show pull only on resource that stalls (more)

Licho1 avatar Jan 18 '17 07:01 Licho1

Showing real pull is useful and consistent. The pull tells you that you will be able to spend your metal when you increase your BP.

GoogleFrog avatar Jan 18 '17 08:01 GoogleFrog

Eem, showing real pull is useful (maybe not consistent): with 23-35.8 energy it's kinda unsafe to build cloaky units, but who would guess that the real deal is 23-24.7. I think it's showing prognozed or theoretical pull at ideal conditions. Not going to argue about terms or what is better. Thanks for explanation, i can fix some AI stuff now.

EDIT: I had strange behaviour with older ZK versions, like peaks of N.0k as energy pull value while energy bar didn't drop down. I couldn't reproduce it anymore. The thing to improve maybe is "<<<" sign to appear only on stalling (as i understood Licho's suggestion). Energy stalling condition: metalIncome - metalPull > energyIncome - energyPull Otherwise this issue may be closed.

rlcevg avatar Jan 18 '17 10:01 rlcevg

The way it works is all but useless. What's the point of showing total pull and not actual expenditure, and not showing net income at all? If you want to show build power it should be shown separately as an actually meaningful number. Pull is exceptionally unmeaningful because it includes both build power and things like overdrive, which is extremely misleading in ZK.

aeonios avatar Feb 10 '17 00:02 aeonios

There was a recent discussion in #zk about this, possibly @GoogleFrog will have something new to say (or if not then close the ticket?).

sprunk avatar May 12 '17 15:05 sprunk

The discussion in #zk was not about this.

GoogleFrog avatar May 16 '17 07:05 GoogleFrog

If we're going to continue talking about this then everyone is to use this: https://github.com/ZeroK-RTS/Zero-K/wiki/Resource-Glossary

The discussion in #zk was about how Topkack wants the resource bars to show capacity as a number instead of as an arrow (citing Supcomm as a game that does this). Our old resource bar showed capacity as a number.

This ticket has @rlcevg and @mtroyka disputing that capacity is a useful number. The want to show net instead (or perhaps flow, that has not been clarified).

GoogleFrog avatar May 16 '17 07:05 GoogleFrog

holy shit that is unintuitive

Topkack avatar Jun 27 '17 22:06 Topkack

What is unintuative?

GoogleFrog avatar Jun 28 '17 03:06 GoogleFrog

Presumably, showing capacity instead of net.

sprunk avatar Jul 11 '17 18:07 sprunk

By the way, the ticket isn't about doing the change. It is about considering the change. That is why I added it to the milestone.

GoogleFrog avatar Jul 11 '17 23:07 GoogleFrog

Showing net is meaningless you lose too much information ... it has been tried and previous resbar had the option

Licho1 avatar Jul 13 '17 07:07 Licho1

Why not show both? When pull doesn't equal expenditure, show expenditure in brackets, in smaller font and different color.

gajop avatar Aug 01 '17 09:08 gajop

Showing two would require some way to convey what each of them means.

Of course this problem already exists to some extent - I believe most people who don't otherwise know would assume this is net, which is a much more familiar concept - but the question does not pop up until someone notices the discrepancy (which then looks bugged, see the original title of this ticket).

I think a trivial improvement here would be to add an option toggle but that still leaves the question of its default.

sprunk avatar Aug 01 '17 09:08 sprunk

Option still exists to change what it shows depending on stall status .. energy is not stalling so it could show net, metal is it would show pull.

Licho1 avatar Aug 03 '17 23:08 Licho1

showing pull for metal wouldn't be very consistent, and also it would be misleading if you were in estall. Also if the arrow marks are going to show net income then the numerical drain values should show actual expenditure rather than pull values.

I'm still of the opinion that bp usage should be displayed separately, so as to be as straightforward and intuitive as possible.

aeonios avatar Aug 04 '17 09:08 aeonios

You dont understand. If you stall metal, show net for energy. If you stall energy, show net for metal. That way it wont show high storage + high pull when you are stalling other resource.

Licho1 avatar Aug 04 '17 15:08 Licho1

In effect, show the pull only for resource you currently stall (most)

Licho1 avatar Aug 04 '17 15:08 Licho1

I think the meaning of a number shouldn't change depending on some other condition, especially without any intuitive explanation.

sprunk avatar Aug 04 '17 15:08 sprunk