Advertisement
Shiny_

Untitled

Jul 15th, 2014
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 24.71 KB | None | 0 0
  1. -- Nazwy pojazdów:
  2. EUROS =         587
  3. ELEGY =         562
  4. NEBULA =        516
  5. REGINA =        479
  6. SULTAN =        560
  7. ADMIRAL =       445
  8. BANSHEE =       429
  9. BRAVURA =       401
  10. MONSTER =       444
  11. PICADOR =       600
  12. TURISMO =       451
  13. INFERNUS =      411
  14. BUCCANEER =     518
  15. MONSTER_A =     556
  16. MONSTER_B =     557
  17. FBI_RANCHER =   490
  18.  
  19. addEventHandler("onResourceStart", root, function()
  20.     -- if getElementModel(veh) == BRAVURA then
  21.     -- BRAVURA:
  22.     setModelHandling(BRAVURA, "mass", 1600.0)
  23.     setModelHandling(BRAVURA, "turnMass", 3921.3)
  24.     setModelHandling(BRAVURA, "dragCoeff", 1.8)
  25.     setModelHandling(BRAVURA, "centerOfMass", { 0, -0.4, 0 } )
  26.     setModelHandling(BRAVURA, "percentSubmerged", 75)
  27.     setModelHandling(BRAVURA, "tractionMultiplier", 0.75)
  28.     setModelHandling(BRAVURA, "tractionLoss", 0.85)
  29.     setModelHandling(BRAVURA, "tractionBias", 0.52)
  30.     setModelHandling(BRAVURA, "numberOfGears", 5)
  31.     setModelHandling(BRAVURA, "maxVelocity", 200)
  32.     setModelHandling(BRAVURA, "engineAcceleration", 8.8)
  33.     setModelHandling(BRAVURA, "engineInertia", 10)
  34.     setModelHandling(BRAVURA, "driveType", "rwd")
  35.     setModelHandling(BRAVURA, "engineType", "petrol")
  36.     setModelHandling(BRAVURA, "brakeDeceleration", 10)
  37.     setModelHandling(BRAVURA, "brakeBias", 0.53)
  38.     setModelHandling(BRAVURA, "ABS", false)
  39.     setModelHandling(BRAVURA, "steeringLock", 35)
  40.     setModelHandling(BRAVURA, "suspensionForceLevel", 1.3)
  41.     setModelHandling(BRAVURA, "suspensionDamping", 0.12)
  42.     setModelHandling(BRAVURA, "suspensionHighSpeedDamping", 0)
  43.     setModelHandling(BRAVURA, "suspensionUpperLimit", 0.28)
  44.     setModelHandling(BRAVURA, "suspensionLowerLimit", -0.12)
  45.     setModelHandling(BRAVURA, "suspensionFrontRearBias", 0.38)
  46.     setModelHandling(BRAVURA, "suspensionAntiDiveMultiplier", 0)
  47.     setModelHandling(BRAVURA, "seatOffsetDistance", 0.2)
  48.     setModelHandling(BRAVURA, "collisionDamageMultiplier", 0.24)
  49.     setModelHandling(BRAVURA, "monetary", 9000)
  50.     setModelHandling(BRAVURA, "modelFlags", 0x40000000)
  51.     setModelHandling(BRAVURA, "handlingFlags", 0x10200008)
  52.     setModelHandling(BRAVURA, "headLight", 0)
  53.     setModelHandling(BRAVURA, "tailLight", 0)
  54.     setModelHandling(BRAVURA, "animGroup", 0)
  55.  
  56. -- elseif getElementModel(veh) == ADMIRAL then
  57. -- ADMIRAL:
  58.     setModelHandling(ADMIRAL, "mass", 1600.0)
  59.     setModelHandling(ADMIRAL, "turnMass", 3600.0)
  60.     setModelHandling(ADMIRAL, "dragCoeff", 2.2)
  61.     setModelHandling(ADMIRAL, "centerOfMass", { 0, 0, -0.2 } )
  62.     setModelHandling(ADMIRAL, "percentSubmerged", 75)
  63.     setModelHandling(ADMIRAL, "tractionMultiplier", 0.65)
  64.     setModelHandling(ADMIRAL, "tractionLoss", 0.75)
  65.     setModelHandling(ADMIRAL, "tractionBias", 0.5)
  66.     setModelHandling(ADMIRAL, "numberOfGears", 5)
  67.     setModelHandling(ADMIRAL, "maxVelocity", 185)
  68.     setModelHandling(ADMIRAL, "engineAcceleration", 10.4)
  69.     setModelHandling(ADMIRAL, "engineInertia", 10)
  70.     setModelHandling(ADMIRAL, "driveType", "rwd")
  71.     setModelHandling(ADMIRAL, "engineType", "petrol")
  72.     setModelHandling(ADMIRAL, "brakeDeceleration", 10)
  73.     setModelHandling(ADMIRAL, "brakeBias", 0.5)
  74.     setModelHandling(ADMIRAL, "ABS", false)
  75.     setModelHandling(ADMIRAL, "steeringLock", 29)
  76.     setModelHandling(ADMIRAL, "suspensionForceLevel", 1)
  77.     setModelHandling(ADMIRAL, "suspensionDamping", 0.08)
  78.     setModelHandling(ADMIRAL, "suspensionHighSpeedDamping", 0)
  79.     setModelHandling(ADMIRAL, "suspensionUpperLimit", 0.3)
  80.     setModelHandling(ADMIRAL, "suspensionLowerLimit", -0.19)
  81.     setModelHandling(ADMIRAL, "suspensionFrontRearBias", 0.5)
  82.     setModelHandling(ADMIRAL, "suspensionAntiDiveMultiplier", 0.3)
  83.     setModelHandling(ADMIRAL, "seatOffsetDistance", 0.2)
  84.     setModelHandling(ADMIRAL, "collisionDamageMultiplier", 0.52)
  85.     setModelHandling(ADMIRAL, "monetary", 35000)
  86.     setModelHandling(ADMIRAL, "modelFlags", 0x0)
  87.     setModelHandling(ADMIRAL, "handlingFlags", 0x404400)
  88.     setModelHandling(ADMIRAL, "headLight", 0)
  89.     setModelHandling(ADMIRAL, "tailLight", 1)
  90.     setModelHandling(ADMIRAL, "animGroup", 0)
  91.  
  92. -- elseif getElementModel(veh) == INFERNUS then
  93. -- INFERNUS:
  94.     setModelHandling(INFERNUS, "mass", 1600)
  95.     setModelHandling(INFERNUS, "turnMass", 2000)
  96.     setModelHandling(INFERNUS, "dragCoeff", 1.75)
  97.     setModelHandling(INFERNUS, "centerOfMass", { 0, 0, -0.6 } )
  98.     setModelHandling(INFERNUS, "percentSubmerged", 70)
  99.     setModelHandling(INFERNUS, "tractionMultiplier", 0.85)
  100.     setModelHandling(INFERNUS, "tractionLoss", 0.8)
  101.     setModelHandling(INFERNUS, "tractionBias", 0.39)
  102.     setModelHandling(INFERNUS, "numberOfGears", 5)
  103.     setModelHandling(INFERNUS, "maxVelocity", 220)
  104.     setModelHandling(INFERNUS, "engineAcceleration", 25)
  105.     setModelHandling(INFERNUS, "engineInertia", 10)
  106.     setModelHandling(INFERNUS, "driveType", "rwd")
  107.     setModelHandling(INFERNUS, "engineType", "petrol")
  108.     setModelHandling(INFERNUS, "brakeDeceleration", 16)
  109.     setModelHandling(INFERNUS, "brakeBias", 0.5)
  110.     setModelHandling(INFERNUS, "ABS", false)
  111.     setModelHandling(INFERNUS, "steeringLock", 32.5)
  112.     setModelHandling(INFERNUS, "suspensionForceLevel", 0.8)
  113.     setModelHandling(INFERNUS, "suspensionDamping", 0.19)
  114.     setModelHandling(INFERNUS, "suspensionHighSpeedDamping", 0)
  115.     setModelHandling(INFERNUS, "suspensionUpperLimit", 0.25)
  116.     setModelHandling(INFERNUS, "suspensionLowerLimit", -0.1)
  117.     setModelHandling(INFERNUS, "suspensionFrontRearBias", 0.5)
  118.     setModelHandling(INFERNUS, "suspensionAntiDiveMultiplier", 0.4)
  119.     setModelHandling(INFERNUS, "seatOffsetDistance", 0.38)
  120.     setModelHandling(INFERNUS, "collisionDamageMultiplier", 0.35)
  121.     setModelHandling(INFERNUS, "monetary", 95000)
  122.     setModelHandling(INFERNUS, "modelFlags", 0x220004)
  123.     setModelHandling(INFERNUS, "handlingFlags", 0x11418804)
  124.     setModelHandling(INFERNUS, "headLight", 1)
  125.     setModelHandling(INFERNUS, "tailLight", 1)
  126.     setModelHandling(INFERNUS, "animGroup", 1)
  127.  
  128. -- elseif getElementModel(veh) == FBI_RANCHER then
  129. -- FBI_RANCHER:
  130.     setModelHandling(FBI_RANCHER, "mass", 1800)
  131.     setModelHandling(FBI_RANCHER, "turnMass", 3750)
  132.     setModelHandling(FBI_RANCHER, "dragCoeff", 2.1)
  133.     setModelHandling(FBI_RANCHER, "centerOfMass", { 0, 0.1, -0.1 } )
  134.     setModelHandling(FBI_RANCHER, "percentSubmerged", 75)
  135.     setModelHandling(FBI_RANCHER, "tractionMultiplier", 0.6)
  136.     setModelHandling(FBI_RANCHER, "tractionLoss", 0.85)
  137.     setModelHandling(FBI_RANCHER, "tractionBias", 0.5)
  138.     setModelHandling(FBI_RANCHER, "numberOfGears", 5)
  139.     setModelHandling(FBI_RANCHER, "maxVelocity", 230)
  140.     setModelHandling(FBI_RANCHER, "engineAcceleration", 9.4)
  141.     setModelHandling(FBI_RANCHER, "engineInertia", 5)
  142.     setModelHandling(FBI_RANCHER, "driveType", "awd")
  143.     setModelHandling(FBI_RANCHER, "engineType", "petrol")
  144.     setModelHandling(FBI_RANCHER, "brakeDeceleration", 7)
  145.     setModelHandling(FBI_RANCHER, "brakeBias", 0.5)
  146.     setModelHandling(FBI_RANCHER, "ABS", false)
  147.     setModelHandling(FBI_RANCHER, "steeringLock", 30)
  148.     setModelHandling(FBI_RANCHER, "suspensionForceLevel", 1)
  149.     setModelHandling(FBI_RANCHER, "suspensionDamping", 0.15)
  150.     setModelHandling(FBI_RANCHER, "suspensionHighSpeedDamping", 0)
  151.     setModelHandling(FBI_RANCHER, "suspensionUpperLimit", 0.28)
  152.     setModelHandling(FBI_RANCHER, "suspensionLowerLimit", -0.16)
  153.     setModelHandling(FBI_RANCHER, "suspensionFrontRearBias", 0.5)
  154.     setModelHandling(FBI_RANCHER, "suspensionAntiDiveMultiplier", 0.3)
  155.     setModelHandling(FBI_RANCHER, "seatOffsetDistance", 0.25)
  156.     setModelHandling(FBI_RANCHER, "collisionDamageMultiplier", 0.48)
  157.     setModelHandling(FBI_RANCHER, "monetary", 40000)
  158.     setModelHandling(FBI_RANCHER, "modelFlags", 0x40222000)
  159.     setModelHandling(FBI_RANCHER, "handlingFlags", 0x14342207)
  160.     setModelHandling(FBI_RANCHER, "headLight", 0)
  161.     setModelHandling(FBI_RANCHER, "tailLight", 1)
  162.     setModelHandling(FBI_RANCHER, "animGroup", 0)
  163.  
  164. -- elseif getElementModel(veh) == EUROS then
  165. -- EUROS:
  166.     setModelHandling(EUROS, "mass", 1600)
  167.     setModelHandling(EUROS, "turnMass", 3200)
  168.     setModelHandling(EUROS, "dragCoeff", 2.2)
  169.     setModelHandling(EUROS, "centerOfMass", { 0, 0, 0.2 } )
  170.     setModelHandling(EUROS, "percentSubmerged", 75)
  171.     setModelHandling(EUROS, "tractionMultiplier", 0.7)
  172.     setModelHandling(EUROS, "tractionLoss", 0.8)
  173.     setModelHandling(EUROS, "tractionBias", 0.5)
  174.     setModelHandling(EUROS, "numberOfGears", 5)
  175.     setModelHandling(EUROS, "maxVelocity", 200)
  176.     setModelHandling(EUROS, "engineAcceleration", 10)
  177.     setModelHandling(EUROS, "engineInertia", 5)
  178.     setModelHandling(EUROS, "driveType", "awd")
  179.     setModelHandling(EUROS, "engineType", "petrol")
  180.     setModelHandling(EUROS, "brakeDeceleration", 8)
  181.     setModelHandling(EUROS, "brakeBias", 0.55)
  182.     setModelHandling(EUROS, "ABS", false)
  183.     setModelHandling(EUROS, "steeringLock", 26)
  184.     setModelHandling(EUROS, "suspensionForceLevel", 1.2)
  185.     setModelHandling(EUROS, "suspensionDamping", 0.15)
  186.     setModelHandling(EUROS, "suspensionHighSpeedDamping", 0)
  187.     setModelHandling(EUROS, "suspensionUpperLimit", 0.2)
  188.     setModelHandling(EUROS, "suspensionLowerLimit", -0.1)
  189.     setModelHandling(EUROS, "suspensionFrontRearBias", 0.5)
  190.     setModelHandling(EUROS, "suspensionAntiDiveMultiplier", 0.3)
  191.     setModelHandling(EUROS, "seatOffsetDistance", 0.25)
  192.     setModelHandling(EUROS, "collisionDamageMultiplier", 0.6)
  193.     setModelHandling(EUROS, "monetary", 35000)
  194.     setModelHandling(EUROS, "modelFlags", 0x40552804)
  195.     setModelHandling(EUROS, "handlingFlags", 0x1010007)
  196.     setModelHandling(EUROS, "headLight", 1)
  197.     setModelHandling(EUROS, "tailLight", 1)
  198.     setModelHandling(EUROS, "animGroup", 0)
  199.  
  200. -- elseif getElementModel(veh) == NEBULA then
  201. -- NEBULA:
  202.     setModelHandling(NEBULA, "mass", 3200)
  203.     setModelHandling(NEBULA, "turnMass", 6400)
  204.     setModelHandling(NEBULA, "dragCoeff", 2.2)
  205.     setModelHandling(NEBULA, "centerOfMass", { 0, 0, -0.6 } )
  206.     setModelHandling(NEBULA, "percentSubmerged", 80)
  207.     setModelHandling(NEBULA, "tractionMultiplier", 0.75)
  208.     setModelHandling(NEBULA, "tractionLoss", 0.85)
  209.     setModelHandling(NEBULA, "tractionBias", 0.4)
  210.     setModelHandling(NEBULA, "numberOfGears", 5)
  211.     setModelHandling(NEBULA, "maxVelocity", 135)
  212.     setModelHandling(NEBULA, "engineAcceleration", 22)
  213.     setModelHandling(NEBULA, "engineInertia", 115)
  214.     setModelHandling(NEBULA, "driveType", "awd")
  215.     setModelHandling(NEBULA, "engineType", "petrol")
  216.     setModelHandling(NEBULA, "brakeDeceleration", 9.5)
  217.     setModelHandling(NEBULA, "brakeBias", 0.5)
  218.     setModelHandling(NEBULA, "ABS", false)
  219.     setModelHandling(NEBULA, "steeringLock", 25)
  220.     setModelHandling(NEBULA, "suspensionForceLevel", 0.8)
  221.     setModelHandling(NEBULA, "suspensionDamping", 0.15)
  222.     setModelHandling(NEBULA, "suspensionHighSpeedDamping", 0)
  223.     setModelHandling(NEBULA, "suspensionUpperLimit", 0.31)
  224.     setModelHandling(NEBULA, "suspensionLowerLimit", -0.3)
  225.     setModelHandling(NEBULA, "suspensionFrontRearBias", 0.5)
  226.     setModelHandling(NEBULA, "suspensionAntiDiveMultiplier", 0)
  227.     setModelHandling(NEBULA, "seatOffsetDistance", 0.38)
  228.     setModelHandling(NEBULA, "collisionDamageMultiplier", 0.3)
  229.     setModelHandling(NEBULA, "monetary", 35000)
  230.     setModelHandling(NEBULA, "modelFlags", 0xE0DD2000)
  231.     setModelHandling(NEBULA, "handlingFlags", 0x308883)
  232.     setModelHandling(NEBULA, "headLight", 0)
  233.     setModelHandling(NEBULA, "tailLight", 1)
  234.     setModelHandling(NEBULA, "animGroup", 0)
  235.  
  236. -- elseif getElementModel(veh) == BANSHEE then
  237. -- BANSHEE:
  238.     setModelHandling(BANSHEE, "maxVelocity", 220)
  239.  
  240. -- elseif getElementModel(veh) == SULTAN then
  241. -- SULTAN:
  242.     setModelHandling(SULTAN, "mass", 1000)
  243.     setModelHandling(SULTAN, "turnMass", 1500)
  244.     setModelHandling(SULTAN, "dragCoeff", 6.5)
  245.     setModelHandling(SULTAN, "centerOfMass", { 0, 0, -0.3 } )
  246.     setModelHandling(SULTAN, "percentSubmerged", 50)
  247.     setModelHandling(SULTAN, "tractionMultiplier", 0.85)
  248.     setModelHandling(SULTAN, "tractionLoss", 0.85)
  249.     setModelHandling(SULTAN, "tractionBias", 0.5)
  250.     setModelHandling(SULTAN, "numberOfGears", 5)
  251.     setModelHandling(SULTAN, "maxVelocity", 175)
  252.     setModelHandling(SULTAN, "engineAcceleration", 30)
  253.     setModelHandling(SULTAN, "engineInertia", 150)
  254.     setModelHandling(SULTAN, "driveType", "fwd")
  255.     setModelHandling(SULTAN, "engineType", "petrol")
  256.     setModelHandling(SULTAN, "brakeDeceleration", 8.5)
  257.     setModelHandling(SULTAN, "brakeBias", 0.5)
  258.     setModelHandling(SULTAN, "ABS", false)
  259.     setModelHandling(SULTAN, "steeringLock", 30)
  260.     setModelHandling(SULTAN, "suspensionForceLevel", 2.6)
  261.     setModelHandling(SULTAN, "suspensionDamping", 0.1)
  262.     setModelHandling(SULTAN, "suspensionHighSpeedDamping", 0.35)
  263.     setModelHandling(SULTAN, "suspensionUpperLimit", 1)
  264.     setModelHandling(SULTAN, "suspensionLowerLimit", -0.2)
  265.     setModelHandling(SULTAN, "suspensionFrontRearBias", 0.5)
  266.     setModelHandling(SULTAN, "suspensionAntiDiveMultiplier", 0.28)
  267.     setModelHandling(SULTAN, "seatOffsetDistance", 0.28)
  268.     setModelHandling(SULTAN, "collisionDamageMultiplier", 0.3)
  269.     setModelHandling(SULTAN, "monetary", 35000)
  270.     setModelHandling(SULTAN, "modelFlags", 0x40AA2800)
  271.     setModelHandling(SULTAN, "handlingFlags", 0xF8000483)
  272.     setModelHandling(SULTAN, "headLight", 1)
  273.     setModelHandling(SULTAN, "tailLight", 1)
  274.     setModelHandling(SULTAN, "animGroup", 0)
  275.  
  276. -- elseif getElementModel(veh) == REGINA then
  277. -- REGINA:
  278.     setModelHandling(REGINA, "mass", 1500.0)
  279.     setModelHandling(REGINA, "turnMass", 3800.0)
  280.     setModelHandling(REGINA, "dragCoeff", 2.0)
  281.     setModelHandling(REGINA, "centerOfMass", { 0.0, 0.2, 0.0 } )
  282.     setModelHandling(REGINA, "percentSubmerged", 75)
  283.     setModelHandling(REGINA, "tractionMultiplier", 0.65)
  284.     setModelHandling(REGINA, "tractionLoss", 0.85)
  285.     setModelHandling(REGINA, "tractionBias", 0.52)
  286.     setModelHandling(REGINA, "numberOfGears", 4)
  287.     setModelHandling(REGINA, "maxVelocity", 165.0)
  288.     setModelHandling(REGINA, "engineAcceleration", 16.0)
  289.     setModelHandling(REGINA, "engineInertia", 25.0)
  290.     setModelHandling(REGINA, "driveType", "fwd")
  291.     setModelHandling(REGINA, "engineType", "petrol")
  292.     setModelHandling(REGINA, "brakeDeceleration", 5.0)
  293.     setModelHandling(REGINA, "brakeBias", 0.60)
  294.     setModelHandling(REGINA, "ABS", false)
  295.     setModelHandling(REGINA, "steeringLock", 30.0)
  296.     setModelHandling(REGINA, "suspensionForceLevel", 1.0)
  297.     setModelHandling(REGINA, "suspensionDamping", 0.1)
  298.     setModelHandling(REGINA, "suspensionHighSpeedDamping", 0.0)
  299.     setModelHandling(REGINA, "suspensionUpperLimit", 0.27)
  300.     setModelHandling(REGINA, "suspensionLowerLimit", -0.17)
  301.     setModelHandling(REGINA, "suspensionFrontRearBias", 0.5)
  302.     setModelHandling(REGINA, "suspensionAntiDiveMultiplier", 0.2)
  303.     setModelHandling(REGINA, "seatOffsetDistance", 0.24)
  304.     setModelHandling(REGINA, "collisionDamageMultiplier", 0.48)
  305.     setModelHandling(REGINA, "monetary", 18000)
  306.     setModelHandling(REGINA, "modelFlags", 0x20)
  307.     setModelHandling(REGINA, "handlingFlags", 0x1)
  308.     setModelHandling(REGINA, "headLight", 1)
  309.     setModelHandling(REGINA, "tailLight", 1)
  310.     setModelHandling(REGINA, "animGroup", 0)
  311.  
  312. -- elseif getElementModel(veh) == BUCCANEER then
  313. -- BUCCANEER:
  314.     setModelHandling(BUCCANEER, "mass", 1700)
  315.     setModelHandling(BUCCANEER, "turnMass", 4500)
  316.     setModelHandling(BUCCANEER, "dragCoeff", 2.2)
  317.     setModelHandling(BUCCANEER, "centerOfMass", { 0, 0.3, 0 } )
  318.     setModelHandling(BUCCANEER, "percentSubmerged", 70)
  319.     setModelHandling(BUCCANEER, "tractionMultiplier", 0.7)
  320.     setModelHandling(BUCCANEER, "tractionLoss", 0.9)
  321.     setModelHandling(BUCCANEER, "tractionBias", 0.5)
  322.     setModelHandling(BUCCANEER, "numberOfGears", 4)
  323.     setModelHandling(BUCCANEER, "maxVelocity", 160)
  324.     setModelHandling(BUCCANEER, "engineAcceleration", 9.6)
  325.     setModelHandling(BUCCANEER, "engineInertia", 15)
  326.     setModelHandling(BUCCANEER, "driveType", "rwd")
  327.     setModelHandling(BUCCANEER, "engineType", "petrol")
  328.     setModelHandling(BUCCANEER, "brakeDeceleration", 5)
  329.     setModelHandling(BUCCANEER, "brakeBias", 0.5)
  330.     setModelHandling(BUCCANEER, "ABS", false)
  331.     setModelHandling(BUCCANEER, "steeringLock", 35)
  332.     setModelHandling(BUCCANEER, "suspensionForceLevel", 2.1)
  333.     setModelHandling(BUCCANEER, "suspensionDamping", 0.1)
  334.     setModelHandling(BUCCANEER, "suspensionHighSpeedDamping", 0)
  335.     setModelHandling(BUCCANEER, "suspensionUpperLimit", 0.1)
  336.     setModelHandling(BUCCANEER, "suspensionLowerLimit", -0.3)
  337.     setModelHandling(BUCCANEER, "suspensionFrontRearBias", 0.5)
  338.     setModelHandling(BUCCANEER, "suspensionAntiDiveMultiplier", 0)
  339.     setModelHandling(BUCCANEER, "seatOffsetDistance", 0)
  340.     setModelHandling(BUCCANEER, "collisionDamageMultiplier", 0.52)
  341.     setModelHandling(BUCCANEER, "monetary", 19000)
  342.     setModelHandling(BUCCANEER, "modelFlags", 0x402F0000)
  343.     setModelHandling(BUCCANEER, "handlingFlags", 0x404407)
  344.     setModelHandling(BUCCANEER, "headLight", 1)
  345.     setModelHandling(BUCCANEER, "tailLight", 1)
  346.     setModelHandling(BUCCANEER, "animGroup", 1)
  347.  
  348. -- elseif getElementModel(veh) == ELEGY then
  349. -- ELEGY:
  350.     setModelHandling(ELEGY, "mass", 1500)
  351.     setModelHandling(ELEGY, "turnMass", 3500)
  352.     setModelHandling(ELEGY, "dragCoeff", 2.2)
  353.     setModelHandling(ELEGY, "centerOfMass", { 0, 0.3, -0.15 } )
  354.     setModelHandling(ELEGY, "percentSubmerged", 75)
  355.     setModelHandling(ELEGY, "tractionMultiplier", 0.65)
  356.     setModelHandling(ELEGY, "tractionLoss", 0.9)
  357.     setModelHandling(ELEGY, "tractionBias", 0.5)
  358.     setModelHandling(ELEGY, "numberOfGears", 5)
  359.     setModelHandling(ELEGY, "maxVelocity", 200)
  360.     setModelHandling(ELEGY, "engineAcceleration", 11.2)
  361.     setModelHandling(ELEGY, "engineInertia", 5)
  362.     setModelHandling(ELEGY, "driveType", "rwd")
  363.     setModelHandling(ELEGY, "engineType", "petrol")
  364.     setModelHandling(ELEGY, "brakeDeceleration", 8)
  365.     setModelHandling(ELEGY, "brakeBias", 0.5)
  366.     setModelHandling(ELEGY, "ABS", false)
  367.     setModelHandling(ELEGY, "steeringLock", 35)
  368.     setModelHandling(ELEGY, "suspensionForceLevel", 1)
  369.     setModelHandling(ELEGY, "suspensionDamping", 1.6)
  370.     setModelHandling(ELEGY, "suspensionHighSpeedDamping", 0)
  371.     setModelHandling(ELEGY, "suspensionUpperLimit", 0.28)
  372.     setModelHandling(ELEGY, "suspensionLowerLimit", -0.1)
  373.     setModelHandling(ELEGY, "suspensionFrontRearBias", 0.5)
  374.     setModelHandling(ELEGY, "suspensionAntiDiveMultiplier", 0.3)
  375.     setModelHandling(ELEGY, "seatOffsetDistance", 0.25)
  376.     setModelHandling(ELEGY, "collisionDamageMultiplier", 0.6)
  377.     setModelHandling(ELEGY, "monetary", 35000)
  378.     setModelHandling(ELEGY, "modelFlags", 0x40002804)
  379.     setModelHandling(ELEGY, "handlingFlags", 0x4000001)
  380.     setModelHandling(ELEGY, "headLight", 1)
  381.     setModelHandling(ELEGY, "tailLight", 1)
  382.     setModelHandling(ELEGY, "animGroup", 1)
  383.  
  384. -- elseif getElementModel(veh) == MONSTER then
  385. -- MONSTER:
  386.     setModelHandling(MONSTER, "turnMass", 7500)
  387.     setModelHandling(MONSTER, "dragCoeff", 3)
  388.     setModelHandling(MONSTER, "centerOfMass", { 0, 0, -0.35 } )
  389.     setModelHandling(MONSTER, "percentSubmerged", 85)
  390.     setModelHandling(MONSTER, "tractionMultiplier", 0.75)
  391.     setModelHandling(MONSTER, "tractionLoss", 0.825)
  392.     setModelHandling(MONSTER, "tractionBias", 0.475)
  393.     setModelHandling(MONSTER, "numberOfGears", 5)
  394.     setModelHandling(MONSTER, "maxVelocity", 155)
  395.     setModelHandling(MONSTER, "engineAcceleration", 18)
  396.     setModelHandling(MONSTER, "engineInertia", 25)
  397.     setModelHandling(MONSTER, "driveType", "awd")
  398.     setModelHandling(MONSTER, "engineType", "petrol")
  399.     setModelHandling(MONSTER, "brakeDeceleration", 7)
  400.     setModelHandling(MONSTER, "brakeBias", 0.45)
  401.     setModelHandling(MONSTER, "ABS", false)
  402.     setModelHandling(MONSTER, "steeringLock", 35)
  403.     setModelHandling(MONSTER, "suspensionForceLevel", 1)
  404.     setModelHandling(MONSTER, "suspensionDamping", 0.07)
  405.     setModelHandling(MONSTER, "suspensionHighSpeedDamping", 0)
  406.     setModelHandling(MONSTER, "suspensionUpperLimit", 0.4)
  407.     setModelHandling(MONSTER, "suspensionLowerLimit", -0.4)
  408.     setModelHandling(MONSTER, "suspensionFrontRearBias", 0.5)
  409.     setModelHandling(MONSTER, "suspensionAntiDiveMultiplier", 0.3)
  410.     setModelHandling(MONSTER, "seatOffsetDistance", 0.44)
  411.     setModelHandling(MONSTER, "collisionDamageMultiplier", 0.35)
  412.     setModelHandling(MONSTER, "monetary", 40000)
  413.     setModelHandling(MONSTER, "modelFlags", 0x28)
  414.     setModelHandling(MONSTER, "handlingFlags", 0x1308847)
  415.     setModelHandling(MONSTER, "headLight", 0)
  416.     setModelHandling(MONSTER, "tailLight", 1)
  417.     setModelHandling(MONSTER, "animGroup", 20)
  418.  
  419. -- elseif getElementModel(veh) == MONSTER_A then
  420. -- MONSTER_A:
  421.     setModelHandling(MONSTER_A, "turnMass", 7500)
  422.     setModelHandling(MONSTER_A, "dragCoeff", 3)
  423.     setModelHandling(MONSTER_A, "centerOfMass", { 0, 0, -0.35 } )
  424.     setModelHandling(MONSTER_A, "percentSubmerged", 85)
  425.     setModelHandling(MONSTER_A, "tractionMultiplier", 0.75)
  426.     setModelHandling(MONSTER_A, "tractionLoss", 0.825)
  427.     setModelHandling(MONSTER_A, "tractionBias", 0.475)
  428.     setModelHandling(MONSTER_A, "numberOfGears", 5)
  429.     setModelHandling(MONSTER_A, "maxVelocity", 155)
  430.     setModelHandling(MONSTER_A, "engineAcceleration", 18)
  431.     setModelHandling(MONSTER_A, "engineInertia", 25)
  432.     setModelHandling(MONSTER_A, "driveType", "awd")
  433.     setModelHandling(MONSTER_A, "engineType", "petrol")
  434.     setModelHandling(MONSTER_A, "brakeDeceleration", 7)
  435.     setModelHandling(MONSTER_A, "brakeBias", 0.45)
  436.     setModelHandling(MONSTER_A, "ABS", false)
  437.     setModelHandling(MONSTER_A, "steeringLock", 35)
  438.     setModelHandling(MONSTER_A, "suspensionForceLevel", 1)
  439.     setModelHandling(MONSTER_A, "suspensionDamping", 0.07)
  440.     setModelHandling(MONSTER_A, "suspensionHighSpeedDamping", 0)
  441.     setModelHandling(MONSTER_A, "suspensionUpperLimit", 0.4)
  442.     setModelHandling(MONSTER_A, "suspensionLowerLimit", -0.4)
  443.     setModelHandling(MONSTER_A, "suspensionFrontRearBias", 0.5)
  444.     setModelHandling(MONSTER_A, "suspensionAntiDiveMultiplier", 0.3)
  445.     setModelHandling(MONSTER_A, "seatOffsetDistance", 0.44)
  446.     setModelHandling(MONSTER_A, "collisionDamageMultiplier", 0.35)
  447.     setModelHandling(MONSTER_A, "monetary", 40000)
  448.     setModelHandling(MONSTER_A, "modelFlags", 0x28)
  449.     setModelHandling(MONSTER_A, "handlingFlags", 0x1308847)
  450.     setModelHandling(MONSTER_A, "headLight", 0)
  451.     setModelHandling(MONSTER_A, "tailLight", 1)
  452.     setModelHandling(MONSTER_A, "animGroup", 20)
  453.  
  454. -- elseif getElementModel(veh) == MONSTER_B then
  455. -- MONSTER_B:
  456.     setModelHandling(MONSTER_B, "turnMass", 7500)
  457.     setModelHandling(MONSTER_B, "dragCoeff", 3)
  458.     setModelHandling(MONSTER_B, "centerOfMass", { 0, 0, -0.35 } )
  459.     setModelHandling(MONSTER_B, "percentSubmerged", 85)
  460.     setModelHandling(MONSTER_B, "tractionMultiplier", 0.75)
  461.     setModelHandling(MONSTER_B, "tractionLoss", 0.825)
  462.     setModelHandling(MONSTER_B, "tractionBias", 0.475)
  463.     setModelHandling(MONSTER_B, "numberOfGears", 5)
  464.     setModelHandling(MONSTER_B, "maxVelocity", 155)
  465.     setModelHandling(MONSTER_B, "engineAcceleration", 18)
  466.     setModelHandling(MONSTER_B, "engineInertia", 25)
  467.     setModelHandling(MONSTER_B, "driveType", "awd")
  468.     setModelHandling(MONSTER_B, "engineType", "petrol")
  469.     setModelHandling(MONSTER_B, "brakeDeceleration", 7)
  470.     setModelHandling(MONSTER_B, "brakeBias", 0.45)
  471.     setModelHandling(MONSTER_B, "ABS", false)
  472.     setModelHandling(MONSTER_B, "steeringLock", 35)
  473.     setModelHandling(MONSTER_B, "suspensionForceLevel", 1)
  474.     setModelHandling(MONSTER_B, "suspensionDamping", 0.07)
  475.     setModelHandling(MONSTER_B, "suspensionHighSpeedDamping", 0)
  476.     setModelHandling(MONSTER_B, "suspensionUpperLimit", 0.4)
  477.     setModelHandling(MONSTER_B, "suspensionLowerLimit", -0.4)
  478.     setModelHandling(MONSTER_B, "suspensionFrontRearBias", 0.5)
  479.     setModelHandling(MONSTER_B, "suspensionAntiDiveMultiplier", 0.3)
  480.     setModelHandling(MONSTER_B, "seatOffsetDistance", 0.44)
  481.     setModelHandling(MONSTER_B, "collisionDamageMultiplier", 0.35)
  482.     setModelHandling(MONSTER_B, "monetary", 40000)
  483.     setModelHandling(MONSTER_B, "modelFlags", 0x28)
  484.     setModelHandling(MONSTER_B, "handlingFlags", 0x1308847)
  485.     setModelHandling(MONSTER_B, "headLight", 0)
  486.     setModelHandling(MONSTER_B, "tailLight", 1)
  487.     setModelHandling(MONSTER_B, "animGroup", 20)
  488.  
  489. -- elseif getElementModel(veh) == TURISMO then
  490. -- TURISMO:
  491.     setModelHandling(TURISMO, "mass", 1400)
  492.     setModelHandling(TURISMO, "turnMass", 1800)
  493.     setModelHandling(TURISMO, "dragCoeff", 1.95)
  494.     setModelHandling(TURISMO, "centerOfMass", { 0, -0.3, -0.2 } )
  495.     setModelHandling(TURISMO, "percentSubmerged", 70)
  496.     setModelHandling(TURISMO, "tractionMultiplier", 0.75)
  497.     setModelHandling(TURISMO, "tractionLoss", 0.85)
  498.     setModelHandling(TURISMO, "tractionBias", 0.45)
  499.     setModelHandling(TURISMO, "numberOfGears", 5)
  500.     setModelHandling(TURISMO, "maxVelocity", 265)
  501.     setModelHandling(TURISMO, "engineAcceleration", 14)
  502.     setModelHandling(TURISMO, "engineInertia", 10)
  503.     setModelHandling(TURISMO, "driveType", "awd")
  504.     setModelHandling(TURISMO, "engineType", "petrol")
  505.     setModelHandling(TURISMO, "brakeDeceleration", 11)
  506.     setModelHandling(TURISMO, "brakeBias", 0.51)
  507.     setModelHandling(TURISMO, "ABS", false)
  508.     setModelHandling(TURISMO, "steeringLock", 30)
  509.     setModelHandling(TURISMO, "suspensionForceLevel", 1.2)
  510.     setModelHandling(TURISMO, "suspensionDamping", 0.13)
  511.     setModelHandling(TURISMO, "suspensionHighSpeedDamping", 0)
  512.     setModelHandling(TURISMO, "suspensionUpperLimit", 0.45)
  513.     setModelHandling(TURISMO, "suspensionLowerLimit", -0.145)
  514.     setModelHandling(TURISMO, "suspensionFrontRearBias", 0.45)
  515.     setModelHandling(TURISMO, "suspensionAntiDiveMultiplier", 0.4)
  516.     setModelHandling(TURISMO, "seatOffsetDistance", 0.17)
  517.     setModelHandling(TURISMO, "collisionDamageMultiplier", 0.68)
  518.     setModelHandling(TURISMO, "monetary", 95000)
  519.     setModelHandling(TURISMO, "modelFlags", 0x40002004)
  520.     setModelHandling(TURISMO, "handlingFlags", 0xC14001)
  521.     setModelHandling(TURISMO, "headLight", 1)
  522.     setModelHandling(TURISMO, "tailLight", 1)
  523.     setModelHandling(TURISMO, "animGroup", 1)
  524.     -- end
  525. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement