Ticket #872 (closed enhancement: fixed)

Opened 2 years ago

Last modified 19 months ago

[PATCH] Display more info for training units

Reported by: pejuko Owned by: brian
Priority: If Time Permits Milestone: Alpha 8
Component: UI & Simulation Keywords: review,simple,patch
Cc: Brian

Description

This patch displays more information in tooltip for units that is possible to train.

Show additionaly those traits:

  • Armour
  • Attack
  • Health
  • Speed

I think it could be useful (especialy for new players) to have more information about each unit you can train.

Attachments

show_more_traits.patch (3.6 KB) - added by pejuko 2 years ago.

Change History

Changed 2 years ago by pejuko

comment:1 Changed 2 years ago by historic_bruno

  • Cc Brian added
  • Component changed from Simulation to Game engine

comment:2 Changed 2 years ago by k776

  • Owner set to pejuko

comment:3 Changed 2 years ago by k776

  • Priority changed from Should Have to Nice to Have
  • Milestone changed from Alpha 6 to Alpha 7

comment:4 Changed 2 years ago by k776

  • Owner changed from pejuko to historic_bruno

comment:5 Changed 2 years ago by k776

  • Priority changed from Nice to Have to If Time Permits

comment:6 Changed 2 years ago by k776

  • Component changed from Game engine to Simulation

comment:7 Changed 2 years ago by k776

  • Owner changed from historic_bruno to brian

comment:8 Changed 22 months ago by k776

  • Milestone changed from Alpha 7 to Alpha 8

comment:9 Changed 20 months ago by historic_bruno

Hmm I started working on this and forgot it was assigned to Brian. Anyway I made some changes to pejuko's patch and it looks like this:

  • Training: http://i.imgur.com/ONeLZ.jpg
    • I changed the costs to be more explicit with the word "Costs" and also put the important stats in a separate section below. I put "Health" first because it's the simplest and most useful stat.
  • Batch training: http://i.imgur.com/GJK4R.jpg
    • Biggest change here is I removed the "Training xx units; Shift-click to train xx units" because I don't think it was helpful and it cluttered up the tooltip. Instead I prefixed the number of units to be trained to the name of the unit in the tooltip, so it appears at the very top.
  • Constructing: http://i.imgur.com/CybDd.jpg
    • I tried to make training and constructing have consistent tooltip layout.

I think this is a good patch not only for new players, but anyone who can't remember exact attack and armour stats for dozens of units :) Of course we can have an in-game tech tree or something that displays the same info, but this makes a quick reference.

(Eventually we could even have basic/advanced UI options like AOK, and hide the extra info with the basic option.)

comment:10 follow-up: ↓ 11 Changed 20 months ago by feneur

Biggest change here is I removed the "Training xx units; Shift-click to train xx units" because I don't think it was helpful and it cluttered up the tooltip. Instead I prefixed the number of units to be trained to the name of the unit in the tooltip, so it appears at the very top.

So your saying we should make it even harder for users to find this =) If anything I think we should mention "Shift+Click to train XX units" even when they're not using batch training so they find out about it if they haven't already. Depends on how much we want users to have to learn before playing the game though, batch training can/should make enough of a difference to be worth mentioning though.

comment:11 in reply to: ↑ 10 Changed 20 months ago by historic_bruno

Replying to feneur:

Biggest change here is I removed the "Training xx units; Shift-click to train xx units" because I don't think it was helpful and it cluttered up the tooltip. Instead I prefixed the number of units to be trained to the name of the unit in the tooltip, so it appears at the very top.

So your saying we should make it even harder for users to find this =)

The way it is currently doesn't make any sense, because it only appears after they use the batch training hotkey. So basically you have to know what you're doing to get help on what you're doing :) We could display the message all the time as you suggest, that's a logical alternative, we just have to decide where to place it that's most visible (without cluttering info for advanced players).

comment:12 follow-up: ↓ 13 Changed 20 months ago by historic_bruno

Alternate design for batch training, the "Shift-click..." message is always displayed: http://i.imgur.com/ge53k.jpg

comment:13 in reply to: ↑ 12 ; follow-up: ↓ 14 Changed 20 months ago by fcxSanya

Replying to historic_bruno:

Alternate design for batch training, the "Shift-click..." message is always displayed: http://i.imgur.com/ge53k.jpg

Now it mixed with unit's description. Maybe it should be on very bottom separated with empty line and with bold 'Shift-click' part?

comment:14 in reply to: ↑ 13 ; follow-ups: ↓ 15 ↓ 16 Changed 20 months ago by historic_bruno

Replying to fcxSanya:

Replying to historic_bruno:

Alternate design for batch training, the "Shift-click..." message is always displayed: http://i.imgur.com/ge53k.jpg

Now it mixed with unit's description. Maybe it should be on very bottom separated with empty line and with bold 'Shift-click' part?

How's this? http://i.imgur.com/ODsH8.jpg

comment:15 in reply to: ↑ 14 Changed 20 months ago by feneur

Replying to historic_bruno:

Replying to fcxSanya:

Replying to historic_bruno:

Alternate design for batch training, the "Shift-click..." message is always displayed: http://i.imgur.com/ge53k.jpg

Now it mixed with unit's description. Maybe it should be on very bottom separated with empty line and with bold 'Shift-click' part?

How's this? http://i.imgur.com/ODsH8.jpg

*thumbsup*

comment:16 in reply to: ↑ 14 Changed 19 months ago by fcxSanya

Replying to historic_bruno:

How's this? http://i.imgur.com/ODsH8.jpg

I like it. Now information related to UI behaviour (about shift-clicking) is separated from unit's description and enough noticeable.

comment:17 Changed 19 months ago by ben

  • Status changed from new to closed
  • Resolution set to fixed

(In [10518]) Adds useful stats to training and construction tooltips, based on patch from pejuko. Fixes #872.

Note: See TracTickets for help on using tickets.