@magge
well since its a mod you can change it like you want.
if diffTime > 1.0 then
ConExecute('UI_SelectByCategory +nearest COMMAND')
else
ConExecute('UI_SelectByCategory +nearest +goto COMMAND')
local cam = GetCamera('WorldCamera')
cam:SetTargetZoom(150)
end
diffTime is the time between now and the last keypress.
if diffTime > 1.0 then
so the line with "+nearest COMMAND" will be executed if you slowly press the key.
But when you press the key twice inside 1 second the other lines with SetTargetZoom will be executed.
Now, if you want this on every key press, then you can change it.
open this file inside the mod:
\Mods\BetterACUSelectZoom\hook\lua\keymap\misckeyactions.lua
delete everything in this textfile and replace it with this:
function ACUSelectCG()
ConExecute('UI_SelectByCategory +nearest +goto COMMAND')
local cam = GetCamera('WorldCamera')
cam:SetTargetZoom(150)
end
save it, restart the game and try again.