Opened 11 months ago

Last modified 6 weeks ago

#6823 new enhancement

Increase maximum number of units that can be selected at once

Reported by: Rozalija Lilija Owned by: Rozalija Lilija
Priority: Must Have Milestone: Alpha 27
Component: UI – In-game Keywords:
Cc: Rozalija Lilija Patch: Phab:D5041

Description

In 300 pop games (or more), players often need to select more than 200 units at once. The current selection limit can cause micro problems in 1v1 games, as someone might have 70 eco units and 230 fighting units. If a player builds a wonder, then that number will be higher.

However, selecting too many units at a time will cause huge lag, freeze and even crash (only on Windows though).

Therefore we should increase the limit to a more reasonable value, such as 280 or 300. It can be done easily by editing selection.js in public/gui/session.

Attachments (1)

selectionLimit.patch (380 bytes ) - added by Rozalija Lilija 11 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Rozalija Lilija, 11 months ago

Owner: set to Rozalija Lilija

by Rozalija Lilija, 11 months ago

Attachment: selectionLimit.patch added

comment:2 by Rozalija Lilija, 11 months ago

The patch is here:

Index: binaries/data/mods/public/gui/session/selection.js =================================================================== --- binaries/data/mods/public/gui/session/selection.js (revision 27669) +++ binaries/data/mods/public/gui/session/selection.js (working copy) @@ -1,5 +1,5 @@

Limits selection size

-var g_MaxSelectionSize = 200; +var g_MaxSelectionSize = 300;

comment:3 by phosit, 6 weeks ago

Patch: Phab:D5041
Note: See TracTickets for help on using tickets.