Jump to content
  • 0

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


Quited

Question

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 !

Link to comment

10 answers to this question

Recommended Posts

  • 0

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 
  

Link to comment
  • 0

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.

Link to comment
  • 0

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

Link to comment

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...