Factorio

Factorio

View Stats:
Terramage Dec 6, 2019 @ 5:22pm
Mouse movement
Is there any mod or any plans to make it possible to play with mouse-only or mouse-mostly using the mouse for movement?
< >
Showing 1-9 of 9 comments
AlexMBrennan Dec 6, 2019 @ 5:25pm 
You can always use the on screen keyboard but it's not going to be a fun experience because you simply can't get 104 button mice.
brian_va Dec 6, 2019 @ 9:29pm 
you can remap or add keybindings for movement, perhaps one of those mice with a dozen or so side buttons would get you close enough.
Killcreek2 Dec 6, 2019 @ 9:31pm 
You can try a 3rd-party program.

"AutoHotKey" for example can be setup something like this:
Hold hotkey button (or press once to toggle on/off), then move mouse away from centre of screen, script translates the mouse direction & "presses" the appropriate wasd combo, player character moves in that direction. Small dead-zone in centre, for a "no-move" cursor parking area.

I have an AHK script that works pretty well for running from A to B, or chopping wood early game, but it struggles a bit in a crowded areas when using exolegs (wasd is more precise than waving the mouse to different parts of the screen & back to centre).
Probably would work for driving vehicles too though.


edit ~ There is also a mod you could try, which uses an item held in the cursor to choose where to move the character. ~ https://mods.factorio.com/mod/move-with-mouse
Last edited by Killcreek2; Dec 6, 2019 @ 9:38pm
Lunacy Dec 7, 2019 @ 6:55pm 
Originally posted by AlexMBrennan:
You can always use the on screen keyboard but it's not going to be a fun experience because you simply can't get 104 button mice.
Honestly all you really need is WASD, space, and enter, so like 6 extra mouse buttons just for move and shoot
THE kilroy Dec 9, 2019 @ 6:30am 
Ive seen it asked a couple of times for accessibility reasons, and it seems the best success has been from third-party software
Valtaros Dec 9, 2019 @ 12:51pm 
You could start by crafting a transport belt and placing it right below you. Might take a while, but no more WASD. If you bind your crafting menu to your mousewheel, you no longer "need" the keyboard, without needing a special mouse. :D

But to be serious, best would probably be using a special mouse. Maybe there is a mod that let´s you move by moving your mouse to the edges of the screen, though I´m not sure about that.
Killcreek2 Dec 9, 2019 @ 3:45pm 
Originally posted by Valtaros:
Maybe there is a mod that let´s you move by moving your mouse to the edges of the screen, though I´m not sure about that.
I don't think the modding api supports this sort of function. The devs have limited the Lua scripting to only interact with stuff inside the game, & have disabled any (most?) functions that could interact with the users OS. (This is for personal data security & to prevent any bad-faith authors who might try to use a Factorio mod to snoop / cause other problems with players PCs.)

Edge-scrolling would require a function like "get mouse position" (OS level), which is blocked inside the game Lua / not in the modding api, hence many mods use an item held in the cursor as a workaround to find the cursor position (technically it finds the terrain tile you clicked on, not the cursor position).
Chesmu Dec 9, 2019 @ 4:06pm 
I think I saw a mod for that, in-game.
NF_Crenos Dec 10, 2019 @ 12:37pm 
Without a mouse with a ton of buttons it's gonna be pretty difficult. An "MMO" mouse might be good for that, since they tend to have like 12 programmable buttons on the side.

If even possible to code into the game at this point, a contextual right-click would be nice in any case; where it brings up a selection of options based on what you right-clicked. The Anno games has a little bit of that.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Dec 6, 2019 @ 5:22pm
Posts: 9