Page 1 of 1

Freehand lasso selection

Posted: Sat May 04, 2024 7:45 am
by typecasto
TL;DR
Allow the player to switch between freehand lasso and rectangular lasso for the selection tools.
What ?
I suggest adding a way (probably a keybind) to switch between the rectangular lasso (that currently exists) and a freehand lasso, for all the existing "selection tools", e.g. deconstruction/upgrade planners, blueprints, and modded selection tools.
factorio lasso.png
factorio lasso.png (1.64 MiB) Viewed 500 times

The shape is made closed by connecting the start and endpoints, for instance if the player drew the red line below, the blue line would be used to complete the shape.
2024-05-04_02-17.png
2024-05-04_02-17.png (194.7 KiB) Viewed 500 times
This would also make it so that drawing just a single line would deconstruct just entities in that line, which is often useful with the rectangular selection tool (for belts) and would now be usable for diagonals as well (rails).
The selection should exist in the world space, so the player can walk around while making it in case it doesn't fit on one screen (though this would make zooming in do unexpected things if you weren't in the map view, maybe disallow zooming in this case).
It might also be a good idea to shade this region so that it's more clear what it's going to affect.

Why ?
  • Selecting things near diagonal rails (or diagonal rails themselves)
    2024-05-04_02-26.png
    2024-05-04_02-26.png (497.72 KiB) Viewed 500 times
  • Copying part of a build that isn't rectangular
    2024-05-04_02-35.png
    2024-05-04_02-35.png (536.73 KiB) Viewed 500 times
    2024-05-04_02-38.png
    2024-05-04_02-38.png (341.83 KiB) Viewed 500 times
Screenshots from the mod Krastorio 2

Re: Freehand lasso selection

Posted: Sat May 04, 2024 5:16 pm
by Illiander42
Unrelated, but which loader mod is that? (looks really cool, wanting to grab)

Re: Freehand lasso selection

Posted: Sat May 04, 2024 6:39 pm
by BrainGamer_
Illiander42 wrote:
Sat May 04, 2024 5:16 pm
Unrelated, but which loader mod is that? (looks really cool, wanting to grab)
that looks like AAI Loaders

Re: Freehand lasso selection

Posted: Mon May 06, 2024 7:42 pm
by ChefOfRamen
Add this one to "why don't we have this yet". This looks like an extremely useful tool.