ACF_CustomMod/lua/acf/shared/gearboxes/6-speed.lua

338 lines
7.4 KiB
Lua

-- 6-Speed gearboxes
local Gear6SW = 80
local Gear6MW = 160
local Gear6LW = 320
-- Inline
ACF_DefineGearbox( "6Gear-L-S", {
name = "6-Speed, Inline, Small",
desc = "A small and light 6 speed inline gearbox, with a limited max torque rating.",
model = "models/engines/linear_s.mdl",
category = "6-Speed",
weight = Gear6SW,
switch = 0.15,
maxtq = 440,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-L-M", {
name = "6-Speed, Inline, Medium",
desc = "A medium duty 6 speed inline gearbox with a limited torque rating.",
model = "models/engines/linear_m.mdl",
category = "6-Speed",
weight = Gear6MW,
switch = 0.2,
maxtq = 1360,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-L-L", {
name = "6-Speed, Inline, Large",
desc = "Heavy duty 6 speed inline gearbox, however not as resilient as a 4 speed.",
model = "models/engines/linear_l.mdl",
category = "6-Speed",
weight = Gear6LW,
switch = 0.3,
maxtq = 10000,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 1
}
} )
-- Inline Dual Clutch
ACF_DefineGearbox( "6Gear-LD-S", {
name = "6-Speed, Inline, Small, Dual Clutch",
desc = "A small and light 6 speed inline gearbox, with a 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 = "6-Speed",
weight = Gear6SW,
switch = 0.15,
maxtq = 440,
gears = 6,
doubleclutch = true,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-LD-M", {
name = "6-Speed, Inline, Medium, Dual Clutch",
desc = "A a medium duty 6 speed inline gearbox. The added gears reduce torque capacity substantially. 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_m.mdl",
category = "6-Speed",
weight = Gear6MW,
switch = 0.2,
maxtq = 1360,
gears = 6,
doubleclutch = true,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-LD-L", {
name = "6-Speed, Inline, Large, Dual Clutch",
desc = "Heavy duty 6 speed inline gearbox, however not as resilient as a 4 speed. 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_l.mdl",
category = "6-Speed",
weight = Gear6LW,
switch = 0.3,
maxtq = 10000,
gears = 6,
doubleclutch = true,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 1
}
} )
-- Transaxial
ACF_DefineGearbox( "6Gear-T-S", {
name = "6-Speed, Transaxial, Small",
desc = "A small and light 6 speed gearbox, with a limited max torque rating.",
model = "models/engines/transaxial_s.mdl",
category = "6-Speed",
weight = Gear6SW,
switch = 0.15,
maxtq = 440,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-T-M", {
name = "6-Speed, Transaxial, Medium",
desc = "A medium duty 6 speed gearbox with a limited torque rating.",
model = "models/engines/transaxial_m.mdl",
category = "6-Speed",
weight = Gear6MW,
switch = 0.2,
maxtq = 1360,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-T-L", {
name = "6-Speed, Transaxial, Large",
desc = "Heavy duty 6 speed gearbox, however not as resilient as a 4 speed.",
model = "models/engines/transaxial_l.mdl",
category = "6-Speed",
weight = Gear6LW,
switch = 0.3,
maxtq = 10000,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 1
}
} )
-- Transaxial Dual Clutch
ACF_DefineGearbox( "6Gear-TD-S", {
name = "6-Speed, Transaxial, Small, Dual Clutch",
desc = "A small and light 6 speed gearbox, with a 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 = "6-Speed",
weight = Gear6SW,
switch = 0.15,
maxtq = 440,
gears = 6,
doubleclutch = true,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-TD-M", {
name = "6-Speed, Transaxial, Medium, Dual Clutch",
desc = "A a medium duty 6 speed gearbox. The added gears reduce torque capacity substantially. 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_m.mdl",
category = "6-Speed",
weight = Gear6MW,
switch = 0.2,
maxtq = 1360,
gears = 6,
doubleclutch = true,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-TD-L", {
name = "6-Speed, Transaxial, Large, Dual Clutch",
desc = "Heavy duty 6 speed gearbox, however not as resilient as a 4 speed. 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_l.mdl",
category = "6-Speed",
weight = Gear6LW,
switch = 0.3,
maxtq = 10000,
gears = 6,
doubleclutch = true,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 1
}
} )
-- Straight-through gearboxes
ACF_DefineGearbox( "6Gear-ST-S", {
name = "6-Speed, Straight, Small",
desc = "A small and light 6 speed straight-through gearbox.",
model = "models/engines/t5small.mdl",
category = "6-Speed",
weight = Gear6SW,
switch = 0.15,
maxtq = 440,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-ST-M", {
name = "6-Speed, Straight, Medium",
desc = "A medium 6 speed straight-through gearbox.",
model = "models/engines/t5med.mdl",
category = "6-Speed",
weight = Gear6MW,
switch = 0.2,
maxtq = 1360,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )
ACF_DefineGearbox( "6Gear-ST-L", {
name = "6-Speed, Straight, Large",
desc = "A large 6 speed straight-through gearbox.",
model = "models/engines/t5large.mdl",
category = "6-Speed",
weight = Gear6LW,
switch = 0.3,
maxtq = 10000,
gears = 6,
geartable = {
[ 0 ] = 0,
[ 1 ] = 0.1,
[ 2 ] = 0.2,
[ 3 ] = 0.3,
[ 4 ] = 0.4,
[ 5 ] = 0.5,
[ 6 ] = -0.1,
[ -1 ] = 0.5
}
} )