[FilterScript] 3D Speedometer
#1

Similar speedometer with JC2MP speedometer. Doesn't rotate with camera (otherwise, it flickers). Visible only for driver. Compatitable with large number of vehicles (but for some vehicles it's not...)
Requirements: Incognito's Streamer Plugin
URL: gist.github.com
Reply
#2

Hmm weary good but i suggest to put it on the top of the car but +REP
Reply
#3

Your velocity calculation is incorrect, The Infurnus tops out at about 223 km/h yours is going well past that mark try using this as your calculation I've tested this formula against another velocity method (Average velocity over 500 meters using pickups to mark the start time end time).

pawn Код:
GetVehicleVelocity(GetPlayerVehicleID(i), vx, vy, vz);
vel = floatmul(floatsqroot(floatadd(floatadd(floatpower(vx, 2), floatpower(vy, 2)),  floatpower(vz, 2))), 181.5);
Reply
#4

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
Your velocity calculation is incorrect, The Infurnus tops out at about 223 km/h yours is going well past that mark try using this as your calculation I've tested this formula against another velocity method (Average velocity over 500 meters using pickups to mark the start time end time).

pawn Код:
GetVehicleVelocity(GetPlayerVehicleID(i), vx, vy, vz);
vel = floatmul(floatsqroot(floatadd(floatadd(floatpower(vx, 2), floatpower(vy, 2)),  floatpower(vz, 2))), 181.5);
I don't use third vector, because it's not a real speed for me, IMHO. If you don't like it, you can change it...
Reply
#5

Quote:
Originally Posted by SDraw
Посмотреть сообщение
I don't use third vector, because it's not a real speed for me, IMHO. If you don't like it, you can change it...
I don't need the script I'm just saying your speedometer is completely out to lunch in terms of any level of accuracy observe the following test.

I tried to maintain approximately 100km/h over 500 meters so you can see the average speed is pretty good around 100 yes i'm going a bit fast at the end since I have to keep pushing accelerate in a pulsing manner but look at your calculation it's shows 44km/h as I said your speedometer is completely out to lunch.

Reply
#6

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
I don't need the script I'm just saying your speedometer is completely out to lunch in terms of any level of accuracy observe the following test.

I tried to maintain approximately 100km/h over 500 meters so you can see the average speed is pretty good around 100 yes i'm going a bit fast at the end since I have to keep pushing accelerate in a pulsing manner but look at your calculation it's shows 44km/h as I said your speedometer is completely out to lunch.

I don't care...
Reply
#7

Then why bother releasing anything in the first place if your not going to make sure it works properly or at least fix problems people are noticing? Doing what your doing makes less sense to me to me than your last comment.
Reply
#8

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
Then why bother releasing anything in the first place if your not going to make sure it works properly or at least fix problems people are noticing? Doing what your doing makes less sense to me to me than your last comment.
I can tell you that Infernus has speed 240
Quote:

INFERNUS 1400.0 2725.3 1.5 0.0 0.0 -0.25 70 0.70 0.8 0.50 5 240.0 30.0 10.0 4 P 11.0 0.51 0 30.0 1.2 0.19 0.0 0.25 -0.10 0.5 0.4 0.37 0.72 95000 40002004 C04000 1 1 1

But it's not important what it is (kmph or mph). My speedometer is closer to this speed...So that's why I don't care...
Reply
#9

Quote:
Originally Posted by SDraw
Посмотреть сообщение
I can tell you that Infernus has speed 240

But it's not important what it is (km or mph). My speedometer is closer to this speed...So that's why I don't care...
WRONG WRONG WRONG!

Those values are NOT the actual top speed values there is a number of calculations done by San Andreas which directly affects how the top speed of a car is calculated I can prove this with any vehicle in the game if you don't believe me.
Reply
#10

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
WRONG WRONG WRONG!

Those values are NOT the actual top speed values there is a number of calculations done by San Andreas which directly affects how the top speed of a car is calculated I can prove this with any vehicle in the game if you don't believe me.
Let's stop this dispute. It really can grow in holywar...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)