This is a problem I have from time to time. In the image below, there are actually two fleets. They apparently aren't close enough together see both when you click on the top one. But nothing I can do will allow me to select the one that's under it. So in this case I'd like to change the destination of both fleets to somewhere else. But I can't get the larger fleet selected.
Fleet overlay
Moderator: Oberlus
Forum rules
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Re: Fleet overlay
If zooming in doesn't work, and there is not a more elegant GUI solution, I guess it would be good to be able to click-n-drag-select fleets.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Fleet overlay
A workaround is to use the objects window to select the fleet. Double-clicking a fleet in the objects list should select it in the fleets window. You can also add / sort by columns for the next system a fleet is moving to, or the nearest system to the fleet.
- Attachments
-
- objects window for fleets
- objects_fleets.png (110.66 KiB) Viewed 2178 times
-
- Programmer
- Posts: 389
- Joined: Sun Feb 14, 2016 12:08 am
Re: Fleet overlay
Agree this can be annoying, could also use hotkey (alt + f / g, or ctrl + f / g).
In addition to group selection, another thought is to add fleets within a small radius to fleet window when selecting from map.
In addition to group selection, another thought is to add fleets within a small radius to fleet window when selecting from map.
Re: Fleet overlay
Yes, I think this is the way to go (and to avoid weirdness if two ships are technically close due to being near their destination system, but actually approaching on different starlanes, I would only include fleets that are either (i) in the same system or (ii) on the same starlane and within something like 5-10 uu, probably best dependent on zoom level, maybe even have the threshold calculated from zoom level and fleet button size.dbenage-cx wrote:In addition to group selection, another thought is to add fleets within a small radius to fleet window when selecting from map.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
-
- Juggernaut
- Posts: 854
- Joined: Wed Aug 26, 2015 6:15 pm
Re: Fleet overlay
Sorry, I was away. Thanks for the tips. I'll mark the thread for next time it comes up.
Re: Fleet overlay
I started a branch to address this last fall, in the manner Dilvish described. I will look into completing it.
Re: Fleet overlay
I've pushed a pull request, PR that closely implements Dilvish's suggestion.
Fleets at or departing from systems should be unchanged and are grouped by system and empire.
When a moving fleet button is selected the fleets from all touching fleet buttons on the same starlane are included in the fleet window. This may include fleets from differing empires. All moving fleets that are not on a starlane are handled separately in the same manner.
The PR also changes the tracking behavior of the fleet window, so that it will try to follow moving fleets provided that they stay close together. Otherwise it will close the window.
Fleets at or departing from systems should be unchanged and are grouped by system and empire.
When a moving fleet button is selected the fleets from all touching fleet buttons on the same starlane are included in the fleet window. This may include fleets from differing empires. All moving fleets that are not on a starlane are handled separately in the same manner.
The PR also changes the tracking behavior of the fleet window, so that it will try to follow moving fleets provided that they stay close together. Otherwise it will close the window.