Handling.cfg: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(updated info)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Making MTA work with handling.cfg=
=Making MTA work with handling.cfg=


MTA ignores the GTA file data/handling.cfg because of the custom handling functions.
MTA ignores the GTA file data/handling.cfg because of the custom handling functions, and for fair play reasons (so that clients have no power over vehicle handlings, it's default unless the server decides otherwise).


There are two ways to get a custom handling.cfg working in MTA:
There are two ways to get a custom handling.cfg working in MTA:


==Easy way==
==Recommended way==
Most servers that want to offer handling customisation power directly to the player (so they have the freedom to load their own handlings and modify it to their likings) would add this resource on their server:
* [[Resource:Hedit|Hedit (Handling Editor GUI)]] (part of official resources and therefore located in the '''\mods\deathmatch\resources\[gameplay]\hedit''' folder
If you cannot find it there, you need to update your resources package from https://mirror.mtasa.com/mtasa/resources/mtasa-resources-latest.zip (it got added in 2021) or only that resource from the official resources [https://github.com/multitheftauto/mtasa-resources/tree/master/%5Bgameplay%5D/hedit '''github page''']
 
==Another way==
To load custom handling.cfg, follow these steps:
To load custom handling.cfg, follow these steps:


Line 12: Line 17:
* Start server, or type '''refresh''' into the server console
* Start server, or type '''refresh''' into the server console
* (Optional) Copy the global '''handling.cfg''' into '''server/mods/deathmatch/resources/handling_loader/'''
* (Optional) Copy the global '''handling.cfg''' into '''server/mods/deathmatch/resources/handling_loader/'''
* (Optional) Tell clients to put their personalized '''handling.cfg''' into '''MTA San Andreas 1.3\mods\deathmatch\resources\handling_loader\'''
* (Optional) Tell clients to put their personalized '''handling.cfg''' into '''MTA San Andreas {{Current Version|short}}\mods\deathmatch\resources\handling_loader\'''
* Start '''Handling Loader''' with the command '''start handling_loader'''
* Start '''Handling Loader''' with the command '''start handling_loader'''


The server handling.cfg will apply to everyone on the server. (If installed)<br>
The server handling.cfg will apply to everyone on the server. (If installed)<br>
The customized handling lines of the player installed handling.cfg will only apply to the cars that player drives.
The customized handling lines of the player installed handling.cfg will only apply to the cars that player drives.<!--
 


==<span style="text-decoration: line-through;">Future way==
==<span style="text-decoration: line-through;">Future way==
Line 29: Line 33:
* <span style="text-decoration: line-through;">Enter this command in the server console: '''loadcfg'''
* <span style="text-decoration: line-through;">Enter this command in the server console: '''loadcfg'''
* <span style="text-decoration: line-through;">Oh, it's broken
* <span style="text-decoration: line-through;">Oh, it's broken
* <span style="text-decoration: line-through;">Contact the author
* <span style="text-decoration: line-through;">Contact the author-->

Latest revision as of 06:50, 14 April 2021

Making MTA work with handling.cfg

MTA ignores the GTA file data/handling.cfg because of the custom handling functions, and for fair play reasons (so that clients have no power over vehicle handlings, it's default unless the server decides otherwise).

There are two ways to get a custom handling.cfg working in MTA:

Recommended way

Most servers that want to offer handling customisation power directly to the player (so they have the freedom to load their own handlings and modify it to their likings) would add this resource on their server:

  • Hedit (Handling Editor GUI) (part of official resources and therefore located in the \mods\deathmatch\resources\[gameplay]\hedit folder

If you cannot find it there, you need to update your resources package from https://mirror.mtasa.com/mtasa/resources/mtasa-resources-latest.zip (it got added in 2021) or only that resource from the official resources github page

Another way

To load custom handling.cfg, follow these steps:

  • Download the Handling Loader resource
  • Unzip handling_loader.zip contents into server/mods/deathmatch/resources/handling_loader/
  • Start server, or type refresh into the server console
  • (Optional) Copy the global handling.cfg into server/mods/deathmatch/resources/handling_loader/
  • (Optional) Tell clients to put their personalized handling.cfg into MTA San Andreas 1.6\mods\deathmatch\resources\handling_loader\
  • Start Handling Loader with the command start handling_loader

The server handling.cfg will apply to everyone on the server. (If installed)
The customized handling lines of the player installed handling.cfg will only apply to the cars that player drives.