Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. News
      2. Red Dead Online
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

CmdData

[Mod Idea] Red Hot Brake Discs

Recommended Posts

CmdData

So I've looked all over the place and I can't seem to find a mod that "heats up" brake discs when you're braking at high speed (Say over 100 mph). I think it would make a great mod, just something to add a touch of realism.

Here's a picture if you don't know what I mean: 

Spoiler

ferrari_glowing_vehicles_brake-55c4e5113


If someone has the modding skills to do something like this, that would be really cool! :D

Share this post


Link to post
Share on other sites
LeeC2202

The problem with this is that as far as the wheel hierarchy is concerned, brake discs are not a defined element. That means you have no idea where they are relative to the wheel mesh.

 

The Dominator for instance has them centred on the wheel origin and they extend about 2cm forward. Whereas the RapidGT3 has them slightly behind the origin. So you could do something based on the wheel position + .03f and get lucky. But there could just as easily be a vehicle where they are in front of the origin, which would hide everything... and that's without considering if all vehicles actually had brake discs or not... I suspect they don't. So then you'd need to create a LUT of compatible vehicles and offsets, which would be bad enough for vanilla vehicles but even worse for the addons.

 

It's something that would be very easy to get working, in a very unreliable state, with no way of checking if it worked or not. That's probably why it hasn't been done, because it could easily fail 80% of the time. I agree it could look good but it could also look bad if the effect started poking through the wheel mesh, or things just got hidden behind parts of the wheel.

Share this post


Link to post
Share on other sites
CmdData
Posted (edited)

Well i'm no expert in modding but the brake discs have textures themselves. wouldn't it be easier to (At a certain braking point as mentioned above) to replace the texture with the heated ones? Wouldn't that fix the issue of the wheel origin? And to create the effect that they're "heating up", you could add a smooth transition between the 2 textures, then when the cars has slowed down enough, transition the texture again.

Edited by CmdData

Share this post


Link to post
Share on other sites
LeeC2202
Posted (edited)

Which would be a good way to do it, if you could do all that with textures but sadly, you can't.

 

A model has a set of materials applied that contain texture definitions. Once in the game, you can't redefine what those materials are, which means you can't do anything with the textures. That means that any type of effect has to be effectively, a post-processing effect and that's where the problem lies. If Rockstar were to do this, it would be easy because they could do it like the dirt map but I can't see it being something they would do, unless they thought they could make money from it.

 

However, I have got something working on a couple of test models but even between two models, there are issues. One is the Dominator and the other is a Bentley. You can see how it looks here on the Dominator.

 

 

With the values I have, the effect is positioned just behind the front of the caliper but using the same position on the Bentley, puts it in front of the caliper. That's using the wheel bones as the origin for the effect. I did try on the hub bone but that seemed worse.

 

I will do some more testing on it when I get chance, My life is in crisis at the moment, so nothing is guaranteed.

 

The video is only about a minute long and the best shots of the discs are at the end.

Edited by LeeC2202

Share this post


Link to post
Share on other sites
CmdData

Yeah thats exactly what I was going for. Even if it is only for the dominator, could you send me the files and a short readme on how to install it please?

Share this post


Link to post
Share on other sites
LeeC2202

Have sent you a PM with the link.

 

Please be aware, this effect only works on the vehicle you are in and as it is a script, it will not work in the Rockstar Editor. The video shown above is in my own custom replay system that supports all scripted mods. You might find that whilst this achieves the effect, its use is extremely limited... such is the nature of scripted mods.

Share this post


Link to post
Share on other sites
locotomb

Actually there is many different ways to manipulate textures while in game. Depending on what program you use to Mod. That's one of the functions of the alpha channel; To be able to make something emit light by the press of a button. And, If I'm not mistaken I ran into a shader with this capability. I could be wrong, but I was also told that you couldn't have analog and digital dials on a single vehicle. If I am successful I will post how to do it. 

Share this post


Link to post
Share on other sites
LeeC2202
4 hours ago, locotomb said:

Actually there is many different ways to manipulate textures while in game. Depending on what program you use to Mod. That's one of the functions of the alpha channel; To be able to make something emit light by the press of a button. And, If I'm not mistaken I ran into a shader with this capability. I could be wrong, but I was also told that you couldn't have analog and digital dials on a single vehicle. If I am successful I will post how to do it. 

It's interesting that you say that because I don't think I have ever seen a mod manipulate in-game textures under direct control (other than setting the entity alpha levels), so this would be interesting info to know about.

 

I know alpha channel manipulation is the way to normally do things but I understood that digital dials relied on using different points of the specified texture to provide the colour changes, rather than directly manipulating the single texture used. I'm not a vehicle modder though, so that was just based on a single video I watched... assuming I am remembering it correctly.

 

Someone on my YT channel posted about using emissive textures, which got me thinking about a simple prop with an emissive ring texture, that could be manipulated on the Alpha level, but that would require realtime manipulation of the entity matrix to allow for scaling as I did with this effect. I created a brief test mod yesterday for accessing the matrix but something isn't working right with it. Reading it seems to end up with the values being set to zero. Sadly, I can't get help from anyone due to issues caused by my mental health problems, so I have to do things on my own, which takes time.

 

If you can provide further info about the ideas you have in mind, I for one would appreciate it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.