Log in to reply
 

[Help] Editing Car RPMs?



  • I've been wondering if it's possible to change how high a car can rev. In Vanilla vehicles for example most cars shift up like way past the redline on the tachometer. Could there be a way of editing it so that the tachometer needle doesn't go as high or the car will shift at lower RPMs?

    If really my only option is to adjust the angle offset of the tachometer needle on the car, how can I do that? I mean some car mods will have their tachometers idle at about 1000 rpm or so but then when you rev high the needle goes like all the way off the tachometer, and some car mods put the needle like off the tachometer on the other way so that when it's at the max rpm it'll reach the tachometer's visual redline just about.

    Am I overcomplicating this?


  • MODERATOR

    I'm not sure if you can change how much the RPM needle travels, but adjusting your model to do that might be of some help. That said, the default gearbox shifts at near top-end RPM. My Manual Transmission script contains a custom automatic shifter implementation where it's possible to dial in a lower RPM to upshift, but I've configured it by default to also upshift near the top end. The difference since a version or two ago, is that at lower throttle inputs it shifts earlier (and downshifts when just staying at a constant speed with little throttle input).



  • How can I do that with your script?



  • That would make a very good addition, but what about how FAST it revs? Do you think it's possible to increase the speed at which a car revs when idle? (Handbrake + Gas)


  • MODERATOR

    @BannedBliss

    That's fDriveInertia in handling.meta. Lower and it'll rev slower, high and it'll rev faster.



  • @ikt It seems this is partly responsible however, some cars have innate lower rev speeds in idle. Its like they have a delay, in the form of a hard coded, soft, linear acceleration input that takes effect regardless of how you fast the player hits the gas from keyboard/controller buttons, effectively limiting the speed of the revs as seen through the rev needle.

    This is my assumption after half a day of experimenting since I can't seem to get some cars' revs to rise aggressively. Maybe I should use more restarts between changes because I'm changing values in realtime and some might not always take effect without a restart (respawn not enough?). What a coincidence, I'm using your handling editor! So, are you certain this is the only value affecting engine revs? Or could there be something else, outside handling.meta?


  • MODERATOR

    Some vehicles are still unaffected/less affected. Trucks, and those with the advanced flag that makes revving slow.

    It's kind of tied to audio. The RPM data in the vehicle does rise quickly, but the audio and dashboard still lag behind. No idea what actually happens there.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.