Skip to content
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

Merged
merged 5 commits into from
Aug 10, 2019

Conversation

pchote
Copy link
Member

@pchote pchote commented Aug 7, 2019

#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:

  • Automatic: Lines are automatically displayed for 2.4 seconds on selection / order, and are always visible while the waypoint mode (shift) is active (TS/RA2/previous-OpenRA style)
  • Manual: Lines are only displayed while the waypoint mode is active (C&C3 style)
  • Disabled: Lines are never displayed (TD/RA1 style)

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)

@pchote pchote added this to the Next Release milestone Aug 7, 2019
ghost
ghost previously approved these changes Aug 7, 2019
Copy link

@ghost ghost left a 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.

@pchote
Copy link
Member Author

pchote commented Aug 7, 2019

Rebased.

@pchote
Copy link
Member Author

pchote commented Aug 8, 2019

Added a new commit to readd the time-limited automatic target lines on selection for spectators.
This partly supersedes the changes from #16876.

@@ -716,6 +720,29 @@ static bool ShowStatusBarsDropdown(DropDownButtonWidget dropdown, GameSettings s
return true;
}

static bool ShowTargetLinesDropdown(DropDownButtonWidget dropdown, GameSettings s)
Copy link
Contributor

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.

Copy link
Member Author

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.

teinarss
teinarss previously approved these changes Aug 10, 2019
Copy link
Contributor

@teinarss teinarss left a 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

@pchote
Copy link
Member Author

pchote commented Aug 10, 2019

Rebased and updated.

@teinarss teinarss merged commit 702f4d1 into OpenRA:bleed Aug 10, 2019
@pchote pchote deleted the target-line-options branch August 26, 2019 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide target lines by default Cursor should show a visual indication if the order will be queued.
3 participants