Guest User

Untitled

a guest
Nov 23rd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 29.28 KB | None | 0 0
  1. AddCSLuaFile( "ACF/Shared/ACFMobilityList.lua" )
  2.  
  3. local MobilityTable = {}  --Start mobility listing
  4.  
  5. local Engine12I4 = {}
  6.     Engine12I4.id = "1.2-I4"
  7.     Engine12I4.ent = "acf_engine"
  8.     Engine12I4.type = "Mobility"
  9.     Engine12I4.name = "1.2L I4 Diesel"
  10.     Engine12I4.desc = "Very small and light diesel, for low power applications requiring a wide powerband"
  11.     Engine12I4.model = "models/engines/inline4s.mdl"
  12.     Engine12I4.sound = "I4D.Small"
  13.     Engine12I4.weight = 70
  14.     Engine12I4.torque = 55      --in Meter/Kg
  15.     Engine12I4.idlerpm = 1000   --in Rotations Per Minute
  16.     Engine12I4.peakminrpm = 2000
  17.     Engine12I4.peakmaxrpm = 4000
  18.     Engine12I4.limitprm = 5000
  19.     if ( CLIENT ) then
  20.         Engine12I4.guicreate = (function( Panel, Table ) ACFEngineGUICreate( Table ) end or nil)
  21.         Engine12I4.guiupdate = function() return end
  22.     end
  23. MobilityTable["1.2-I4"] = Engine12I4
  24.  
  25. local Engine20I4 = {}
  26.     Engine20I4.id = "2.0-I4"
  27.     Engine20I4.ent = "acf_engine"
  28.     Engine20I4.type = "Mobility"
  29.     Engine20I4.name = "2.0L I4 Diesel"
  30.     Engine20I4.desc = "Car sized diesel engine, with low power but decent low end torque"
  31.     Engine20I4.model = "models/engines/inline4m.mdl"
  32.     Engine20I4.sound = "I4D.Medium"
  33.     Engine20I4.weight = 250
  34.     Engine20I4.torque = 200     --in Meter/Kg
  35.     Engine20I4.idlerpm = 800    --in Rotations Per Minute
  36.     Engine20I4.peakminrpm = 1800
  37.     Engine20I4.peakmaxrpm = 3500
  38.     Engine20I4.limitprm = 4500
  39.     if ( CLIENT ) then
  40.         Engine20I4.guicreate = (function( Panel, Table ) ACFEngineGUICreate( Table ) end or nil)
  41.         Engine20I4.guiupdate = function() return end
  42.     end
  43. MobilityTable["2.0-I4"] = Engine20I4
  44.  
  45. local Engine150I4 = {}
  46.     Engine150I4.id = "15.0-I4"
  47.     Engine150I4.ent = "acf_engine"
  48.     Engine150I4.type = "Mobility"
  49.     Engine150I4.name = "15.0L I4 Diesel"
  50.     Engine150I4.desc = "Small boat sized diesel, with large amounts of torque"
  51.     Engine150I4.model = "models/engines/inline4l.mdl"
  52.     Engine150I4.sound = "I4D.Large"
  53.     Engine150I4.weight = 1500
  54.     Engine150I4.torque = 1800       --in Meter/Kg
  55.     Engine150I4.idlerpm = 300   --in Rotations Per Minute
  56.     Engine150I4.peakminrpm = 500
  57.     Engine150I4.peakmaxrpm = 1500
  58.     Engine150I4.limitprm = 2000
  59.     if ( CLIENT ) then
  60.         Engine150I4.guicreate = (function( Panel, Table ) ACFEngineGUICreate( Table ) end or nil)
  61.         Engine150I4.guiupdate = function() return end
  62.     end
  63. MobilityTable["15.0-I4"] = Engine150I4
  64.  
  65. local Engine180V8 = {}
  66.     Engine180V8.id = "18.0-V8"
  67.     Engine180V8.ent = "acf_engine"
  68.     Engine180V8.type = "Mobility"
  69.     Engine180V8.name = "18.0L V8 Petrol"
  70.     Engine180V8.desc = "American Ford GAA V8, decent overall power and torque and fairly lightweight"
  71.     Engine180V8.model = "models/engines/v8l.mdl"
  72.     Engine180V8.sound = "V8.Large"
  73.     Engine180V8.weight = 900
  74.     Engine180V8.torque = 1420       --in Meter/Kg
  75.     Engine180V8.idlerpm = 600   --in Rotations Per Minute
  76.     Engine180V8.peakminrpm = 1600
  77.     Engine180V8.peakmaxrpm = 2600
  78.     Engine180V8.limitprm = 3000
  79.     if ( CLIENT ) then
  80.         Engine180V8.guicreate = (function( Panel, Table ) ACFEngineGUICreate( Table ) end or nil)
  81.         Engine180V8.guiupdate = function() return end
  82.     end
  83. MobilityTable["18.0-V8"] = Engine180V8
  84.  
  85. local Engine90V8 = {}
  86.     Engine90V8.id = "9.0-V8"
  87.     Engine90V8.ent = "acf_engine"
  88.     Engine90V8.type = "Mobility"
  89.     Engine90V8.name = "9.0L V8 Petrol"
  90.     Engine90V8.desc = "Thirsty, giant V8, for medium applications"
  91.     Engine90V8.model = "models/engines/v8m.mdl"
  92.     Engine90V8.sound = "V8.Medium"
  93.     Engine90V8.weight = 600
  94.     Engine90V8.torque = 710     --in Meter/Kg
  95.     Engine90V8.idlerpm = 700    --in Rotations Per Minute
  96.     Engine90V8.peakminrpm = 2200
  97.     Engine90V8.peakmaxrpm = 3500
  98.     Engine90V8.limitprm = 5000
  99.     if ( CLIENT ) then
  100.         Engine90V8.guicreate = (function( Panel, Table ) ACFEngineGUICreate( Table ) end or nil)
  101.         Engine90V8.guiupdate = function() return end
  102.     end
  103. MobilityTable["9.0-V8"] = Engine90V8
  104.  
  105. local Engine57V8 = {}
  106.     Engine57V8.id = "5.7-V8"
  107.     Engine57V8.ent = "acf_engine"
  108.     Engine57V8.type = "Mobility"
  109.     Engine57V8.name = "5.7L V8 Petrol"
  110.     Engine57V8.desc = "Car sized petrol engine, good power and mid range torque"
  111.     Engine57V8.model = "models/engines/v8s.mdl"
  112.     Engine57V8.sound = "V8.Small"
  113.     Engine57V8.weight = 350
  114.     Engine57V8.torque = 340     --in Meter/Kg
  115.     Engine57V8.idlerpm = 800    --in Rotations Per Minute
  116.     Engine57V8.peakminrpm = 3000
  117.     Engine57V8.peakmaxrpm = 5000
  118.     Engine57V8.limitprm = 6500
  119.     if ( CLIENT ) then
  120.         Engine57V8.guicreate = (function( Panel, Table ) ACFEngineGUICreate( Table ) end or nil)
  121.         Engine57V8.guiupdate = function() return end
  122.     end
  123. MobilityTable["5.7-V8"] = Engine57V8
  124.  
  125.  
  126.  
  127.  
  128. -- 4 speed normal gearboxes
  129. local Gear4TS = {}
  130.     Gear4TS.id = "4Gear-T-S"
  131.     Gear4TS.ent = "acf_gearbox"
  132.     Gear4TS.type = "Mobility"
  133.     Gear4TS.name = "4-Speed, Transaxial, Small"
  134.     Gear4TS.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"
  135.     Gear4TS.model = "models/engines/transaxial_s.mdl"
  136.     Gear4TS.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  137.     Gear4TS.weight = 50
  138.     Gear4TS.switch = 0.3
  139.     Gear4TS.maxtq = 80
  140.     Gear4TS.gears = 4
  141.     Gear4TS.doubleclutch = false
  142.     Gear4TS.geartable = {}
  143.         Gear4TS.geartable[-1] = 0.5
  144.         Gear4TS.geartable[0] = 0
  145.         Gear4TS.geartable[1] = 0.1
  146.         Gear4TS.geartable[2] = 0.2
  147.         Gear4TS.geartable[3] = 0.4
  148.         Gear4TS.geartable[4] = 0.8
  149.     if ( CLIENT ) then
  150.         Gear4TS.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  151.         Gear4TS.guiupdate = function() return end
  152.     end
  153. MobilityTable["4Gear-T-S"] = Gear4TS
  154.  
  155. local Gear4TM = {}
  156.     Gear4TM.id = "4Gear-T-M"
  157.     Gear4TM.ent = "acf_gearbox"
  158.     Gear4TM.type = "Mobility"
  159.     Gear4TM.name = "4-Speed, Transaxial, Medium"
  160.     Gear4TM.desc = "A medium sized, 4 speed gearbox"
  161.     Gear4TM.model = "models/engines/transaxial_m.mdl"
  162.     Gear4TM.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  163.     Gear4TM.weight = 150
  164.     Gear4TM.switch = 0.4
  165.     Gear4TM.maxtq = 550
  166.     Gear4TM.gears = 4
  167.     Gear4TM.doubleclutch = false
  168.     Gear4TM.geartable = {}
  169.         Gear4TM.geartable[-1] = 0.5
  170.         Gear4TM.geartable[0] = 0
  171.         Gear4TM.geartable[1] = 0.1
  172.         Gear4TM.geartable[2] = 0.2
  173.         Gear4TM.geartable[3] = 0.4
  174.         Gear4TM.geartable[4] = 0.8
  175.     if ( CLIENT ) then
  176.         Gear4TM.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  177.         Gear4TM.guiupdate = function() return end
  178.     end
  179. MobilityTable["4Gear-T-M"] = Gear4TM
  180.  
  181. local Gear4TL = {}
  182.     Gear4TL.id = "4Gear-T-L"
  183.     Gear4TL.ent = "acf_gearbox"
  184.     Gear4TL.type = "Mobility"
  185.     Gear4TL.name = "4-Speed, Transaxial, Large"
  186.     Gear4TL.desc = "A large, heavy and sturdy 4 speed gearbox"
  187.     Gear4TL.model = "models/engines/transaxial_l.mdl"
  188.     Gear4TL.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  189.     Gear4TL.weight = 500
  190.     Gear4TL.switch = 0.6
  191.     Gear4TL.maxtq = 6000
  192.     Gear4TL.gears = 4
  193.     Gear4TL.doubleclutch = false
  194.     Gear4TL.geartable = {}
  195.         Gear4TL.geartable[-1] = 1
  196.         Gear4TL.geartable[0] = 0
  197.         Gear4TL.geartable[1] = 0.1
  198.         Gear4TL.geartable[2] = 0.2
  199.         Gear4TL.geartable[3] = 0.4
  200.         Gear4TL.geartable[4] = 0.8
  201.     if ( CLIENT ) then
  202.         Gear4TL.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  203.         Gear4TL.guiupdate = function() return end
  204.     end
  205. MobilityTable["4Gear-T-L"] = Gear4TL
  206.  
  207.  
  208.  
  209.  
  210. -- 4 speed dual clutch gearboxes
  211. local Gear4TDS = {}
  212.     Gear4TDS.id = "4Gear-TD-S"
  213.     Gear4TDS.ent = "acf_gearbox"
  214.     Gear4TDS.type = "Mobility"
  215.     Gear4TDS.name = "4-Speed, Transaxial Dual Clutch, Small"
  216.     Gear4TDS.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"
  217.     Gear4TDS.model = "models/engines/transaxial_s.mdl"
  218.     Gear4TDS.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  219.     Gear4TDS.weight = 65
  220.     Gear4TDS.switch = 0.3
  221.     Gear4TDS.maxtq = 80
  222.     Gear4TDS.gears = 4
  223.     Gear4TDS.doubleclutch = true
  224.     Gear4TDS.geartable = {}
  225.         Gear4TDS.geartable[-1] = 0.5
  226.         Gear4TDS.geartable[0] = 0
  227.         Gear4TDS.geartable[1] = 0.1
  228.         Gear4TDS.geartable[2] = 0.2
  229.         Gear4TDS.geartable[3] = 0.4
  230.         Gear4TDS.geartable[4] = 0.8
  231.     if ( CLIENT ) then
  232.         Gear4TDS.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  233.         Gear4TDS.guiupdate = function() return end
  234.     end
  235. MobilityTable["4Gear-TD-S"] = Gear4TDS
  236.  
  237. local Gear4TDM = {}
  238.     Gear4TDM.id = "4Gear-TD-M"
  239.     Gear4TDM.ent = "acf_gearbox"
  240.     Gear4TDM.type = "Mobility"
  241.     Gear4TDM.name = "4-Speed, Transaxial Dual Clutch, Medium"
  242.     Gear4TDM.desc = "A medium sized, 4 speed gearbox. The dual clutch allows you to apply power and brake each side independently"
  243.     Gear4TDM.model = "models/engines/transaxial_m.mdl"
  244.     Gear4TDM.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  245.     Gear4TDM.weight = 200
  246.     Gear4TDM.switch = 0.4
  247.     Gear4TDM.maxtq = 550
  248.     Gear4TDM.gears = 4
  249.     Gear4TDM.doubleclutch = true
  250.     Gear4TDM.geartable = {}
  251.         Gear4TDM.geartable[-1] = 0.5
  252.         Gear4TDM.geartable[0] = 0
  253.         Gear4TDM.geartable[1] = 0.1
  254.         Gear4TDM.geartable[2] = 0.2
  255.         Gear4TDM.geartable[3] = 0.4
  256.         Gear4TDM.geartable[4] = 0.8
  257.     if ( CLIENT ) then
  258.         Gear4TDM.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  259.         Gear4TDM.guiupdate = function() return end
  260.     end
  261. MobilityTable["4Gear-TD-M"] = Gear4TDM
  262.  
  263. local Gear4TDL = {}
  264.     Gear4TDL.id = "4Gear-TD-L"
  265.     Gear4TDL.ent = "acf_gearbox"
  266.     Gear4TDL.type = "Mobility"
  267.     Gear4TDL.name = "4-Speed, Transaxial Dual Clutch, Large"
  268.     Gear4TDL.desc = "A large, heavy and sturdy 4 speed gearbox. The dual clutch allows you to apply power and brake each side independently"
  269.     Gear4TDL.model = "models/engines/transaxial_l.mdl"
  270.     Gear4TDL.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  271.     Gear4TDL.weight = 650
  272.     Gear4TDL.switch = 0.6
  273.     Gear4TDL.maxtq = 6000
  274.     Gear4TDL.gears = 4
  275.     Gear4TDL.doubleclutch = true
  276.     Gear4TDL.geartable = {}
  277.         Gear4TDL.geartable[-1] = 1
  278.         Gear4TDL.geartable[0] = 0
  279.         Gear4TDL.geartable[1] = 0.1
  280.         Gear4TDL.geartable[2] = 0.2
  281.         Gear4TDL.geartable[3] = 0.4
  282.         Gear4TDL.geartable[4] = 0.8
  283.     if ( CLIENT ) then
  284.         Gear4TDL.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  285.         Gear4TDL.guiupdate = function() return end
  286.     end
  287. MobilityTable["4Gear-TD-L"] = Gear4TDL
  288.  
  289.  
  290.  
  291.  
  292. -- 6 speed normal gearboxes
  293. local Gear6TS = {}
  294.     Gear6TS.id = "6Gear-T-S"
  295.     Gear6TS.ent = "acf_gearbox"
  296.     Gear6TS.type = "Mobility"
  297.     Gear6TS.name = "6-Speed, Transaxial, Small"
  298.     Gear6TS.desc = "A small and light 6 speed gearbox, with a limited max torque rating."
  299.     Gear6TS.model = "models/engines/transaxial_s.mdl"
  300.     Gear6TS.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  301.     Gear6TS.weight = 70
  302.     Gear6TS.switch = 0.3
  303.     Gear6TS.maxtq = 70
  304.     Gear6TS.gears = 6
  305.     Gear6TS.doubleclutch = false
  306.     Gear6TS.geartable = {}
  307.         Gear6TS.geartable[-1] = 0.5
  308.         Gear6TS.geartable[0] = 0
  309.         Gear6TS.geartable[1] = 0.1
  310.         Gear6TS.geartable[2] = 0.2
  311.         Gear6TS.geartable[3] = 0.3
  312.         Gear6TS.geartable[4] = 0.4
  313.         Gear6TS.geartable[5] = 0.5
  314.         Gear6TS.geartable[6] = 0.6
  315.     if ( CLIENT ) then
  316.         Gear6TS.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  317.         Gear6TS.guiupdate = function() return end
  318.     end
  319. MobilityTable["6Gear-T-S"] = Gear6TS
  320.  
  321. local Gear6TM = {}
  322.     Gear6TM.id = "6Gear-T-M"
  323.     Gear6TM.ent = "acf_gearbox"
  324.     Gear6TM.type = "Mobility"
  325.     Gear6TM.name = "6-Speed, Transaxial, Medium"
  326.     Gear6TM.desc = "A medium duty 6 speed gearbox with a limited torque rating."
  327.     Gear6TM.model = "models/engines/transaxial_m.mdl"
  328.     Gear6TM.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  329.     Gear6TM.weight = 250
  330.     Gear6TM.switch = 0.4
  331.     Gear6TM.maxtq = 400
  332.     Gear6TM.gears = 6
  333.     Gear6TM.doubleclutch = false
  334.     Gear6TM.geartable = {}
  335.         Gear6TM.geartable[-1] = 0.5
  336.         Gear6TM.geartable[0] = 0
  337.         Gear6TM.geartable[1] = 0.1
  338.         Gear6TM.geartable[2] = 0.2
  339.         Gear6TM.geartable[3] = 0.3
  340.         Gear6TM.geartable[4] = 0.4
  341.         Gear6TM.geartable[5] = 0.5
  342.         Gear6TM.geartable[6] = 0.6
  343.     if ( CLIENT ) then
  344.         Gear6TM.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  345.         Gear6TM.guiupdate = function() return end
  346.     end
  347. MobilityTable["6Gear-T-M"] = Gear6TM
  348.  
  349. local Gear6TL = {}
  350.     Gear6TL.id = "6Gear-T-L"
  351.     Gear6TL.ent = "acf_gearbox"
  352.     Gear6TL.type = "Mobility"
  353.     Gear6TL.name = "6-Speed, Transaxial, Large"
  354.     Gear6TL.desc = "Heavy duty 6 speed gearbox, however not as resilient as a 4 speed."
  355.     Gear6TL.model = "models/engines/transaxial_l.mdl"
  356.     Gear6TL.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  357.     Gear6TL.weight = 700
  358.     Gear6TL.switch = 0.6
  359.     Gear6TL.maxtq = 6000
  360.     Gear6TL.gears = 6
  361.     Gear6TL.doubleclutch = false
  362.     Gear6TL.geartable = {}
  363.         Gear6TL.geartable[-1] = 1
  364.         Gear6TL.geartable[0] = 0
  365.         Gear6TL.geartable[1] = 0.1
  366.         Gear6TL.geartable[2] = 0.2
  367.         Gear6TL.geartable[3] = 0.3
  368.         Gear6TL.geartable[4] = 0.4
  369.         Gear6TL.geartable[5] = 0.5
  370.         Gear6TL.geartable[6] = 0.6
  371.     if ( CLIENT ) then
  372.         Gear6TL.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  373.         Gear6TL.guiupdate = function() return end
  374.     end
  375. MobilityTable["6Gear-T-L"] = Gear6TL
  376.  
  377.  
  378.  
  379.  
  380. -- 6 speed dual clutch gearboxes
  381. local Gear6TDS = {}
  382.     Gear6TDS.id = "6Gear-TD-S"
  383.     Gear6TDS.ent = "acf_gearbox"
  384.     Gear6TDS.type = "Mobility"
  385.     Gear6TDS.name = "6-Speed, Transaxial Dual Clutch, Small"
  386.     Gear6TDS.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"
  387.     Gear6TDS.model = "models/engines/transaxial_s.mdl"
  388.     Gear6TDS.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  389.     Gear6TDS.weight = 100
  390.     Gear6TDS.switch = 0.3
  391.     Gear6TDS.maxtq = 70
  392.     Gear6TDS.gears = 6
  393.     Gear6TDS.doubleclutch = true
  394.     Gear6TDS.geartable = {}
  395.         Gear6TDS.geartable[-1] = 0.5
  396.         Gear6TDS.geartable[0] = 0
  397.         Gear6TDS.geartable[1] = 0.1
  398.         Gear6TDS.geartable[2] = 0.2
  399.         Gear6TDS.geartable[3] = 0.3
  400.         Gear6TDS.geartable[4] = 0.4
  401.         Gear6TDS.geartable[5] = 0.5
  402.         Gear6TDS.geartable[6] = 0.6
  403.     if ( CLIENT ) then
  404.         Gear6TDS.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  405.         Gear6TDS.guiupdate = function() return end
  406.     end
  407. MobilityTable["6Gear-TD-S"] = Gear6TDS
  408.  
  409. local Gear6TDM = {}
  410.     Gear6TDM.id = "6Gear-TD-M"
  411.     Gear6TDM.ent = "acf_gearbox"
  412.     Gear6TDM.type = "Mobility"
  413.     Gear6TDM.name = "6-Speed, Transaxial Dual Clutch, Medium"
  414.     Gear6TDM.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"
  415.     Gear6TDM.model = "models/engines/transaxial_m.mdl"
  416.     Gear6TDM.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  417.     Gear6TDM.weight = 400
  418.     Gear6TDM.switch = 0.4
  419.     Gear6TDM.maxtq = 400
  420.     Gear6TDM.gears = 6
  421.     Gear6TDM.doubleclutch = true
  422.     Gear6TDM.geartable = {}
  423.         Gear6TDM.geartable[-1] = 0.5
  424.         Gear6TDM.geartable[0] = 0
  425.         Gear6TDM.geartable[1] = 0.1
  426.         Gear6TDM.geartable[2] = 0.2
  427.         Gear6TDM.geartable[3] = 0.3
  428.         Gear6TDM.geartable[4] = 0.4
  429.         Gear6TDM.geartable[5] = 0.5
  430.         Gear6TDM.geartable[6] = 0.6
  431.     if ( CLIENT ) then
  432.         Gear6TDM.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  433.         Gear6TDM.guiupdate = function() return end
  434.     end
  435. MobilityTable["6Gear-TD-M"] = Gear6TDM
  436.  
  437. local Gear6TDL = {}
  438.     Gear6TDL.id = "6Gear-TD-L"
  439.     Gear6TDL.ent = "acf_gearbox"
  440.     Gear6TDL.type = "Mobility"
  441.     Gear6TDL.name = "6-Speed, Transaxial Dual Clutch, Large"
  442.     Gear6TDL.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"
  443.     Gear6TDL.model = "models/engines/transaxial_l.mdl"
  444.     Gear6TDL.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  445.     Gear6TDL.weight = 900
  446.     Gear6TDL.switch = 0.6
  447.     Gear6TDL.maxtq = 3500
  448.     Gear6TDL.gears = 6
  449.     Gear6TDL.doubleclutch = true
  450.     Gear6TDL.geartable = {}
  451.         Gear6TDL.geartable[-1] = 1
  452.         Gear6TDL.geartable[0] = 0
  453.         Gear6TDL.geartable[1] = 0.1
  454.         Gear6TDL.geartable[2] = 0.2
  455.         Gear6TDL.geartable[3] = 0.3
  456.         Gear6TDL.geartable[4] = 0.4
  457.         Gear6TDL.geartable[5] = 0.5
  458.         Gear6TDL.geartable[6] = 0.6
  459.     if ( CLIENT ) then
  460.         Gear6TDL.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  461.         Gear6TDL.guiupdate = function() return end
  462.     end
  463. MobilityTable["6Gear-TD-L"] = Gear6TDL
  464.  
  465.  
  466.  
  467.  
  468. -- 4 speed normal inline gearboxes
  469. local Gear4LS = {}
  470.     Gear4LS.id = "4Gear-L-S"
  471.     Gear4LS.ent = "acf_gearbox"
  472.     Gear4LS.type = "Mobility"
  473.     Gear4LS.name = "4-Speed, Inline, Small"
  474.     Gear4LS.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"
  475.     Gear4LS.model = "models/engines/linear_s.mdl"
  476.     Gear4LS.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  477.     Gear4LS.weight = 50
  478.     Gear4LS.switch = 0.3
  479.     Gear4LS.maxtq = 80
  480.     Gear4LS.gears = 4
  481.     Gear4LS.doubleclutch = false
  482.     Gear4LS.geartable = {}
  483.         Gear4LS.geartable[-1] = 0.5
  484.         Gear4LS.geartable[0] = 0
  485.         Gear4LS.geartable[1] = 0.1
  486.         Gear4LS.geartable[2] = 0.2
  487.         Gear4LS.geartable[3] = 0.4
  488.         Gear4LS.geartable[4] = 0.8
  489.     if ( CLIENT ) then
  490.         Gear4LS.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  491.         Gear4LS.guiupdate = function() return end
  492.     end
  493. MobilityTable["4Gear-L-S"] = Gear4LS
  494.  
  495. local Gear4LM = {}
  496.     Gear4LM.id = "4Gear-L-M"
  497.     Gear4LM.ent = "acf_gearbox"
  498.     Gear4LM.type = "Mobility"
  499.     Gear4LM.name = "4-Speed, Inline, Medium"
  500.     Gear4LM.desc = "A medium sized, 4 speed inline gearbox"
  501.     Gear4LM.model = "models/engines/linear_m.mdl"
  502.     Gear4LM.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  503.     Gear4LM.weight = 150
  504.     Gear4LM.switch = 0.4
  505.     Gear4LM.maxtq = 550
  506.     Gear4LM.gears = 4
  507.     Gear4LM.doubleclutch = false
  508.     Gear4LM.geartable = {}
  509.         Gear4LM.geartable[-1] = 0.5
  510.         Gear4LM.geartable[0] = 0
  511.         Gear4LM.geartable[1] = 0.1
  512.         Gear4LM.geartable[2] = 0.2
  513.         Gear4LM.geartable[3] = 0.4
  514.         Gear4LM.geartable[4] = 0.8
  515.     if ( CLIENT ) then
  516.         Gear4LM.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  517.         Gear4LM.guiupdate = function() return end
  518.     end
  519. MobilityTable["4Gear-T-M"] = Gear4LM
  520.  
  521. local Gear4LL = {}
  522.     Gear4LL.id = "4Gear-L-L"
  523.     Gear4LL.ent = "acf_gearbox"
  524.     Gear4LL.type = "Mobility"
  525.     Gear4LL.name = "4-Speed, Inline, Large"
  526.     Gear4LL.desc = "A large, heavy and sturdy 4 speed inline gearbox"
  527.     Gear4LL.model = "models/engines/linear_l.mdl"
  528.     Gear4LL.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  529.     Gear4LL.weight = 500
  530.     Gear4LL.switch = 0.6
  531.     Gear4LL.maxtq = 6000
  532.     Gear4LL.gears = 4
  533.     Gear4LL.doubleclutch = false
  534.     Gear4LL.geartable = {}
  535.         Gear4LL.geartable[-1] = 1
  536.         Gear4LL.geartable[0] = 0
  537.         Gear4LL.geartable[1] = 0.1
  538.         Gear4LL.geartable[2] = 0.2
  539.         Gear4LL.geartable[3] = 0.4
  540.         Gear4LL.geartable[4] = 0.8
  541.     if ( CLIENT ) then
  542.         Gear4LL.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  543.         Gear4LL.guiupdate = function() return end
  544.     end
  545. MobilityTable["4Gear-L-L"] = Gear4LL
  546.  
  547.  
  548.  
  549.  
  550. -- 4 speed inline dual clutch gearboxes
  551. local Gear4TLS = {}
  552.     Gear4TLS.id = "4Gear-LD-S"
  553.     Gear4TLS.ent = "acf_gearbox"
  554.     Gear4TLS.type = "Mobility"
  555.     Gear4TLS.name = "4-Speed, Inline Dual Clutch, Small"
  556.     Gear4TLS.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"
  557.     Gear4TLS.model = "models/engines/linear_s.mdl"
  558.     Gear4TLS.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  559.     Gear4TLS.weight = 65
  560.     Gear4TLS.switch = 0.3
  561.     Gear4TLS.maxtq = 80
  562.     Gear4TLS.gears = 4
  563.     Gear4TLS.doubleclutch = true
  564.     Gear4TLS.geartable = {}
  565.         Gear4TLS.geartable[-1] = 0.5
  566.         Gear4TLS.geartable[0] = 0
  567.         Gear4TLS.geartable[1] = 0.1
  568.         Gear4TLS.geartable[2] = 0.2
  569.         Gear4TLS.geartable[3] = 0.4
  570.         Gear4TLS.geartable[4] = 0.8
  571.     if ( CLIENT ) then
  572.         Gear4TLS.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  573.         Gear4TLS.guiupdate = function() return end
  574.     end
  575. MobilityTable["4Gear-LD-S"] = Gear4TLS
  576.  
  577. local Gear4TLM = {}
  578.     Gear4TLM.id = "4Gear-LD-M"
  579.     Gear4TLM.ent = "acf_gearbox"
  580.     Gear4TLM.type = "Mobility"
  581.     Gear4TLM.name = "4-Speed, Inline Dual Clutch, Medium"
  582.     Gear4TLM.desc = "A medium sized, 4 speed inline gearbox. The dual clutch allows you to apply power and brake each side independently"
  583.     Gear4TLM.model = "models/engines/linear_m.mdl"
  584.     Gear4TLM.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  585.     Gear4TLM.weight = 200
  586.     Gear4TLM.switch = 0.4
  587.     Gear4TLM.maxtq = 550
  588.     Gear4TLM.gears = 4
  589.     Gear4TLM.doubleclutch = true
  590.     Gear4TLM.geartable = {}
  591.         Gear4TLM.geartable[-1] = 0.5
  592.         Gear4TLM.geartable[0] = 0
  593.         Gear4TLM.geartable[1] = 0.1
  594.         Gear4TLM.geartable[2] = 0.2
  595.         Gear4TLM.geartable[3] = 0.4
  596.         Gear4TLM.geartable[4] = 0.8
  597.     if ( CLIENT ) then
  598.         Gear4TLM.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  599.         Gear4TLM.guiupdate = function() return end
  600.     end
  601. MobilityTable["4Gear-LD-M"] = Gear4TLM
  602.  
  603. local Gear4LDL = {}
  604.     Gear4LDL.id = "4Gear-LD-L"
  605.     Gear4LDL.ent = "acf_gearbox"
  606.     Gear4LDL.type = "Mobility"
  607.     Gear4LDL.name = "4-Speed, Inline Dual Clutch, Large"
  608.     Gear4LDL.desc = "A large, heavy and sturdy 4 speed inline gearbox. The dual clutch allows you to apply power and brake each side independently"
  609.     Gear4LDL.model = "models/engines/linear_l.mdl"
  610.     Gear4LDL.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  611.     Gear4LDL.weight = 650
  612.     Gear4LDL.switch = 0.6
  613.     Gear4LDL.maxtq = 6000
  614.     Gear4LDL.gears = 4
  615.     Gear4LDL.doubleclutch = true
  616.     Gear4LDL.geartable = {}
  617.         Gear4LDL.geartable[-1] = 1
  618.         Gear4LDL.geartable[0] = 0
  619.         Gear4LDL.geartable[1] = 0.1
  620.         Gear4LDL.geartable[2] = 0.2
  621.         Gear4LDL.geartable[3] = 0.4
  622.         Gear4LDL.geartable[4] = 0.8
  623.     if ( CLIENT ) then
  624.         Gear4LDL.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  625.         Gear4LDL.guiupdate = function() return end
  626.     end
  627. MobilityTable["4Gear-LD-L"] = Gear4LDL
  628.  
  629.  
  630.  
  631.  
  632. -- 6 speed normal inline gearboxes
  633. local Gear6LS = {}
  634.     Gear6LS.id = "6Gear-L-S"
  635.     Gear6LS.ent = "acf_gearbox"
  636.     Gear6LS.type = "Mobility"
  637.     Gear6LS.name = "6-Speed, Inline, Small"
  638.     Gear6LS.desc = "A small and light 6 speed inline gearbox, with a limited max torque rating."
  639.     Gear6LS.model = "models/engines/linear_s.mdl"
  640.     Gear6LS.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  641.     Gear6LS.weight = 70
  642.     Gear6LS.switch = 0.3
  643.     Gear6LS.maxtq = 70
  644.     Gear6LS.gears = 6
  645.     Gear6LS.doubleclutch = false
  646.     Gear6LS.geartable = {}
  647.         Gear6LS.geartable[-1] = 0.5
  648.         Gear6LS.geartable[0] = 0
  649.         Gear6LS.geartable[1] = 0.1
  650.         Gear6LS.geartable[2] = 0.2
  651.         Gear6LS.geartable[3] = 0.3
  652.         Gear6LS.geartable[4] = 0.4
  653.         Gear6LS.geartable[5] = 0.5
  654.         Gear6LS.geartable[6] = 0.6
  655.     if ( CLIENT ) then
  656.         Gear6LS.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  657.         Gear6LS.guiupdate = function() return end
  658.     end
  659. MobilityTable["6Gear-L-S"] = Gear6LS
  660.  
  661. local Gear6LM = {}
  662.     Gear6LM.id = "6Gear-L-M"
  663.     Gear6LM.ent = "acf_gearbox"
  664.     Gear6LM.type = "Mobility"
  665.     Gear6LM.name = "6-Speed, Inline, Medium"
  666.     Gear6LM.desc = "A medium duty 6 speed inline gearbox with a limited torque rating."
  667.     Gear6LM.model = "models/engines/linear_m.mdl"
  668.     Gear6LM.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  669.     Gear6LM.weight = 250
  670.     Gear6LM.switch = 0.4
  671.     Gear6LM.maxtq = 400
  672.     Gear6LM.gears = 6
  673.     Gear6LM.doubleclutch = false
  674.     Gear6LM.geartable = {}
  675.         Gear6LM.geartable[-1] = 0.5
  676.         Gear6LM.geartable[0] = 0
  677.         Gear6LM.geartable[1] = 0.1
  678.         Gear6LM.geartable[2] = 0.2
  679.         Gear6LM.geartable[3] = 0.3
  680.         Gear6LM.geartable[4] = 0.4
  681.         Gear6LM.geartable[5] = 0.5
  682.         Gear6LM.geartable[6] = 0.6
  683.     if ( CLIENT ) then
  684.         Gear6LM.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  685.         Gear6LM.guiupdate = function() return end
  686.     end
  687. MobilityTable["6Gear-L-M"] = Gear6LM
  688.  
  689. local Gear6LL = {}
  690.     Gear6LL.id = "6Gear-L-L"
  691.     Gear6LL.ent = "acf_gearbox"
  692.     Gear6LL.type = "Mobility"
  693.     Gear6LL.name = "6-Speed, Inline, Large"
  694.     Gear6LL.desc = "Heavy duty 6 speed inline gearbox, however not as resilient as a 4 speed."
  695.     Gear6LL.model = "models/engines/linear_l.mdl"
  696.     Gear6LL.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  697.     Gear6LL.weight = 700
  698.     Gear6LL.switch = 0.6
  699.     Gear6LL.maxtq = 6000
  700.     Gear6LL.gears = 6
  701.     Gear6LL.doubleclutch = false
  702.     Gear6LL.geartable = {}
  703.         Gear6LL.geartable[-1] = 1
  704.         Gear6LL.geartable[0] = 0
  705.         Gear6LL.geartable[1] = 0.1
  706.         Gear6LL.geartable[2] = 0.2
  707.         Gear6LL.geartable[3] = 0.3
  708.         Gear6LL.geartable[4] = 0.4
  709.         Gear6LL.geartable[5] = 0.5
  710.         Gear6LL.geartable[6] = 0.6
  711.     if ( CLIENT ) then
  712.         Gear6LL.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  713.         Gear6LL.guiupdate = function() return end
  714.     end
  715. MobilityTable["6Gear-L-L"] = Gear6LL
  716.  
  717.  
  718.  
  719.  
  720.  
  721. -- 6 speed dual clutch inline gearboxes
  722. local Gear6LDS = {}
  723.     Gear6LDS.id = "6Gear-LD-S"
  724.     Gear6LDS.ent = "acf_gearbox"
  725.     Gear6LDS.type = "Mobility"
  726.     Gear6LDS.name = "6-Speed, Inline Dual Clutch, Small"
  727.     Gear6LDS.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"
  728.     Gear6LDS.model = "models/engines/linear_s.mdl"
  729.     Gear6LDS.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  730.     Gear6LDS.weight = 100
  731.     Gear6LDS.switch = 0.3
  732.     Gear6LDS.maxtq = 70
  733.     Gear6LDS.gears = 6
  734.     Gear6LDS.doubleclutch = true
  735.     Gear6LDS.geartable = {}
  736.         Gear6LDS.geartable[-1] = 0.5
  737.         Gear6LDS.geartable[0] = 0
  738.         Gear6LDS.geartable[1] = 0.1
  739.         Gear6LDS.geartable[2] = 0.2
  740.         Gear6LDS.geartable[3] = 0.3
  741.         Gear6LDS.geartable[4] = 0.4
  742.         Gear6LDS.geartable[5] = 0.5
  743.         Gear6LDS.geartable[6] = 0.6
  744.     if ( CLIENT ) then
  745.         Gear6LDS.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  746.         Gear6LDS.guiupdate = function() return end
  747.     end
  748. MobilityTable["6Gear-LD-S"] = Gear6LDS
  749.  
  750. local Gear6LDM = {}
  751.     Gear6LDM.id = "6Gear-LD-M"
  752.     Gear6LDM.ent = "acf_gearbox"
  753.     Gear6LDM.type = "Mobility"
  754.     Gear6LDM.name = "6-Speed, Inline Dual Clutch, Medium"
  755.     Gear6LDM.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"
  756.     Gear6LDM.model = "models/engines/linear_m.mdl"
  757.     Gear6LDM.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  758.     Gear6LDM.weight = 400
  759.     Gear6LDM.switch = 0.4
  760.     Gear6LDM.maxtq = 400
  761.     Gear6LDM.gears = 6
  762.     Gear6LDM.doubleclutch = true
  763.     Gear6LDM.geartable = {}
  764.         Gear6LDM.geartable[-1] = 0.5
  765.         Gear6LDM.geartable[0] = 0
  766.         Gear6LDM.geartable[1] = 0.1
  767.         Gear6LDM.geartable[2] = 0.2
  768.         Gear6LDM.geartable[3] = 0.3
  769.         Gear6LDM.geartable[4] = 0.4
  770.         Gear6LDM.geartable[5] = 0.5
  771.         Gear6LDM.geartable[6] = 0.6
  772.     if ( CLIENT ) then
  773.         Gear6LDM.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  774.         Gear6LDM.guiupdate = function() return end
  775.     end
  776. MobilityTable["6Gear-LD-M"] = Gear6LDM
  777.  
  778. local Gear6LDL = {}
  779.     Gear6LDL.id = "6Gear-LD-L"
  780.     Gear6LDL.ent = "acf_gearbox"
  781.     Gear6LDL.type = "Mobility"
  782.     Gear6LDL.name = "6-Speed, Inline Dual Clutch, Large"
  783.     Gear6LDL.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"
  784.     Gear6LDL.model = "models/engines/linear_l.mdl"
  785.     Gear6LDL.sound = "vehicles/junker/jnk_fourth_cruise_loop2.wav"
  786.     Gear6LDL.weight = 900
  787.     Gear6LDL.switch = 0.6
  788.     Gear6LDL.maxtq = 3500
  789.     Gear6LDL.gears = 6
  790.     Gear6LDL.doubleclutch = true
  791.     Gear6LDL.geartable = {}
  792.         Gear6LDL.geartable[-1] = 1
  793.         Gear6LDL.geartable[0] = 0
  794.         Gear6LDL.geartable[1] = 0.1
  795.         Gear6LDL.geartable[2] = 0.2
  796.         Gear6LDL.geartable[3] = 0.3
  797.         Gear6LDL.geartable[4] = 0.4
  798.         Gear6LDL.geartable[5] = 0.5
  799.         Gear6LDL.geartable[6] = 0.6
  800.     if ( CLIENT ) then
  801.         Gear6LDL.guicreate = (function( Panel, Table ) ACFGearboxGUICreate( Table ) end or nil)
  802.         Gear6LDL.guiupdate = function() return end
  803.     end
  804. MobilityTable["6Gear-LD-L"] = Gear6LDL
  805.  
  806.  
  807. -- local Tracks = {}
  808.     -- Tracks.id = "CarV8"
  809.     -- Tracks.ent = "acf_engine"
  810.     -- Tracks.type = "Mobility"
  811.     -- Tracks.name = "Track"
  812.     -- Tracks.desc = "Tank tracks"
  813.     -- Tracks.model = "models/vehicle/vehicle_engine_block.mdl"
  814.     -- Tracks.weight = 200
  815.     -- if ( CLIENT ) then
  816.         -- Tracks.guicreate = (function( Panel, Table ) ACFTrackGUICreate( Table ) end or nil)
  817.         -- Tracks.guiupdate = function() return end
  818.     -- end
  819. -- MobilityTable["Tracks"] = Tracks
  820.  
  821. list.Set( "ACFEnts", "Mobility", MobilityTable )    --end mobility listing
  822.  
  823. local MobClass = {}
  824.  
  825. local SingleClutchT = {}
  826.     SingleClutchT.type = "Gearbox"
  827.     SingleClutchT.name = "Single Clutch, Transverse"
  828. MobClass["Gear-SC-T"] = SingleClutchT  
  829.  
  830. local DualClutchT = {}
  831.     DualClutchT.type = "Gearbox"
  832.     DualClutchT.name = "Dual Clutch, Transverse"
  833. MobClass["Gear-DC-T"] = DualClutchT
  834.  
  835. local SingleClutchL = {}
  836.     SingleClutchL.type = "Gearbox"
  837.     SingleClutchL.name = "Single Clutch, Linear"
  838. MobClass["Gear-SC-L"] = SingleClutchL  
  839.  
  840. local DualClutchL = {}
  841.     DualClutchL.type = "Gearbox"
  842.     DualClutchL.name = "Dual Clutch, Linear"
  843. MobClass["Gear-DC-L"] = DualClutchL
  844.  
  845. local Inline4D = {}
  846.     Inline4D.type = "Engine"
  847.     Inline4D.name = "Inline 4, Diesel"
  848. MobClass["Engine-I4-D"] = Inline4D
  849.  
  850. list.Set( "ACFClasses", "MobClass", MobClass )  --End mobility classes listing
Add Comment
Please, Sign In to add comment