Open
Conversation
Add options to allow waypoints to be connected by lines to form routes, and for a player ship to manage up to 4 sets of waypoints. Waypoint sets provide both additional waypoints and means to differentiate waypoints. Each set has a theme-defined color and waypoint icon, defaulting to the EE default icon and the default blue-gray (set 1), red (2), green (3), and cyan blue (4). Waypoint routes connect all waypoints in a set with a line, in ascending ID order. If these options are enabled, this adds controls to Relay and Operations to select a waypoint set when adding or selecting waypoints, and to toggle a waypoint set's route visibility. Existing Lua functions for waypoint management can add, remove, and reposition waypoints in each set by passing the set ID number as an optional last argument. This also adds a Lua function to enable or disable route behavior (commandSetWaypointRoute(bool)). These options are NOT ENABLED by default. This PR should NOT CHANGE default behaviors for players or scenario writers. This PR adds toggles for these options to the "Extra settings" menu available from the ship selection screen, making them OPT-IN at the server level.
Add waypoint visibility, creation, and deletion controls visible when a player ship is selected. This includes a hotkey (default `W`) to toggle waypoint visibility. If visible, waypoints list the callsign of their associated entity beneath their icon, and can be repositioned by clicking and dragging them. If waypoint sets and routes are visible, controls for selecting a set and toggling route visibility are also available. Waypoints are NOT VISIBLE by default. The only waypoint control visible by default is the visibility toggle. This should NOT change default behaviors. Waypoints cannot be selected as the GM screen target.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add options to allow waypoints to be connected by lines to form routes, and for a player ship to manage up to 4 sets of waypoints. Also add GM controls to add, delete, and modify player ship waypoints.
If these options are enabled, this adds controls to Relay and Operations to select a waypoint set when adding or selecting waypoints, and to toggle a waypoint set's route visibility.
Waypoints and routes are also visible on other screens.
Existing Lua functions for waypoint management can add, remove, and reposition waypoints in each set by passing the set ID number as an optional last argument. This also adds a Lua function to enable or disable route behavior (
commandSetWaypointRoute(bool)).This also adds waypoint visibility, creation, and deletion controls to the GM screen, visible when a player ship is selected. This includes a hotkey (default
W) to toggle waypoint visibility.If visible on the GM screen, waypoints list the callsign of their associated entity beneath their icon and can be repositioned by clicking and dragging them. If waypoint sets and routes are visible, controls for selecting a set and toggling route visibility are also available.
These options are NOT ENABLED by default. This PR should NOT CHANGE default behaviors for GMs, players, or scenario writers. This PR adds toggles for set and route options to the "Extra settings" menu available from the ship selection screen, making them OPT-IN at the server level.