If you look thru the LFSLapper.lpr file (found in LFSLapper5.7xx.zip, then cfg folder), you'll see lots of "openPrivButton" or "openGlobalButton" type text. This tells Lapper program to open a button. This button may be a message or a script, and may have a back colour or not. For instance, as you're racing, you may see a PB Split time come up. That's a button, with a text and script, but on clear background.
Part of my early version of my
DriftMaster script was:
####### ==================================== #######
####### Large Drift Meter placed bottom left of screen #######
####### ==================================== #######
Event OnDriftScore()
openPrivButton( "ldmlogo",3,118,38,5,4,-1,16,"^1Place your text / team name, etc., here, between quotes" );
openPrivButton( "ldmtrack",3,123,38,5,5,-1,16,"^3Track: ^2" . $LongTrackName . " ^1[" . $ShortTrackName . "]" );
openPrivButton( "ldmback",2,117,40,49,4,-1,32," " );
openPrivButton( "ldmtext",3,129,38,8,4,-1,16,"^0DRIFT MASTER" ); # Black text
IF( $AngleVelocity < 0 )
THEN
$Angle_reverse=($AngleVelocity)*(-1);
openPrivButton( "ldmdrift",3,138,38,8,4,-1,16,"This Drift Score: ^7" . $LastDriftScore ); # Gray text with white score
openPrivButton( "ldmcombo",3,147,38,8,4,-1,16,"Total Combo Score: ^2" . $DriftScore ); # Gray text with green score
openPrivButton( "ldmangle",3,156,38,8,4,-1,16,"Drift Angle: ^7" . $Angle_reverse . "^2 =>" ); # Gray text with white score and green arrow
ELSE
openPrivButton( "ldmdrift",3,138,38,8,4,-1,16,"This Drift Score: ^7" . $LastDriftScore ); # Gray text with white score
openPrivButton( "ldmcombo",3,147,38,8,4,-1,16,"Total Combo Score: ^3" . $DriftScore ); # Gray text with yellow score
openPrivButton( "ldmangle",3,156,38,8,4,-1,16,"Drift Angle: ^1<= ^7" . $AngleVelocity . " " ); # Gray text with white score and red arrow
ENDIF
EndEvent
Each openPrivButton (meaning only open button for current driver/spectator, rather than for all), has a button name that the Lapper program recognizes (e.g. ldmangle), then how far right on the screen, how far down the screen, how wide, how deep, text size, spacing, time (-1 means always on), and the last number is the button format (do you want a clear button or a light button or a dark button, and do you want left right or centred text. After the numbers comes what's to be displayed on screen (can be text or script, or combination of both). Text colours are the ^1 type numbers (^1 means red, ^2 green, etc).
Cut and paste above script into your lapper file and see if it works.
I'm currently making small adjustments to my
DriftMaster, but once finished, will email it to you.
And thanks for racing on the
Sin'rs server!
PS: The attached image (my newer
DriftMaster) shows 8 separate buttons! Code above has 7.