-- 4-Speed gearboxes local Gear4SW = 60 local Gear4MW = 120 local Gear4LW = 240 -- Inline ACF_DefineGearbox( "4Gear-L-S", { name = "4-Speed, Inline, Small", desc = "A small, and light 4 speed inline gearbox, with a somewhat limited max torque rating\n\nThe Final Drive slider is a multiplier applied to all the other gear ratios", model = "models/engines/linear_s.mdl", category = "4-Speed", weight = Gear4SW, switch = 0.15, maxtq = 540, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-L-M", { name = "4-Speed, Inline, Medium", desc = "A medium sized, 4 speed inline gearbox", model = "models/engines/linear_m.mdl", category = "4-Speed", weight = Gear4MW, switch = 0.2, maxtq = 1700, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-L-L", { name = "4-Speed, Inline, Large", desc = "A large, heavy and sturdy 4 speed inline gearbox", model = "models/engines/linear_l.mdl", category = "4-Speed", weight = Gear4LW, switch = 0.3, maxtq = 10000, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 1 } } ) -- Inline Dual Clutch ACF_DefineGearbox( "4Gear-LD-S", { name = "4-Speed, Inline, Small, Dual Clutch", desc = "A small, and light 4 speed inline gearbox, with a somewhat limited max torque rating. The dual clutch allows you to apply power and brake each side independently\n\nThe Final Drive slider is a multiplier applied to all the other gear ratios", model = "models/engines/linear_s.mdl", category = "4-Speed", weight = Gear4SW, switch = 0.15, maxtq = 540, gears = 4, doubleclutch = true, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-LD-M", { name = "4-Speed, Inline, Medium, Dual Clutch", desc = "A medium sized, 4 speed inline gearbox. The dual clutch allows you to apply power and brake each side independently", model = "models/engines/linear_m.mdl", category = "4-Speed", weight = Gear4MW, switch = 0.2, maxtq = 1700, gears = 4, doubleclutch = true, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-LD-L", { name = "4-Speed, Inline, Large, Dual Clutch", desc = "A large, heavy and sturdy 4 speed inline gearbox. The dual clutch allows you to apply power and brake each side independently", model = "models/engines/linear_l.mdl", category = "4-Speed", weight = Gear4LW, switch = 0.3, maxtq = 10000, gears = 4, doubleclutch = true, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 1 } } ) -- Transaxial ACF_DefineGearbox( "4Gear-T-S", { name = "4-Speed, Transaxial, Small", desc = "A small, and light 4 speed gearbox, with a somewhat limited max torque rating\n\nThe Final Drive slider is a multiplier applied to all the other gear ratios", model = "models/engines/transaxial_s.mdl", category = "4-Speed", weight = Gear4SW, switch = 0.15, maxtq = 540, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-T-M", { name = "4-Speed, Transaxial, Medium", desc = "A medium sized, 4 speed gearbox", model = "models/engines/transaxial_m.mdl", category = "4-Speed", weight = Gear4MW, switch = 0.2, maxtq = 1700, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-T-L", { name = "4-Speed, Transaxial, Large", desc = "A large, heavy and sturdy 4 speed gearbox", model = "models/engines/transaxial_l.mdl", category = "4-Speed", weight = Gear4LW, switch = 0.3, maxtq = 10000, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 1 } } ) -- Transaxial Dual Clutch ACF_DefineGearbox( "4Gear-TD-S", { name = "4-Speed, Transaxial, Small, Dual Clutch", desc = "A small, and light 4 speed gearbox, with a somewhat limited max torque rating. The dual clutch allows you to apply power and brake each side independently\n\nThe Final Drive slider is a multiplier applied to all the other gear ratios", model = "models/engines/transaxial_s.mdl", category = "4-Speed", weight = Gear4SW, switch = 0.15, maxtq = 540, gears = 4, doubleclutch = true, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-TD-M", { name = "4-Speed, Transaxial, Medium, Dual Clutch", desc = "A medium sized, 4 speed gearbox. The dual clutch allows you to apply power and brake each side independently", model = "models/engines/transaxial_m.mdl", category = "4-Speed", weight = Gear4MW, switch = 0.2, maxtq = 1700, gears = 4, doubleclutch = true, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-TD-L", { name = "4-Speed, Transaxial, Large, Dual Clutch", desc = "A large, heavy and sturdy 4 speed gearbox. The dual clutch allows you to apply power and brake each side independently", model = "models/engines/transaxial_l.mdl", category = "4-Speed", weight = Gear4LW, switch = 0.3, maxtq = 10000, gears = 4, doubleclutch = true, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 1 } } ) -- Straight-through gearboxes ACF_DefineGearbox( "4Gear-ST-S", { name = "4-Speed, Straight, Small", desc = "A small straight-through gearbox", model = "models/engines/t5small.mdl", category = "4-Speed", weight = Gear4SW, switch = 0.15, maxtq = 540, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 1 } } ) ACF_DefineGearbox( "4Gear-ST-M", { name = "4-Speed, Straight, Medium", desc = "A medium sized, 4 speed straight-through gearbox.", model = "models/engines/t5med.mdl", category = "4-Speed", weight = Gear4MW, switch = 0.2, maxtq = 1700, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } ) ACF_DefineGearbox( "4Gear-ST-L", { name = "4-Speed, Straight, Large", desc = "A large sized, 4 speed straight-through gearbox.", model = "models/engines/t5large.mdl", category = "4-Speed", weight = Gear4LW, switch = 0.3, maxtq = 10000, gears = 4, geartable = { [ 0 ] = 0, [ 1 ] = 0.1, [ 2 ] = 0.2, [ 3 ] = 0.3, [ 4 ] = -0.1, [ -1 ] = 0.5 } } )