-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Automatic/Manual/Disabled setting for target line display #16893
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manual target lines work really well for me, it's much cleaner! I could imagine that players find the order flash in RA and TS on snow maps too hard to see, so this might be a topic for the future.
576731c
to
d088841
Compare
Rebased. |
16151ca
to
0853f77
Compare
Added a new commit to readd the time-limited automatic target lines on selection for spectators. |
@@ -716,6 +720,29 @@ static bool ShowStatusBarsDropdown(DropDownButtonWidget dropdown, GameSettings s | |||
return true; | |||
} | |||
|
|||
static bool ShowTargetLinesDropdown(DropDownButtonWidget dropdown, GameSettings s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably outside this scope but the return values for this method is never used, this is also true for all *Dropdown methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outside scope indeed, but added a commit to fix this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise it looks good
0853f77
to
b56d2c6
Compare
Rebased and updated. |
#16616 and followup discussion in the last couple of days in IRC and discord have raised the point that the current target line behaviour is really not ideal. It would be a shame and wasted opportunity if we don't at least try to improve this as part of our queued-order overhaul in the upcoming release.
This PR replaces the "Display Target Lines" checkbox in the settings menu with a dropdown that has three options:
The final commit switches the default behaviour from the TS/RA2 style to the C&C3 style, which dramatically cleans up the UI when commanding unit blobs. The order flash remains to provide visual confirmation of orders, and players who prefer the feedback of the lines are still able to switch back to Automatic in the settings. The so-far limited feedback from IRC and Discord has been inconclusive, so I would like to get this in to the first playtest to trigger wider discussion.
Closes #16892
Closes #5245 (the target lines provide the visual indication)