Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Nazwy pojazdów:
- EUROS = 587
- ELEGY = 562
- NEBULA = 516
- REGINA = 479
- SULTAN = 560
- ADMIRAL = 445
- BANSHEE = 429
- BRAVURA = 401
- MONSTER = 444
- PICADOR = 600
- TURISMO = 451
- INFERNUS = 411
- BUCCANEER = 518
- MONSTER_A = 556
- MONSTER_B = 557
- FBI_RANCHER = 490
- addEventHandler("onPlayerVehicleEnter", getResourceRootElement(getThisResource()), function(thePlayer)
- if isPedInVehicle(thePlayer) then -- gdy tego nie było, wszystko działało "niezbyt poprawnie" (resetowało się co ~2 sekundy, czasem wcale nie działało)
- for _, veh in pairs(getElementsByType("vehicle")) do
- if getElementModel(veh) == BRAVURA then
- setVehicleHandling(veh, "mass", 1600.0)
- setVehicleHandling(veh, "turnMass", 3921.3)
- setVehicleHandling(veh, "dragCoeff", 1.8)
- setVehicleHandling(veh, "centerOfMass", { 0, -0.4, 0 } )
- setVehicleHandling(veh, "percentSubmerged", 75)
- setVehicleHandling(veh, "tractionMultiplier", 0.75)
- setVehicleHandling(veh, "tractionLoss", 0.85)
- setVehicleHandling(veh, "tractionBias", 0.52)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 200)
- setVehicleHandling(veh, "engineAcceleration", 8.8)
- setVehicleHandling(veh, "engineInertia", 10)
- setVehicleHandling(veh, "driveType", "rwd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 10)
- setVehicleHandling(veh, "brakeBias", 0.53)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 35)
- setVehicleHandling(veh, "suspensionForceLevel", 1.3)
- setVehicleHandling(veh, "suspensionDamping", 0.12)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.28)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.12)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.38)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0)
- setVehicleHandling(veh, "seatOffsetDistance", 0.2)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.24)
- setVehicleHandling(veh, "monetary", 9000)
- setVehicleHandling(veh, "modelFlags", 0x40000000)
- setVehicleHandling(veh, "handlingFlags", 0x10200008)
- setVehicleHandling(veh, "headLight", 0)
- setVehicleHandling(veh, "tailLight", 0)
- setVehicleHandling(veh, "animGroup", 0)
- elseif getElementModel(veh) == ADMIRAL then
- setVehicleHandling(veh, "mass", 1600.0)
- setVehicleHandling(veh, "turnMass", 3600.0)
- setVehicleHandling(veh, "dragCoeff", 2.2)
- setVehicleHandling(veh, "centerOfMass", { 0, 0, -0.2 } )
- setVehicleHandling(veh, "percentSubmerged", 75)
- setVehicleHandling(veh, "tractionMultiplier", 0.65)
- setVehicleHandling(veh, "tractionLoss", 0.75)
- setVehicleHandling(veh, "tractionBias", 0.5)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 185)
- setVehicleHandling(veh, "engineAcceleration", 10.4)
- setVehicleHandling(veh, "engineInertia", 10)
- setVehicleHandling(veh, "driveType", "rwd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 10)
- setVehicleHandling(veh, "brakeBias", 0.5)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 29)
- setVehicleHandling(veh, "suspensionForceLevel", 1)
- setVehicleHandling(veh, "suspensionDamping", 0.08)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.3)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.19)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.3)
- setVehicleHandling(veh, "seatOffsetDistance", 0.2)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.52)
- setVehicleHandling(veh, "monetary", 35000)
- setVehicleHandling(veh, "modelFlags", 0x0)
- setVehicleHandling(veh, "handlingFlags", 0x404400)
- setVehicleHandling(veh, "headLight", 0)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 0)
- elseif getElementModel(veh) == INFERNUS then
- setVehicleHandling(veh, "mass", 1600)
- setVehicleHandling(veh, "turnMass", 2000)
- setVehicleHandling(veh, "dragCoeff", 1.75)
- setVehicleHandling(veh, "centerOfMass", { 0, 0, -0.6 } )
- setVehicleHandling(veh, "percentSubmerged", 70)
- setVehicleHandling(veh, "tractionMultiplier", 0.85)
- setVehicleHandling(veh, "tractionLoss", 0.8)
- setVehicleHandling(veh, "tractionBias", 0.39)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 220)
- setVehicleHandling(veh, "engineAcceleration", 25)
- setVehicleHandling(veh, "engineInertia", 10)
- setVehicleHandling(veh, "driveType", "rwd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 16)
- setVehicleHandling(veh, "brakeBias", 0.5)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 32.5)
- setVehicleHandling(veh, "suspensionForceLevel", 0.8)
- setVehicleHandling(veh, "suspensionDamping", 0.19)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.25)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.1)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.4)
- setVehicleHandling(veh, "seatOffsetDistance", 0.38)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.35)
- setVehicleHandling(veh, "monetary", 95000)
- setVehicleHandling(veh, "modelFlags", 0x220004)
- setVehicleHandling(veh, "handlingFlags", 0x11418804)
- setVehicleHandling(veh, "headLight", 1)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 1)
- elseif getElementModel(veh) == FBI_RANCHER then
- setVehicleHandling(veh, "mass", 1800)
- setVehicleHandling(veh, "turnMass", 3750)
- setVehicleHandling(veh, "dragCoeff", 2.1)
- setVehicleHandling(veh, "centerOfMass", { 0, 0.1, -0.1 } )
- setVehicleHandling(veh, "percentSubmerged", 75)
- setVehicleHandling(veh, "tractionMultiplier", 0.6)
- setVehicleHandling(veh, "tractionLoss", 0.85)
- setVehicleHandling(veh, "tractionBias", 0.5)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 230)
- setVehicleHandling(veh, "engineAcceleration", 9.4)
- setVehicleHandling(veh, "engineInertia", 5)
- setVehicleHandling(veh, "driveType", "awd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 7)
- setVehicleHandling(veh, "brakeBias", 0.5)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 30)
- setVehicleHandling(veh, "suspensionForceLevel", 1)
- setVehicleHandling(veh, "suspensionDamping", 0.15)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.28)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.16)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.3)
- setVehicleHandling(veh, "seatOffsetDistance", 0.25)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.48)
- setVehicleHandling(veh, "monetary", 40000)
- setVehicleHandling(veh, "modelFlags", 0x40222000)
- setVehicleHandling(veh, "handlingFlags", 0x14342207)
- setVehicleHandling(veh, "headLight", 0)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 0)
- elseif getElementModel(veh) == EUROS then
- setVehicleHandling(veh, "mass", 1600)
- setVehicleHandling(veh, "turnMass", 3200)
- setVehicleHandling(veh, "dragCoeff", 2.2)
- setVehicleHandling(veh, "centerOfMass", { 0, 0, 0.2 } )
- setVehicleHandling(veh, "percentSubmerged", 75)
- setVehicleHandling(veh, "tractionMultiplier", 0.7)
- setVehicleHandling(veh, "tractionLoss", 0.8)
- setVehicleHandling(veh, "tractionBias", 0.5)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 200)
- setVehicleHandling(veh, "engineAcceleration", 10)
- setVehicleHandling(veh, "engineInertia", 5)
- setVehicleHandling(veh, "driveType", "awd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 8)
- setVehicleHandling(veh, "brakeBias", 0.55)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 26)
- setVehicleHandling(veh, "suspensionForceLevel", 1.2)
- setVehicleHandling(veh, "suspensionDamping", 0.15)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.2)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.1)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.3)
- setVehicleHandling(veh, "seatOffsetDistance", 0.25)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.6)
- setVehicleHandling(veh, "monetary", 35000)
- setVehicleHandling(veh, "modelFlags", 0x40552804)
- setVehicleHandling(veh, "handlingFlags", 0x1010007)
- setVehicleHandling(veh, "headLight", 1)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 0)
- elseif getElementModel(veh) == NEBULA then
- setVehicleHandling(veh, "mass", 3200)
- setVehicleHandling(veh, "turnMass", 6400)
- setVehicleHandling(veh, "dragCoeff", 2.2)
- setVehicleHandling(veh, "centerOfMass", { 0, 0, -0.6 } )
- setVehicleHandling(veh, "percentSubmerged", 80)
- setVehicleHandling(veh, "tractionMultiplier", 0.75)
- setVehicleHandling(veh, "tractionLoss", 0.85)
- setVehicleHandling(veh, "tractionBias", 0.4)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 135)
- setVehicleHandling(veh, "engineAcceleration", 22)
- setVehicleHandling(veh, "engineInertia", 115)
- setVehicleHandling(veh, "driveType", "awd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 9.5)
- setVehicleHandling(veh, "brakeBias", 0.5)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 25)
- setVehicleHandling(veh, "suspensionForceLevel", 0.8)
- setVehicleHandling(veh, "suspensionDamping", 0.15)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.31)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.3)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0)
- setVehicleHandling(veh, "seatOffsetDistance", 0.38)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.3)
- setVehicleHandling(veh, "monetary", 35000)
- setVehicleHandling(veh, "modelFlags", 0xE0DD2000)
- setVehicleHandling(veh, "handlingFlags", 0x308883)
- setVehicleHandling(veh, "headLight", 0)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 0)
- elseif getElementModel(veh) == BANSHEE then
- setVehicleHandling(veh, "maxVelocity", 220)
- elseif getElementModel(veh) == SULTAN then
- setVehicleHandling(veh, "mass", 1000)
- setVehicleHandling(veh, "turnMass", 1500)
- setVehicleHandling(veh, "dragCoeff", 6.5)
- setVehicleHandling(veh, "centerOfMass", { 0, 0, -0.3 } )
- setVehicleHandling(veh, "percentSubmerged", 50)
- setVehicleHandling(veh, "tractionMultiplier", 0.85)
- setVehicleHandling(veh, "tractionLoss", 0.85)
- setVehicleHandling(veh, "tractionBias", 0.5)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 175)
- setVehicleHandling(veh, "engineAcceleration", 30)
- setVehicleHandling(veh, "engineInertia", 150)
- setVehicleHandling(veh, "driveType", "fwd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 8.5)
- setVehicleHandling(veh, "brakeBias", 0.5)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 30)
- setVehicleHandling(veh, "suspensionForceLevel", 2.6)
- setVehicleHandling(veh, "suspensionDamping", 0.1)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0.35)
- setVehicleHandling(veh, "suspensionUpperLimit", 1)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.2)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.28)
- setVehicleHandling(veh, "seatOffsetDistance", 0.28)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.3)
- setVehicleHandling(veh, "monetary", 35000)
- setVehicleHandling(veh, "modelFlags", 0x40AA2800)
- setVehicleHandling(veh, "handlingFlags", 0xF8000483)
- setVehicleHandling(veh, "headLight", 1)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 0)
- elseif getElementModel(veh) == REGINA then
- setVehicleHandling(veh, "mass", 1500.0)
- setVehicleHandling(veh, "turnMass", 3800.0)
- setVehicleHandling(veh, "dragCoeff", 2.0)
- setVehicleHandling(veh, "centerOfMass", { 0.0, 0.2, 0.0 } )
- setVehicleHandling(veh, "percentSubmerged", 75)
- setVehicleHandling(veh, "tractionMultiplier", 0.65)
- setVehicleHandling(veh, "tractionLoss", 0.85)
- setVehicleHandling(veh, "tractionBias", 0.52)
- setVehicleHandling(veh, "numberOfGears", 4)
- setVehicleHandling(veh, "maxVelocity", 165.0)
- setVehicleHandling(veh, "engineAcceleration", 16.0)
- setVehicleHandling(veh, "engineInertia", 25.0)
- setVehicleHandling(veh, "driveType", "fwd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 5.0)
- setVehicleHandling(veh, "brakeBias", 0.60)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 30.0)
- setVehicleHandling(veh, "suspensionForceLevel", 1.0)
- setVehicleHandling(veh, "suspensionDamping", 0.1)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0.0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.27)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.17)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.2)
- setVehicleHandling(veh, "seatOffsetDistance", 0.24)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.48)
- setVehicleHandling(veh, "monetary", 18000)
- setVehicleHandling(veh, "modelFlags", 0x20)
- setVehicleHandling(veh, "handlingFlags", 0x1)
- setVehicleHandling(veh, "headLight", 1)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 0)
- elseif getElementModel(veh) == BUCCANEER then
- setVehicleHandling(veh, "mass", 1700)
- setVehicleHandling(veh, "turnMass", 4500)
- setVehicleHandling(veh, "dragCoeff", 2.2)
- setVehicleHandling(veh, "centerOfMass", { 0, 0.3, 0 } )
- setVehicleHandling(veh, "percentSubmerged", 70)
- setVehicleHandling(veh, "tractionMultiplier", 0.7)
- setVehicleHandling(veh, "tractionLoss", 0.9)
- setVehicleHandling(veh, "tractionBias", 0.5)
- setVehicleHandling(veh, "numberOfGears", 4)
- setVehicleHandling(veh, "maxVelocity", 160)
- setVehicleHandling(veh, "engineAcceleration", 9.6)
- setVehicleHandling(veh, "engineInertia", 15)
- setVehicleHandling(veh, "driveType", "rwd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 5)
- setVehicleHandling(veh, "brakeBias", 0.5)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 35)
- setVehicleHandling(veh, "suspensionForceLevel", 2.1)
- setVehicleHandling(veh, "suspensionDamping", 0.1)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.1)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.3)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0)
- setVehicleHandling(veh, "seatOffsetDistance", 0)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.52)
- setVehicleHandling(veh, "monetary", 19000)
- setVehicleHandling(veh, "modelFlags", 0x402F0000)
- setVehicleHandling(veh, "handlingFlags", 0x404407)
- setVehicleHandling(veh, "headLight", 1)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 1)
- elseif getElementModel(veh) == ELEGY then
- setVehicleHandling(veh, "mass", 1500)
- setVehicleHandling(veh, "turnMass", 3500)
- setVehicleHandling(veh, "dragCoeff", 2.2)
- setVehicleHandling(veh, "centerOfMass", { 0, 0.3, -0.15 } )
- setVehicleHandling(veh, "percentSubmerged", 75)
- setVehicleHandling(veh, "tractionMultiplier", 0.65)
- setVehicleHandling(veh, "tractionLoss", 0.9)
- setVehicleHandling(veh, "tractionBias", 0.5)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 200)
- setVehicleHandling(veh, "engineAcceleration", 11.2)
- setVehicleHandling(veh, "engineInertia", 5)
- setVehicleHandling(veh, "driveType", "rwd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 8)
- setVehicleHandling(veh, "brakeBias", 0.5)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 35)
- setVehicleHandling(veh, "suspensionForceLevel", 1)
- setVehicleHandling(veh, "suspensionDamping", 1.6)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.28)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.1)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.3)
- setVehicleHandling(veh, "seatOffsetDistance", 0.25)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.6)
- setVehicleHandling(veh, "monetary", 35000)
- setVehicleHandling(veh, "modelFlags", 0x40002804)
- setVehicleHandling(veh, "handlingFlags", 0x4000001)
- setVehicleHandling(veh, "headLight", 1)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 1)
- elseif getElementModel(veh) == MONSTER then
- setVehicleHandling(veh, "turnMass", 7500)
- setVehicleHandling(veh, "dragCoeff", 3)
- setVehicleHandling(veh, "centerOfMass", { 0, 0, -0.35 } )
- setVehicleHandling(veh, "percentSubmerged", 85)
- setVehicleHandling(veh, "tractionMultiplier", 0.75)
- setVehicleHandling(veh, "tractionLoss", 0.825)
- setVehicleHandling(veh, "tractionBias", 0.475)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 155)
- setVehicleHandling(veh, "engineAcceleration", 18)
- setVehicleHandling(veh, "engineInertia", 25)
- setVehicleHandling(veh, "driveType", "awd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 7)
- setVehicleHandling(veh, "brakeBias", 0.45)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 35)
- setVehicleHandling(veh, "suspensionForceLevel", 1)
- setVehicleHandling(veh, "suspensionDamping", 0.07)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.4)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.4)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.3)
- setVehicleHandling(veh, "seatOffsetDistance", 0.44)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.35)
- setVehicleHandling(veh, "monetary", 40000)
- setVehicleHandling(veh, "modelFlags", 0x28)
- setVehicleHandling(veh, "handlingFlags", 0x1308847)
- setVehicleHandling(veh, "headLight", 0)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 20)
- elseif getElementModel(veh) == MONSTER_A then
- setVehicleHandling(veh, "turnMass", 7500)
- setVehicleHandling(veh, "dragCoeff", 3)
- setVehicleHandling(veh, "centerOfMass", { 0, 0, -0.35 } )
- setVehicleHandling(veh, "percentSubmerged", 85)
- setVehicleHandling(veh, "tractionMultiplier", 0.75)
- setVehicleHandling(veh, "tractionLoss", 0.825)
- setVehicleHandling(veh, "tractionBias", 0.475)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 155)
- setVehicleHandling(veh, "engineAcceleration", 18)
- setVehicleHandling(veh, "engineInertia", 25)
- setVehicleHandling(veh, "driveType", "awd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 7)
- setVehicleHandling(veh, "brakeBias", 0.45)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 35)
- setVehicleHandling(veh, "suspensionForceLevel", 1)
- setVehicleHandling(veh, "suspensionDamping", 0.07)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.4)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.4)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.3)
- setVehicleHandling(veh, "seatOffsetDistance", 0.44)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.35)
- setVehicleHandling(veh, "monetary", 40000)
- setVehicleHandling(veh, "modelFlags", 0x28)
- setVehicleHandling(veh, "handlingFlags", 0x1308847)
- setVehicleHandling(veh, "headLight", 0)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 20)
- elseif getElementModel(veh) == MONSTER_B then
- setVehicleHandling(veh, "turnMass", 7500)
- setVehicleHandling(veh, "dragCoeff", 3)
- setVehicleHandling(veh, "centerOfMass", { 0, 0, -0.35 } )
- setVehicleHandling(veh, "percentSubmerged", 85)
- setVehicleHandling(veh, "tractionMultiplier", 0.75)
- setVehicleHandling(veh, "tractionLoss", 0.825)
- setVehicleHandling(veh, "tractionBias", 0.475)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 155)
- setVehicleHandling(veh, "engineAcceleration", 18)
- setVehicleHandling(veh, "engineInertia", 25)
- setVehicleHandling(veh, "driveType", "awd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 7)
- setVehicleHandling(veh, "brakeBias", 0.45)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 35)
- setVehicleHandling(veh, "suspensionForceLevel", 1)
- setVehicleHandling(veh, "suspensionDamping", 0.07)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.4)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.4)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.5)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.3)
- setVehicleHandling(veh, "seatOffsetDistance", 0.44)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.35)
- setVehicleHandling(veh, "monetary", 40000)
- setVehicleHandling(veh, "modelFlags", 0x28)
- setVehicleHandling(veh, "handlingFlags", 0x1308847)
- setVehicleHandling(veh, "headLight", 0)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 20)
- elseif getElementModel(veh) == TURISMO then
- setVehicleHandling(veh, "mass", 1400)
- setVehicleHandling(veh, "turnMass", 1800)
- setVehicleHandling(veh, "dragCoeff", 1.95)
- setVehicleHandling(veh, "centerOfMass", { 0, -0.3, -0.2 } )
- setVehicleHandling(veh, "percentSubmerged", 70)
- setVehicleHandling(veh, "tractionMultiplier", 0.75)
- setVehicleHandling(veh, "tractionLoss", 0.85)
- setVehicleHandling(veh, "tractionBias", 0.45)
- setVehicleHandling(veh, "numberOfGears", 5)
- setVehicleHandling(veh, "maxVelocity", 265)
- setVehicleHandling(veh, "engineAcceleration", 14)
- setVehicleHandling(veh, "engineInertia", 10)
- setVehicleHandling(veh, "driveType", "awd")
- setVehicleHandling(veh, "engineType", "petrol")
- setVehicleHandling(veh, "brakeDeceleration", 11)
- setVehicleHandling(veh, "brakeBias", 0.51)
- setVehicleHandling(veh, "ABS", false)
- setVehicleHandling(veh, "steeringLock", 30)
- setVehicleHandling(veh, "suspensionForceLevel", 1.2)
- setVehicleHandling(veh, "suspensionDamping", 0.13)
- setVehicleHandling(veh, "suspensionHighSpeedDamping", 0)
- setVehicleHandling(veh, "suspensionUpperLimit", 0.45)
- setVehicleHandling(veh, "suspensionLowerLimit", -0.145)
- setVehicleHandling(veh, "suspensionFrontRearBias", 0.45)
- setVehicleHandling(veh, "suspensionAntiDiveMultiplier", 0.4)
- setVehicleHandling(veh, "seatOffsetDistance", 0.17)
- setVehicleHandling(veh, "collisionDamageMultiplier", 0.68)
- setVehicleHandling(veh, "monetary", 95000)
- setVehicleHandling(veh, "modelFlags", 0x40002004)
- setVehicleHandling(veh, "handlingFlags", 0xC14001)
- setVehicleHandling(veh, "headLight", 1)
- setVehicleHandling(veh, "tailLight", 1)
- setVehicleHandling(veh, "animGroup", 1)
- end
- end
- end -- koniec warunku
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement