Illuminated Brake Rotors 1.1.0

Featured .Net Vehicles


Description


Illuminated Brake Rotors

Installation You need ScriptHookVDotNet v3.0.2 or newer. Drop the entire GlowingBrakes folder into the scripts folder. Usage To customize global defaults, open and edit defaultConfig.xml in the Configs folder. To customize a specific car model, create a new xml file in the Configs folder. There is an example.xml with comments, that you can use as template. (Technical) details By default, all cars have glowing brake discs on all four wheels. Cars can be blacklisted if they should never have glowing brake discs. For each car, it's possible to:
  • specify which wheels can glow and which can not
  • correct the rotation, size and position of the effect
  • choose between if Particle FX or Marker is used for the effect
  • change how fast the brakes heat up and cool down
  • balance the heating ratios between front and back
The script uses data for each individual wheel to determine how much to heat up and cool down. Things that affect this are:
  • wheel speed
  • wheel brake pressure
  • deceleration rate
For example, if the car constantly brakes in a left corner, leaning mostly on its front right wheel, that brake disc will glow red hot and the rear wheel(s) may stay dark. Conversely, if the handbrake is yanked very often, the rear brake discs start glowing red, and the fronts will stay cool. To perfectly align the brake disc effects with the brake disc model, the debug option in settings.xml can be enabled, which makes the brake discs always glow at the max brightness. Since the script affects all cars in the world and not just the player car, the draw distance can be changed for better performance or for more cars being affected. Finally, a technical detail, the script tries to find the correct offsets to retrieve the wheel data. If for some reason an update breaks the offset finding, settings.xml can be used to manually specify the correct offsets. Notes Only cars with 4 wheels are supported, because I use the wheel_lf/rf/lr/rr bones. Credits LeeC2202's work which got me interested in the first place Original request thread on GTAForums Northwind_JME for the awesome screenshot Changelog 1.1.0 Add override for rear wheels offset and size: Check the Bifta config for setting it up Add player-only option Use distance-squared for performance Update to SHVDN v3 API 1.0.0 First release
First Upload: November 12, 2024 Last Updated: November 12, 2024


0 Comments