Manual Transmission

๐Ÿ“„ Config file: shared/transmission_config.lua

This file controls the manual transmission system โ€” keybinds, clutch behaviour, shift timing, rev limiter, engine stalling, and gear-shift animations. The manual transmission replaces GTA's default automatic shifting with a realistic system where the player must manually shift gears using the clutch.


Keybinds

Config.ShiftUp    = 21   -- LSHIFT
Config.ShiftDown  = 36   -- LCTRL
Config.ClutchKey  = 19   -- LALT
Setting
Default Key
What it does

ShiftUp

LSHIFT

Shifts to the next higher gear (hold ALT + press).

ShiftDown

LCTRL

Shifts to the next lower gear (hold ALT + press).

ClutchKey

LALT

Holds the clutch (disengages the engine from the wheels).

The numbers are FiveM control IDs. You can find all control IDs at the FiveM Controls Referencearrow-up-right.

circle-info

How shifting works: Hold ALT (clutch), then press SHIFT or CTRL to change gear. Release ALT to engage the new gear and transfer power to the wheels. The gear sequence is: R โ†” N โ†” 1 โ†” 2 โ†” 3 โ†” 4 โ†” 5 โ†” 6.


General Settings

Config.ManualClutch        = true
Config.ShowUI              = true
Config.RPMWarningThreshold = 0.85
Config.RPMHysteresis       = 0.05
Setting
What it does

ManualClutch

When true, the player must hold the clutch key while changing gears. If false, gears shift without needing the clutch (simplified mode).

ShowUI

Shows a gear indicator HUD on screen (displays current gear: 1, 2, 3, N, R).

RPMWarningThreshold

RPM level (0.0โ€“1.0) where the HUD shows a warning indicator. 0.85 = 85% RPM.

RPMHysteresis

Buffer zone to prevent rapid on/off flickering of the warning.


Clutch & Shifting Feel

Setting
What it does

ClutchShiftSpeed

Multiplier for how fast shifts complete when the clutch is held. Lower = faster shift. 0.5 = half the default shift time.

NoClutchPenalty

Additional delay multiplier when shifting without holding the clutch. Higher = slower, more punishing. 1.0 = no extra penalty.

PenaliseEarlyRelease

When true, releasing the clutch during a shift adds a delay penalty.

circle-info

Shift duration is derived from the vehicle's handling data (fClutchChangeRateScaleUpShift / fClutchChangeRateScaleDownShift). Vehicles with transmission upgrades will also shift faster.


Rev Limiter

Setting
What it does

EnableRevLimiter

When true, the gas input is completely cut when the engine reaches maximum RPM (1.0). Prevents over-revving.

RevLimiterRelease

The RPM level at which the limiter releases and gas input is restored. 0.95 = 95% RPM.


Engine Stall & Stutter

๐Ÿ“„ Config file: shared/stall.lua

Kartik-Mechanic features a dynamic stalling and stuttering system that responds to both poor driving technique and worn vehicle parts.

Setting
What it does

StallChance

Base probability of the engine stalling completely when misbehaving.

MissfireChance

Base probability of the engine misfiring (stuttering) instead of stalling.

FuelPumpStallChance

Additional stall chance added when the fuel pump is heavily worn.

FuelPumpStutterChance

Additional stutter chance added when the fuel pump is heavily worn.


Engine Lugging

Setting
What it does

LuggingThreshold

RPM threshold below which the engine starts to lug (struggle). 0.25 = 25% RPM.

LuggingPowerMultiplier

Reduces vehicle acceleration while lugging. 0.3 = 30% of normal power.

LuggingStutterChance

The probability of the engine stuttering while lugging.

GearSpeedBias

Ratio used to determine the exact speed vs gear relationship for lugging calculations.


Driving Behaviour

Setting
What it does

PreventAutoReverse

When true, braking in a forward gear will not automatically switch to reverse. The player must manually shift to R.

TopGearSpeedCorrection

Adjusts the vehicle's maximum speed when in the highest gear to match real-world behaviour.

TopGearSpeedFactor

The multiplier applied to the vehicle's max flat velocity when in top gear. 0.888 slightly reduces top speed for realism.


RPM Cut (Clutch Held)

When the clutch is held down, the engine RPM bounces between RpmCutMin and RpmCutMax to simulate a realistic rev-matching effect.

Setting
What it does

RpmCut

Enable/disable the RPM cutting feature while clutch is held.

RpmCutMax

Maximum RPM during the cut cycle.

RpmCutMin

Minimum RPM during the cut cycle.

RpmCutTime

Time (in milliseconds) between RPM oscillations. Lower = faster bouncing.


Gear Shift Animation & Sound

Setting
What it does

ShiftAnimation

When true, plays a hand animation (reaching for the gear stick) each time the player shifts. Detects LHD/RHD automatically.

ShiftEndSound

When true, plays a short sound effect when a gear shift completes.


Stall Speed Thresholds

If the vehicle is in a higher gear and drops below that gear's stall speed threshold, the engine will stutter and potentially stall.


Gearbox Wear

Setting
What it does

GearboxFailShiftThreshold

Wear ratio at which shift failures can start occurring. Set to 9.9 to effectively disable.

GearboxGrindChance

Probability (0โ€“1) that a shift fails due to gearbox grinding when above the wear threshold. 0.0 = never.

circle-info

These settings integrate with the main kartik-mechanic wear system. As gearbox wear increases through mileage, players may experience failed shifts and extra clutch wear.

Last updated