Vehicle Tweaker API
Inspired by and modified from DarkSlayerEX's Item Tweaker API
UPDATE 02/01/2021:
-Added vehicle area tweaks extension by Aiteron
This modding API allows any modders to make multiple changes to any vehicles , while leaving the rest of the remaining values alone.
WARNING: For now I can't guarantee that most values tweaked are free of bugs, so use and test at your own risk.
Tested and working values: forcedColor, mass, maxSpeed, mechanicType.
For the Simplest Implementation through LUA:
-----------------------------------------------------------------------Begin File
if getActivatedMods():contains("VehicleTweakerAPI") then
require("VehicleTweaker_Core");
else return end
TweakVehicle("Base.CarNormal","mass", "8000");
TweakVehicle("Base.ModernCar","forcedColor", "1.0 0.5 0.5");
TweakVehicle("Base.Van","mechanicType", "1");
TweakVehicleArea("Base.SportsCar", "area SeatFrontLeft", "xywh = 0.6264 -0.1429 1.4725 1.4725")
-----------------------------------------------------------------------End File
For each vehicle and property you wish to change, create a new line, and place the related values in place.