#cannot select units from mid zoom and further out

1 messages · Page 1 of 1 (latest)

eternal sundial
#

like the headline says. cannot select units when zoomed out "too" much. and i must not be zoomed out too far for that to be happened

eternal sundial
#

nobody else having this problem and no ideas what could cause that?

#

playing games like this has become a pain

#

also my rating dropped heavily since that 😣

spring ingot
#

What about shift+select behavior?

final oak
#

i would reset the behaviour (delete settings at worst case), because nobody else experiences this.

however @eternal sundial, you haven't described how do you select units?

I tested the new drag threshold feature, and couldn't select units when the selection box is too small, and I think it also messed up with clicking precisely, but after tuning that value everything is as expected.

that's the only case I experienced not being able to select anything.

plush spruce
#

drag select cares about having the midpoint of a unit inside of the box

#

click select cares about the bounding sphere

#

relcaim cares about the hitbox of a unit

sudden elm
#

Moreso when zoomed out, I sometimes have to try 2 or 3 times before I can get a proper selection box, depending on the terrain and units.

final oak
#

but what i found it affected some selections so I tuned it down myself

#

since i never knew what point I started out (defaults), I didnt bother much later

sudden elm
#

Okay, it feels like maybe the default value is wrong, but not wrong enough to cause huge problems for most people, or at least a problem people can easily repro and report.

final oak
#

it basically doesnt register command unless there is space between pixels

#

idk if you even accidentally did area reclaim instead of regular reclaim

#

like make super small circle

sudden elm
#

I'm asking about documentation so I can 1) find the value and change it myself to make some experiments and 2) put a link to the documentation in the keybind FAQ so that at least it is somewhere people can find out about it.

#

reclaim is another place i have been havin problems with issuing the command. many times i will try to drag a circle and it just doesn't, or it is very delayed to display the circle after i click.

plush spruce
#

i dont know where to look

#

i just know that the behavoirs are inconsistant

final oak
#

yeah i see jazcash issue where he cant deselect with click or somethign too

#

but thats fixed by osu

final oak
#

so don't encounter those things at all

sudden elm
#

not the reclaim issue either?

#

ah, but if you already changed the value, then probably not

final oak
#

for those i reduced what i figured was the minimal

eternal sundial
#

shit+select is selecting all including builders. so i dont use it that often. have to take a look on it if it happens also there.

eternal sundial
#

where in the setting do i find the the drag treshold feature?

final oak
eternal sundial
final oak
#

@eternal sundial looks like it was removed by Beherith.

you can configure still in springsettings.cfg, I'd try reducing these values or check (below is what I'm at, but I think these might be defaults).

MouseDragBoxCommandThreshold = 44
MouseDragCircleCommandThreshold = 32
MouseDragFrontCommandThreshold = 58
MouseDragSelectionThreshold = 32
sudden elm
#

I'll try to test these settings out sometime over the next few days and add a section to the keybind help FAQ about it if needed. I don't think there's elsewhere to find documentation and I think these might be important settings for somep layers to adjust.

hushed bronze
plush spruce
#

this is something that has a post in the #1047235203308986459 about changing the defaults

eternal sundial
#

@final oak u might be right with the selection values after investigating this further. so question. why was it even changed recently?

eternal sundial
#

pls give me some possibility to control this. cause right now its annoying to play if i often have to select 3 or 4 or zooming in before .

#

booah. i want my 4 pixels back

#

@hushed bronze wrote these are reset every launch. to how to change them now?

plush spruce
#

this should still be an exposed option available to the player

#

unless someone removed it

#

there is also a GDT thread on this topic

final oak
plush spruce
#

the reason for why this issue was looked into is that ground attack point was being very picky about working and this was the culprit

final oak
#

if it resets all the games, I guess just put it in the widget, or maybe you can make the file read-only to prevent engine from overwriting values

#

@eternal sundial if it affects you harder, can you tell me your resolution of the screen?

tidal agate
#

is this one the one that is too large?
local baseDragThreshold = 32 Spring.SetConfigInt("MouseDragSelectionThreshold", baseDragThreshold)

tidal agate
#

Anyhow, please play with these three settings, and report back which one needs some tweaking (ping me pls)
local baseDragThreshold = 32 Spring.SetConfigInt("MouseDragSelectionThreshold", baseDragThreshold) Spring.SetConfigInt("MouseDragCircleCommandThreshold", baseDragThreshold) Spring.SetConfigInt("MouseDragBoxCommandThreshold", baseDragThreshold + 12) Spring.SetConfigInt("MouseDragFrontCommandThreshold", baseDragThreshold + 26)

final oak
# tidal agate Anyhow, please play with these three settings, and report back which one needs s...

alright, so what i'm thinking is, given there's been multiple cryptic "can't select bugs opened" and I have 2 monitors (16:9 and 21:9) with the possibility of upscaling to 4k, it's probably best that I test with different zoom levels on multiple resolutions to make sure I can reliably select units playing zoomed out to map (like managing 3 fronts at the time), and selecting single units & report back. FYI @eternal sundial

tidal agate
final oak
tidal agate
#

Hmm, this requires more thought

#

local baseDragThreshold = 16 baseDragThreshold = math.round(baseDragThreshold * (xresolution + yresolution) * ( 1/3000) ) baseDragThreshold = math.max(8, math.min(64, baseDragThreshold)) Spring.Echo("Setting drag thresholds based on resolution", xresolution,yresolution,baseDragThreshold) Spring.SetConfigInt("MouseDragSelectionThreshold", baseDragThreshold) Spring.SetConfigInt("MouseDragCircleCommandThreshold", baseDragThreshold) Spring.SetConfigInt("MouseDragBoxCommandThreshold", baseDragThreshold + 12) Spring.SetConfigInt("MouseDragFrontCommandThreshold", baseDragThreshold + 26)

#

local baseDragThreshold = 16 baseDragThreshold = math.round(baseDragThreshold * (xresolution + yresolution) * ( 1/3000) ) baseDragThreshold = math.max(8, math.min(64, baseDragThreshold)) Spring.Echo("Setting drag thresholds based on resolution", xresolution,yresolution,baseDragThreshold) Spring.SetConfigInt("MouseDragSelectionThreshold", baseDragThreshold) Spring.SetConfigInt("MouseDragCircleCommandThreshold", baseDragThreshold + 16) Spring.SetConfigInt("MouseDragBoxCommandThreshold", baseDragThreshold + 16) Spring.SetConfigInt("MouseDragFrontCommandThreshold", baseDragThreshold + 16)

#

so at 1080p is 16 and 32, respectively