misterfolg Posted October 15, 2023 Share Posted October 15, 2023 I wanted to test if I can get vehicles from VC and III to an MTA race. My testing example is the Kuruma from GTA III. The models weren't the problem, but somehow in the race the custom handling doesn't work as it shoud. It's especially way too fast. My handling.lua: function handlingChange () local modelId = 541 setModelHandling(modelId, "mass", 1500.0) setModelHandling(modelId, "turnMass", 4000.0) setModelHandling(modelId, "dragCoeff", 2.0) setModelHandling(modelId, "centerOfMass", {0.0, 0.0, 0.15} ) setModelHandling(modelId, "percentSubmerged", 75) setModelHandling(modelId, "tractionMultiplier", 0.70) setModelHandling(modelId, "tractionLoss", 0.80) setModelHandling(modelId, "tractionBias", 0.54) setModelHandling(modelId, "numberOfGears", 5) setModelHandling(modelId, "maxVelocity", 180.0) setModelHandling(modelId, "engineAcceleration", 17.0) setModelHandling(modelId, "engineInertia", 10.0) setModelHandling(modelId, "driveType", "fwd") setModelHandling(modelId, "engineType", "petrol") setModelHandling(modelId, "brakeDeceleration", 7.17) setModelHandling(modelId, "brakeBias", 0.55) setModelHandling(modelId, "ABS", false) setModelHandling(modelId, "steeringLock", 30.0) setModelHandling(modelId, "suspensionForceLevel", 1.6) setModelHandling(modelId, "suspensionDamping", 0.1) setModelHandling(modelId, "suspensionHighSpeedDamping", 0.0) setModelHandling(modelId, "suspensionUpperLimit", 0.27) setModelHandling(modelId, "suspensionLowerLimit", -0.13) setModelHandling(modelId, "suspensionFrontRearBias", 0.5) setModelHandling(modelId, "suspensionAntiDiveMultiplier", 0.3) setModelHandling(modelId, "seatOffsetDistance", 0.24) setModelHandling(modelId, "collisionDamageMultiplier", 0.8) setModelHandling(modelId, "monetary", 18000) setModelHandling(modelId, "modelFlags", 0x00000000) setModelHandling(modelId, "handlingFlags", 0x00000000) setModelHandling(modelId, "headLight", 1) setModelHandling(modelId, "tailLight", 1) setModelHandling(modelId, "animGroup", 0) outputChatBox("beep") end addEventHandler("onResourceStart", resourceRoot, handlingChange) Is there a mistake in the values or is there something to it that I don't understand? If needed I may send you all the map files. Any help will be appreciated. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now