Vehicle Damage

<< BACK TO SCRIPTS

Vehicle Damage

Current Version: 1.4.0

$20.00

Stand-Alone

Much like you have seen in other scripts, this one manages mechanical and physical damage to vehicles and offers many configuration options to change how that is applied. 

There is a menu for controling aspects of the damage.

There is a limp mode, which keeps the car from being disabled completely so you can still make it to the shop or whatever. 

What you also get with this script, is tire and wheel damage. During collisions or other wrecks (see below) depending on circumstances and some chance, you could end up with a flat tire, a tire that comes off the rim or a wheel that comes off the car completely. There a commands to knock a wheel off if you want to RP that situation.

You also get one of my favorite vehicle functions ever, cinematic rollovers. Based on physics and a bunch of math, your vehicle could go into a rollover that would make any action movie director proud. And not just players, AI are susceptible to this as well. You have to be going pretty hard to make it roll, but all of that is also configurable. PIT maneuvers are spectacular.

But wait, that's not all!

You also get hydroplaning (aquaplaning). If it is raining (or snowing) there is a chance you will hydroplane when taking a corner too hard or if you are going straight but too fast for the rain. Loss of traction, inability to stop and a possible rollover are all part of what could happen during a hydroplane.

There is now an option to disable mid-air control. That magical GTA thing where when the vehicle is in the air, you can somehow control it... now that can be disabled in the config. Prepare for hard landings.

You can disable the repair options and use the custom report EXPORT to tie to mechanic and shop scripts so repairing can be limited to mechanic shops if you so desire.

Full of / commands so you can tie most of the functions to a Stream Deck or similar macro device.

NOTE: The whole point of this script is not just the damage... if you just want that use the free one available out there. This script incorporates hydroplaning, vehicle rollovers, wheel and tire damage associated with collisions and rollovers. If you don't want those things, don't buy this script. That's what this script is for. You WILL slide around in the rain if you drive too hard. You WILL rollover if you drive like a crazy person and get it sliding sideways. You WILL lose a wheel or tire if you hit someone or something hard enough. If you don't want that level of realism, this is not the script for you. 

WARNING: Any other script you have that affects damage levels of vehicles WILL CONFLICT with this one. If you are not willing to turn the other ones off to run this one, do not buy this one. It will not work with other damage scripts. Seriously, it WILL conflict. 




DOCUMENTATION

$20.00

Change Log

10/15/2024 - v1.4.0

  • Moved to radial menu
  • Added "fix nearest tire" function to change a flat
  • Added "random flats" to where you might get a flat just driving around
  • Added "run flat" mode to where the tire will go flat but not blow out and come off the rim
  • Added the ability to fix just the engine or just the body separately
  • Added new hooks for setting the engine health for mechanic shop and repair scripts to use

7/25/2024 - v1.3.0

  • Fixed a minor bug in start up

7/16/2024 - v1.22 (includes a settings.ini update)

  • Fixed a bug where the airborne controls were not disabling controls at the proper time for some people

7/11/2024 - v1.21 (includes a settings.ini update)

  • Removed the engine overheating due to it not really adding anything worthwhile and being a bit buggy
  • Fix repair permissions to work on all repair functions
  • Added new option to disable airborne control of a vehicle
  • Toggle to turn Rollovers on and off per client

1/12/2024 - v1.2 (includes a settings.ini update)

  • Added a toggle for vehicle damage so you can turn it off or on per client
  • Tweaked the traction on dirt so it isn't so loose
  • Fixed a bug where the permissions for repair didn't affect the menu at all

10/12/2023 - v1.12 (includes a settings.ini update)

  • Added menu to control Damage Level, Repairing, Damaging Tires/Wheels, Setting Engine on Fire
  • Added new /commands for tire damage functions and for menu
  • Fixed a bug in the Repair function when overheating where it sometimes took a few Repairs to finally get it repaired and sometimes just idling it would overheat and break the engine.

9/3/2023

  • Fixed a bug where the hydroplaning was not considering the config setting in certain circumstances

9/1/2023 - v1.1 (includes settings.ini update)

  • Added repair export to be used from other resource for compatibility (QBCore, etc.)
  • Added option to limit hydroplaning to the config
  • Tweaked tire blowout frequency but is configurable

7/10/2023 - v1.06

  • Made aircraft exempt from tire/wheel damage on landing
  • Reduced chance of losing traction on dirt by half

6/30/2023 - v1.05

  • Rewrote physics for determining when to rollover. 
  • Fixed a typo where the config option to turn off rollovers did not work.
  • Tweaked other bits here and there to make it even better.

6/23/2023 - v1.04

  • Tweaked rollover code for more realistic rollover
  • Added "extended rollover" option in the settings
  • Fixed casual driver mode where the "no reverse on brake" function was stuttering

6/15/2023 - v1.02

  • Reduced the effect on AI vehicles to alleviate some of the OneSync craziness that happened to them
  • Made any vehicle without a driver exempt from the effect. This is top stop vehicles from freaking out with certain "attach" scripts for towing and such.

6/10/2023 - v1.01

  • added /repair and /setdamage n commands - see documentation for details
  • tweaked tire damage during a rollover
  • tweaked hydroplaning possibility to increase with more speed