Jump to content
  • 0

Enable data/handling.cfg "How Using script to load ?


Quited

Question

Posted

Hi

Enable data/handling.cfg "How Using script to load ?

Note 2: "data/handling.cfg" is not included as it is always ignored by MTA because of the internal vehicle handling functions. If you want to load custom handling.cfg files, you can achieve the same effect by using some resource I would imagine.

I want resource to load handling.cfg !

10 answers to this question

Recommended Posts

  • 0
Posted

Means you can't just transfer handling.cfg and make it work.

Must use this function. SetVehicleHandling

Example line of handling.cfg:

; name       mass     turnmass  drag   centreofmass  boy traction           transmission            brakes       steer  suspension       suslines        antidive   seat col  cost      mflags      hflags      lights 
LANDSTAL     1700.0    5008.3   2.5    0.0 0.0 -0.3  85  0.75 0.85 0.5      5 160.0 25.0 20.0 4 D   6.2   0.60 0 35.0   2.4  0.08  0.0   0.28 -0.14 0.5  0.25       0.27 0.23 25000     20          500002      0  1    0 

Becomes:

  
someCar = createVehicle(400,0,0,10) 
setVehicleHandling( someCar, "mass", 1700) 
setVehicleHandling( someCar, "turnMass", 5008.3) 
setVehicleHandling( someCar, "dragCoeff", 2.5) 
-- and so forth 
  

  • 0
Posted

Sorry, is not possible to use your own data/handling.cfg

Can allow other mod files, example:

Put in mtaserver.conf

<client_file name="data/carmods.dat" verify="0"/> 

But client (guest) handling.cfg will never be used. Always uses default GTA handling and changes made by functions I posted.

  • 0
Posted
Can request feature at http://bugs.multitheftauto.com/main_page.php

But is developer's choice to disallow and give more control using setVehicleHandling functions.

But it is also true that it would not take effort to make handling.cfg restriction based on server config.

I am already register in community , howto login in bugs main , howto make report or topic

  • 0
Posted

Good question. I don't know.

First I click the tiny login link,

Knipsel.jpg

And then I couldn't find the button to add an issue.

I am a "viewer". I did create two issues in 2009.

Can someone add this bug about the bug tracker to the bug tracker?

9aeaf3f047053e846927d77c5344b590.jpg

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...