To be short
In this mod, a drift assistant is implemented, which facilitates turning in the direction of movement of the car.It also implements dualsense features, such as better vibration and adaptive trigger.
Features
Drift assistant
Motivation
There exists 2 ways to drift on gamepad that I know about:- A7-Assist - it's easy to drift with it, but for me it feels too arcade. I wanted to have more control over the car during drift.
- Default controls - gives you more control over the car, but is extremely hard due to the lack of force feedback.
How it works
When drifting, the force feedback will turn your steering wheel so that your front wheels will be turned in the direction of the car movement. I make it easier to steer in that direction using gamepad stick. When stick is near this direction, the steering sensitivity decreases significantly (or even goes to 0). To compensate for this and provide control over the full rotation of your wheel, the sensitivity of the stick in other places will increase.Adaptive triggers
This one is inspired by F1 2022 adaptive trigger features. I tried to make trigger go stiff when adding more gas would result in the grip loss. And it actually behaves in a similar way.Vibration
Major vibrations like strong oversteering, bad surfaces and high RPMs are produced on left motor. Small oversteer is produced on right motor.Installation
- Move folder into:
\assettocorsa\extension\lua\joypad-assist\dualsense_drift_k1shin - Navigate to Settings > Custom Shaders Patch > Gamepad FX, and select the new script.
- Adjust controller steering gamma to your liking:
Higher gamma means smoother sensitivity near movement direction and higher sensitivity at other places. It's highly recommended to have this parameter < 180%
Note: other parameters, such as deadzone are not implementedbecause I was too lazy.
Mod settings
If you wish to fine-tune mod more to your liking, feel free to edit:\assettocorsa\extension\lua\dualsense_drift_k1shin\assist.lua
It's documented pretty well so you could just change some globals.