Vehicle Damage

<< BACK TO SCRIPTS

Vehicle Damage

Current Version: 1.2

$20.00

ON SALE: $18.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. 

UPDATED: New 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.

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.

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.




DOCUMENTATION

$20.00

ON SALE: $18.00

Change Log

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