Fine steering control for cars using the mouse
Moderator: ickputzdirwech
-
- Long Handed Inserter
- Posts: 50
- Joined: Thu Sep 11, 2014 12:14 pm
- Contact:
Fine steering control for cars using the mouse
As a solution to the problem of fine control and going in a straight line using the car, I propose that an option to steer with the mouse be introduced. In the mouse steering mode the car would turn to face the position of the mouse cursor, with the arrow keys controlling speed. This would allow for far greater control due to the ability to set an exact bearing and hold it, as well as executing small changes in bearing at high speeds.
Staying on a straight road would, no matter the angle, be as simple as being on the road to begin with and then placing the cursor on the road somewhere reasonably far away. Consider the precision steering that could be achieved when zoomed a long way out and placing the mouse at the edge of the screen.
I don't think the guy would build his car so that steering consisted of a lever which either turned the wheels 45 degrees or not at all, presumably it would be built with a steering wheel allowing for finer control than "TURNING HARD" and "GOING STRAIGHT", so the player controls should reflect this.
Staying on a straight road would, no matter the angle, be as simple as being on the road to begin with and then placing the cursor on the road somewhere reasonably far away. Consider the precision steering that could be achieved when zoomed a long way out and placing the mouse at the edge of the screen.
I don't think the guy would build his car so that steering consisted of a lever which either turned the wheels 45 degrees or not at all, presumably it would be built with a steering wheel allowing for finer control than "TURNING HARD" and "GOING STRAIGHT", so the player controls should reflect this.
Re: Fine steering control for cars using the mouse
I think it is worth more thinking.
I think you need to be more concrete here: The mouse is currently used to place buildings and especially for fighting. How would like to implement this "switch" between the current behevior (which makes totally sense, and I think this should not be changed) and this mouse steering mode? Which "event" will do this switch and how is the player involved and how will he see, in which mode it currently is?
I think you need to be more concrete here: The mouse is currently used to place buildings and especially for fighting. How would like to implement this "switch" between the current behevior (which makes totally sense, and I think this should not be changed) and this mouse steering mode? Which "event" will do this switch and how is the player involved and how will he see, in which mode it currently is?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Smart Inserter
- Posts: 1847
- Joined: Sun Feb 23, 2014 3:37 pm
- Contact:
Re: Fine steering control for cars using the mouse
Go to attack biter nest in car.
Get poison capsules from hotbar and hover mouse over biter nest base full of worms.
Car follows mouse.
Unintended kamikaze.
Oh noooooooooo.
Get poison capsules from hotbar and hover mouse over biter nest base full of worms.
Car follows mouse.
Unintended kamikaze.
Oh noooooooooo.
-
- Long Handed Inserter
- Posts: 50
- Joined: Thu Sep 11, 2014 12:14 pm
- Contact:
Re: Fine steering control for cars using the mouse
I'm aware that this is a change from how it currently works, but I believe this is a necessary one for making cars more usable.
I believe that the "drive into thing you wanted to shoot" issue can be solved by disabling steering when using weapons. You're using your hands to fire the gun/throw the capsules so no hands to steer. This would have the side effect of making the car less of an unstoppable death machine.
Alternatively, have it possible to switch driving modes. This enables players to choose to have keyboard control when fighting, where people normally want to steer violently, and mouse controls when driving significant distances, where precision is much more desirable.
I believe that the "drive into thing you wanted to shoot" issue can be solved by disabling steering when using weapons. You're using your hands to fire the gun/throw the capsules so no hands to steer. This would have the side effect of making the car less of an unstoppable death machine.
Alternatively, have it possible to switch driving modes. This enables players to choose to have keyboard control when fighting, where people normally want to steer violently, and mouse controls when driving significant distances, where precision is much more desirable.
Re: Fine steering control for cars using the mouse
Hm. I can think of it like so: Per default (but see down!) the car behaves like explaned here, but in the moment, when the player
- uses the A or D key or
- uses a weapon
- presses a mode-change key (V for example, seems to be logical key)
it changes to the current behavior, until the player reenters the car or presses the mode change key (again).
Edit: A big question is, which behavior should be default when entering the car. I think this needs to be tested quite a lot.
- uses the A or D key or
- uses a weapon
- presses a mode-change key (V for example, seems to be logical key)
it changes to the current behavior, until the player reenters the car or presses the mode change key (again).
Edit: A big question is, which behavior should be default when entering the car. I think this needs to be tested quite a lot.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Long Handed Inserter
- Posts: 50
- Joined: Thu Sep 11, 2014 12:14 pm
- Contact:
Re: Fine steering control for cars using the mouse
Yes, I think testing and usability and the default behaviour should be thought about carefully. I do feel, however, that the current control scheme is inadequate for fine control and driving at high speeds and therefore a change needs to be made.ssilk wrote:Hm. I can think of it like so: Per default (but see down!) the car behaves like explaned here, but in the moment, when the player
- uses the A or D key or
- uses a weapon
- presses a mode-change key (V for example, seems to be logical key)
it changes to the current behavior, until the player reenters the car or presses the mode change key (again).
Edit: A big question is, which behavior should be default when entering the car. I think this needs to be tested quite a lot.
I like the idea of following the mouse being the default, and then steering with the keys being the behaviour when you equip a weapon. This would be intuitive (the mouse is now for aiming rather than steering) as well as immersive and balancing, due to the loss of fine control when not having hands free for driving.
- The Phoenixian
- Fast Inserter
- Posts: 237
- Joined: Mon May 26, 2014 4:31 pm
- Contact:
Re: Fine steering control for cars using the mouse
Okay, as someone who thinks that having more than one mode of operation per vehicle is a bad idea, how about this solution to shooting while driving under the proposed system: If the W and S keys move you towards and away from the mouse, respectively, then the the A and D keys should move you perpendicular to it (or at 45 degrees when both A or D and one of W or S are pressed). I figure it would probably be odd at , but with eight angles to move in it would make make circle strafing very natural and the forty five degree angles would give you the option of tightening or widening your circle withoud fiddling with the mouse.
The greatest gulf that we must leap is the gulf between each other's assumptions and conceptions. To argue fairly, we must reach consensus on the meanings and values of basic principles. -Thereisnosaurus
-
- Filter Inserter
- Posts: 559
- Joined: Mon Mar 04, 2013 9:23 am
- Contact:
Re: Fine steering control for cars using the mouse
Using mouse to steer the car in Factio would not be a viable option becouse the mouse can be used for so much other things (shooting, placing objects, selecting items from toolbar etc) even while driving.
Instead I would recomend implementing of progressive turning that is used in almost all racing games. What is progressive turning? In progressive turning you are simulating the turning of stering wheel by slowly increasing the speed at which the vehicle starts turning after the turning key gets pressed. So longer you hold the sterering button down more does the vehicle steer toward specific direction.
Implementing of this isn't so hard and would not cause huge cahnges in the way how we now handle driving but it will still make it much easier than it is now. If my knowledge of programming in C++ would be so good as it is in Objective Pascal I would have this implemented in about an hour if not even faster.
Instead I would recomend implementing of progressive turning that is used in almost all racing games. What is progressive turning? In progressive turning you are simulating the turning of stering wheel by slowly increasing the speed at which the vehicle starts turning after the turning key gets pressed. So longer you hold the sterering button down more does the vehicle steer toward specific direction.
Implementing of this isn't so hard and would not cause huge cahnges in the way how we now handle driving but it will still make it much easier than it is now. If my knowledge of programming in C++ would be so good as it is in Objective Pascal I would have this implemented in about an hour if not even faster.
Re: Fine steering control for cars using the mouse
I had that also in mind. Problem is: is that useable? For example when in fight, where you eventually really need to turn around fast. But again: let's try.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Fine steering control for cars using the mouse
There is another problem in mouse control. Monitoring of cursor position would add more player input data. It would need to be send to all players or keep record for replay. One of the reasons why my suggestion for flashlight to follow cursor was not possible.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
-
- Filter Inserter
- Posts: 559
- Joined: Mon Mar 04, 2013 9:23 am
- Contact:
Re: Fine steering control for cars using the mouse
You could always add a modifier key for fast turning when needed. For istance pressing A starts turning left slowly. But pressing Shift+A it starts turning left rapidly.ssilk wrote:Problem is: is that useable? For example when in fight, where you eventually really need to turn around fast. But again: let's try.
And using similar approach you could get easy acceleration/deacceleration or rapid acceleration/dacceceleration.
Similar approach was used in old trucking game Hard Truck 2 or as othevise known King of the Road. In it the modifier key was CTRL.
So pressing CTRL+UpArrow has put pedal to the metal and thus accelerating as fast as posible (with powerfull enoug truck you could even do donuts )
Pressing CTRL+DownArrow has slamed the brakes so you literally skid (that is if you disabled ABS option like I always did).
And pressing CTRL+LeftArrow or CTRL+RightArrow caused the stering wheel to turn fast enought to cause front tyers to start skidding (understear)
Man I miss such option in latest tucking games.
Re: Fine steering control for cars using the mouse
Me too would love to see some form of mouse implementantion for car and tank steering
Re: Fine steering control for cars using the mouse
Impressive necro.
Not using the mouse to steer, but a practical solution to the original problem is VehicleSnap.
Not using the mouse to steer, but a practical solution to the original problem is VehicleSnap.
Re: Fine steering control for cars using the mouse
7 years necro...
The problem of steering, while fire into the direction of enemy remains. I don’t see a better solution than mastering the car. It is one of the best early weapons against the biters.
The problem of steering, while fire into the direction of enemy remains. I don’t see a better solution than mastering the car. It is one of the best early weapons against the biters.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
- Kostriktor
- Inserter
- Posts: 41
- Joined: Sun Aug 21, 2016 12:58 pm
- Contact:
Re: Fine steering control for cars using the mouse
100% agree with op
playercharacter is guided by mouse to do building and combat becaue its his hands; why shouldnt he be driving with it ?
the car that is in the game now drives like a budget-toycar; hard-steer or dont-steer
playercharacter is guided by mouse to do building and combat becaue its his hands; why shouldnt he be driving with it ?
the car that is in the game now drives like a budget-toycar; hard-steer or dont-steer
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Fine steering control for cars using the mouse
Because you're still using that same thing (mouse) to build and aim the car gun while driving?Kostriktor wrote: ↑Mon Nov 21, 2022 9:16 pm 100% agree with op
playercharacter is guided by mouse to do building and combat becaue its his hands; why shouldnt he be driving with it ?
the car that is in the game now drives like a budget-toycar; hard-steer or dont-steer
-‐---------------------
Also, related thread: viewtopic.php?f=6&t=48187
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: Fine steering control for cars using the mouse
The obvious solution is to require players to have two mice, one for steering and one for aiming.
Re: Fine steering control for cars using the mouse
Hmmmm…. Aiming with eye-tracker?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Fine steering control for cars using the mouse
Surely a truly serious Factorio player would have an actual steering wheel, foot pedal, and forward/reverse lever instead of using the mouse in the first place.
Re: Fine steering control for cars using the mouse
Sorry for posting in an old thread that has been necroed, but I couldn't pass the opportunity to add something ((This horse is probably long dead by now...))
One simple solution for one of the problems of car driving to feel more, hm... should I say, realistic? It would be to make the car turn slower the faster it goes... you know, inertia and all that. The current problem with the car is that it turns way too darn fast (IMO) regardless of your movement state.
I'm one of those players that I'd never play again without Vehicle Snap myself, so the "stick to the straight path" issue is solved for me, but the "turns too fast" problem is still there. I'd also love to have an inherent solution to the "can't drive straight" problem in vanilla too, if that could be managed... but the mod is enough for me in that regard.
One simple solution for one of the problems of car driving to feel more, hm... should I say, realistic? It would be to make the car turn slower the faster it goes... you know, inertia and all that. The current problem with the car is that it turns way too darn fast (IMO) regardless of your movement state.
I'm one of those players that I'd never play again without Vehicle Snap myself, so the "stick to the straight path" issue is solved for me, but the "turns too fast" problem is still there. I'd also love to have an inherent solution to the "can't drive straight" problem in vanilla too, if that could be managed... but the mod is enough for me in that regard.