Memuat...

Glowing Brake Discs v1.0.0

8c7c9c vlcsnap 2019 08 21 23h17m50s323

2.876

Glowing Brake Discs
We high performance GT cars now.

Installation
You need to have ScriptHookVDotNet.
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. If you know a nice scaleable way for the middle wheel bones, feel free to make a PR or explain it to me.

Source code is on GitHub, as usual.

Credits



Changelog

v1.0.0
First release
Show Full Description

Pertama diunggah: Selasa, 11 Februari 2020
Terakhir diperbarui: Selasa, 11 Februari 2020
Terakhir Diunduh: 1 jam yang lalu

All Versions

 v1.0.0 (current)

2.876 unduhan , 27 KB
Selasa, 11 Februari 2020

77 Komentar