Dark Dragon Posted November 25, 2009 Posted November 25, 2009 Hey there. Mr.Hankey is currently working on mta's handling functions, fixing bugs, crashes and getting them ready to be implemented (which will hopefully happen as soon as possible ). Here's a video which shows some basic edited handling: let me know what you think, how much do you love it? i can't wait
subenji99 Posted November 25, 2009 Posted November 25, 2009 (edited) Excellent work, I love it! I'm really glad to see this coming to fruition, and you guys deserve extra congratulations for the effort involved in figuring this one out! Do you have any details on syntax so us impatient fellows can get to work on scripting some handing framework functions prematurely? I see: --clientside bool setVehicleHandlingData(element vehicle, string handling, int/float value) Are the handling strings the same as in the handling.cfg file, and are there any other functions? Thanks for the info! (not worth another post in my opinion ) Edited November 26, 2009 by Guest
Gamesnert Posted November 25, 2009 Posted November 25, 2009 I have made a list from the source code of Hankey's a short time ago. Here is the list: massturnMass dragCoeff centerOfMass percentSubmerged tractionMultiplier driveType engineType numberOfGears engineAcceleration engineIntertia maxVelocity brakeDeceleration brakeBias ABS steeringLock tractionLoss tractionBias suspensionForceLevel suspensionDamping suspensionHighSpeedDamping suspensionUpperLimit suspensionLowerLimit suspensionFrontRearBias suspensionAntidiveMultiplier collisionDamageMultiplier seatOffsetDistance monetary headLight tailLight animGroup I'll document these in the wiki sometime soon. Dunno exactly when.
Dark Dragon Posted November 25, 2009 Author Posted November 25, 2009 the function is setVehicleHandlingData(theVehicle,stringData,theValue) where stringData is one of the lines gamesnert posted
cokacola Posted November 30, 2009 Posted November 30, 2009 just a question, are these in any of the nightly builds?
Malice Posted December 12, 2009 Posted December 12, 2009 Haha, that's awesome. I need to learn Lua quick!
Mr.Hankey Posted December 12, 2009 Posted December 12, 2009 just a question, are these in any of the nightly builds? Nah this was just an experimental custom build
cokacola Posted December 13, 2009 Posted December 13, 2009 too bad then, could have been quite funny..especially when not telling anyone about it ..
Gobe Posted December 14, 2009 Posted December 14, 2009 Very nice function, I think it's gonna create a bunch of nice opportunities, like a new possibility for tuning garages: being able to buy kits to improve your cars speed (engine kit etc)... and it's gonna be possible with that function, that's awesome really.
Dark Dragon Posted December 14, 2009 Author Posted December 14, 2009 Very nice function, I think it's gonna create a bunch of nice opportunities, like a new possibility for tuning garages: being able to buy kits to improve your cars speed (engine kit etc)... and it's gonna be possible with that function, that's awesome really. i really like this idea, keep on that one and i assure you people will like it if done properly
Gobe Posted December 14, 2009 Posted December 14, 2009 It would be a little bit like in a Need For Speed game, being able to set drift tires etc... Just a question though, does it change the handling of one car or just all the cars (like if you change the handling of a turismo car does it change the handling of every turismo in the game)?
subenji99 Posted December 14, 2009 Posted December 14, 2009 --clientside bool setVehicleHandlingData(element vehicle, string handling, int/float value) This explains that question. Using a vehicle element implies it only affects one vehicle, not every vehicle of a particular model ID.
Gobe Posted December 14, 2009 Posted December 14, 2009 --clientside bool setVehicleHandlingData(element vehicle, string handling, int/float value) This explains that question. Using a vehicle element implies it only affects one vehicle, not every vehicle of a particular model ID. Yeah sorry I didn't look at the function properly.
Puma Posted July 22, 2010 Posted July 22, 2010 One thing that's not part of the handling, but would be cool to change, is a vehicle's wheel size. This can be altered 'single-player-wise' in the next- and second-to-last digits of a vehicle's line in "vehicles.ide" found in the data folder. Also, changing weapon's specifications would be cool (weapon.dat), such as the range, strength etc. Wait, maybe I've gone too far now
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