Glowy brakes!!This mod is a pretty simple and kind of? "Rudimentary" one. It brake glow to every vehicle with disc brakes via HTML.
I'm not sure why this isn't already a feature in BeamNG but here it is.
As you may notice, the code for this is borrowed from another mod of mine, the Gavril Vertex
How it works:
The brake models have been replaced by an edited version of them that simply have a different material. The material includes an HTML texture as colour map. The HTML has 3 texture stages that it can smoothly move between by changing the layer opacity. Stage 1 starts at 350°C, is fully visible at 400°C and is a slightly red glow. Stage 2 is fully visible at 500°C and adds some orange to the glow. Stage 3 is fully visible at 600°C and adds more orange and yellow.
At 375°C, the texture is changed to an emissive one, to allow the glow to be seen in the dark. This change is quite noticable but the only way to not make them emissive 24/7 until translucent HTML textures are a thing.
I adjusted the temps a bit downward to make the brake glow more noticable, so it's not that rare occasion that you can sometimes see when looking at it in the right moment. However, not that low that its always there. Heavy braking may lead to a short moment of red glow. Proceeding to do so will obviously heat-soak the brakes etc.
Stage 1-3 look like this on normal brakes. Race brakes glow more.
Race brakes look like this
Here is how it changes between the glow-iness!
A bit of technical stuff:
If you know a thing or two about modding, this section here might also be interesting. Basically, the brake temperature gets accessed by a lua program that I have written. It converts the electrics value of the wheels into a value that can be used in a glowmap. It also pushes the values forward to an HTML program. There is one HTML and one lua for each wheel. The HTML has 3 texture files that it consistantly changes the opacity of. This allows for a very smooth transition between the textures. The electrics values are used to control a glowmap that switches the material to an emissive one. That is essentially how this whole thing works!
Currently Supported base-game vehicles: (all vehicles are supported)
All base game vehicles that have Disc Brakes are supported in this mod.
- Autobello Piccolina
- Bruckell LeGran
- Bruckell Moonhawk
- Civetta Bolide
- Cherrier Vivace/Tograc
- ETK I-Series
- ETK K-Series
- ETK 800-Series
- Hirochi SBR4
- Hirochi Sunburst
- Gavril D-Series
- Gavril Roamer
- Gavril H-Series
- Gavril Barstow
- Gavril Bluebuck
- Gavril Grand-Marshal
- Ibishu Pigeon
- Ibishu Miramar
- Ibishu Pessima (old)
- Ibishu Pessima (new)
- Ibishu Hopper
- Ibishu Covet
- Ibishu 200BX
- Solaid Wendover
- @aljowen for the base of the HTML that I could work on
- @13Stewartc for being kind and explaining how the HTML worked for it's original intend
Anyways, that's all there is to this little mod, have fun!
Feel free to leave a review ^^
If you have any issues, please DM me or write into the Discussion Thread of this mod!
Also feel free to implement the glow into your own mod vehicle(s)
Message me so I can add your mod to the supported mods list in the thread about this mod
Experimental Brake Glow Mod 1.2
Ah that's hot! The brakes can now SMOOTHLY glow on all default game cars
- Basically overhauled the entire mod, Glow now via HTML Jun 16, 2021
- Added support for the Wendover, Added new LeGran brakes Apr 6, 2021
- Fixed missing brake calipers on Ibishu Covet Mar 19, 2021