The online racing simulator
Drift Scores in Circular Display (Circular Drift Meter)
Slightly bored tonight, so put my drift meter into a circular button.

To use, unzip/unrar one of the attached files, and copy into your \bin\default\includes directory.

Then open the addonsused.lpr file in the same directory.

Add the following line:

[COLOR=DarkGreen]include([/COLOR] [COLOR=Red]"./circulardriftmeter.lpr"[/COLOR][COLOR=DarkGreen]);[/COLOR]


Put a hash (#) sign in front of include( "./driftmeter.lpr"); so it looks like #include( "./driftmeter.lpr");

Otherwise you end up with 2 drift meters.

Also.

I've set the default speeds and angles as follows;

$MinimumDriftSpeed = 39; # Minimum speed in km/h to maintain. Driving below that speed will reset score
$MinimumDriftAngle = 5; # Minimum angel to maintain. When angle is below value, score is reset
$MaximumDriftAngle = 75; # Maximum angel to maintain. When angle is above value, score is reset
$GoodDriftScore = 2500; # Value to be reached to execute action on good drift score
$MinimumDriftScore = 100; # Minimum drift score required

If you think they're too little/too much, just change to suit your own preference.
Attached images
Circular drift meter.PNG
Attached files
circulardriftmeter.rar - 1.1 KB - 335 views
circulardriftmeter.zip - 1.2 KB - 303 views
That looks quite cool never thought about a circular drift meter

FGED GREDG RDFGDR GSFDG