The online racing simulator
ShiftLight point, how to predict?
Hi, I want to add a feature to my program, to predict the shiftlight point, the idea is make a LED BAR, and when lights the last LED is the optimal point to change gear. But I have trying a lot of things and I can to save every shiftlight point for every gear with exactitude...

So I think that the best is to do like in LFS, but how LFS calcule the shiftlight point?
AFAICT, using the torque (->power) curve of the engine and the gear ratios, it compares the power the engine is currently producing with the power it would produce after a shift up.

Someone calls that the magic shift light
Yes, that I know, but I don't know how is this curve, where is that data?

Another problem is that insim or outgague don't send packets with setup information. But this I can solve with "reading" how works RPM in relation of Speed.

Becouse I don't want to load a setup when start the program, I want to do all automatically.
This data is in LFS.exe I think.

FGED GREDG RDFGDR GSFDG