Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
Hey guys, I'm trying to build an RPM indicator. Is there anyway I can detect the engine's gear and RPM?
Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
OK I learned that you can't physically detect the gear, but would the top speed split perfectly into the number of gears?
Meaning if the top speed is 180 the 1st gear shift would be 35, second to 70 and so on?
Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
People made mechanical gear systems, but I don't understand their methods...
Posts: 1,801
Threads: 21
Joined: Mar 2008
Reputation:
0
You can make the vehicle stick to a defined speed, so with every gear you can limit the speed of the vehicle.
But they will not be synced with the GTA gears.
I have an include with all max. vehicle speeds (gathered with GetVehicleVelocity, like in the topic you mentioned above), which could be split in gears. Would that help?
Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
Unfortunately no. I've done some tests and I saw that the gears don't shift after the same time interval.
It's clear to me now that I can't make a fairly accurate RPM indicator. It would've been nice for later updates.
Anyway, since I can't do it, I'll just make it indicate speed. Event without the RPM indicator, this script has it's share of little features and I think people will like it and find it useful.