Introduction
sb-handlingtuning V2
Last updated
Was this helpful?
sb-handlingtuning V2
Last updated
Was this helpful?
This is a version 2 of our widely used and loved handling tablet resource. With many more improvements, fixed flaws and plenty of new features after learning what was working and what wasn't on v1.
This is a multipurpose handling system that will allow you to do the finest adjustments on vehicle handling with an easy to use interface, Dev Tool, advanced Drift Mode and more.
The system is made to work for any type of server as it can open a up a variaty of roleplay scenarios giving power to players for making each individual vehicle feel unique but restricting them at the same time making sure that the values do not go to extremes.
Easy to use full size tablet UI for editing vehicle handling to the finest details. Now featuring search field, filtering by categories and much cleaner UI.
NEW! Small tablet UI which works best for real time diagnostics and editing!
Handling can be edited without even stopping the car.
Real time data display. For measuring vehicle max speed acceleration and more.
Nitro level and drift mode display.
Engine swap data display.
Advanced Drift Mode. Because of GTA V car physics you either have to make car handling with pretty much no grip or with extremely lots of power to make it drift. Our drift mode updates vehicle handling real time depending on slide angle and speed. This makes cars feel natural while driving straight, but still satistfyingly slide sideways whenever wanted.
Reworked handling calculation and saving. V1 used to save static handling in database for each vehicle. In V2 the values are saved depending on default handling data for the vehicle model and other conditions. This allows us to bring in new features and more reliably calculate edited handlings.
NEW! Additional handlings. This comes up with new feature that allows you to stack more handlings on top of vehicles default handling. E.g. you will be able to create completely custom car upgrades, assign any handling values to them and install them on any vehicle, or do the same with vehicle degration and decrease handling values. This really gives control to your hands with the access of API.
NEW! Custom tuning parts. You will be able to create any tuning parts and install them on any vehicle. Each tuning part will be able to have assigned handling values, enable editing of specified handling fields or just assign variables on vehicle for other uses.
NEW! Nitro is added as a feature as well letting you adjust how it will work when activated with the power of Additional handlings.
NEW! Engine swaps. As the script has access to each vehicle handling data, you will be able to swap any engine to any vehicle and with a couple of custom tuning parts and adjustments make the ultimate sleepers.
NEW! Tool for Developers to save handling data directly to server files. No more need to copy and paste handling code. You can simply write it to server files with a single button click.
Improved presets saving. Any player can save preset of the perfect tune they find and share it with others.
VIDEO TO COMING SOON
The tablet can be opened by using one of two inventory items. tunertablet
- default item name that will open full size tablet, smalltunertabler
- default item name to open small size tablet. Item names can be configured in the sb-handlingtuning/configs/config.lua
file.
Using inventory items, the tablet will be opened with default permissions. In order to have custom permissions for each player you will have to use the tablet using chat command.
Tablet can be opened using chat command. /tablet
- default command for full size tablet, /smalltablet
default command for small size tablet. Commands can be configured in the sb-handlingtuning/configs/config.lua
file.
Tablet opened using command will use permissions that are assigned to the player, if player has no permissions, default ones will be used.
By default command permissions are disabled for all players. If the command does not work for you, make sure you either give yourself permissions or make command available for everyone by setting tabletCommand
to true
in Config.DefaultPermissions.
Developer tool can be used to save the vehicles handling data to server files, so all vehicles with that model going to have the edited handling.
Spawn the car with the model you want to edit.
Open up the tablet with enough permissions to write xml.
Edit the handling on tablet to your liking.
On the bottom right click the floating button and select XML.
Make sure the handling data is correct and handlingName
was correctly identified.
In some cases the handlingName
might not be found, so you will need to find it out manually and enter it inside the XML view.
Click Write to server files and the file will be appended with your handling data. Or if the handling with the same handlingName
was already in the file, it will get updated.
For the changes to make effect you will need to restart the server or resource that contains the meta file.
There are a few things to point out:
By default handling.meta
is created inside sb-handlintuning/meta
folder.
To edit the resource or file path you can add convars to your server.cfg
set handlingtuning:metadataResourceName 'sb-handlingtuning' ## sets resource name
set handlingtuning:metadataFilePath './meta/handling.meta' ## sets file path
You have to make sure there are no other handling.meta
files with the same handlingName
entry running in your server files, otherwise the data might get overwritten by that file.
Make sure you do not have any other resources affecting the handling for vehicle while you are editing it, otherwise it might conflict with our tablet.
The system does not limit you to the implemented features and usage. If needed, any functionality can be implemented by using API.