FAForever / fa

Lua code for FAF
224 stars 231 forks source link

The minimap draws range rings and network stats #4873

Open Basilisk3 opened 1 year ago

Basilisk3 commented 1 year ago

Describe the bug Currently, the minimap draws range rings. This is not very useful and potentially a performance hog.

To Reproduce Select a UEF or Seraphim ACU. You will be able to see a yellow outline on the map, which indicates the ACU’s TML range. On 5x5 maps you can even see all of the ACU’s range rings.

Garanas commented 1 year ago

@Strogoo is this something we can tackle?

lL1l1 commented 1 year ago

I use this to view TML and arty ranges when placing buildings while zoomed in.

Basilisk3 commented 1 year ago

That is a pretty inaccurate way of checking the range, and I personally don't recommend doing it like that for these buildings, as they are expensive. But fair point, you can do that. This is still an edge case, however, and for almost all other units, this feature isn't useful. Smaller rings (f. ex. the minimum range of a tech 3 arty or the range of a tech 2 arty) also look pretty awful on the minimap, especially when the circle is rendered over water.

Basilisk3 commented 8 months ago

Another small detail: ren_ShowNetworkStats (the overview which opens itself on the top right of your screen when you press F11), is also rendered on the minimap. Obviously, this is useless. Correct me if I am wrong, but it seems like the minimap just copies the regular worldview, which causes these issues.