How to get the top speed of a A-chassis vehicle?

Hey guys

I was wondering how you would get the top speed from a script of a A-chassis vehicle?

Im not sure how to do it and Im asking if anyones knows the formula.

Im assuming it will be to do with the Horsepower and RedLine properties but Its confusing and im not sure how

Any help would be highly appreciated

I did look at the code for the gauges and this is the line that I found which calculates the max speed

v.maxSpeed = math.ceil(v.scaling*wDia*math.pi*_lRPM/60/tune.Ratios[#tune.Ratios]/tune.FinalDrive/tune.FDMult)
2 Likes