For V5.844
This is version 2.
I've now done a new layout for the button (Version 3) - see bottom of this post.
Original version 1 worked, just that I never allowed for people getting penalties. I drove very proper when I tested it!
You can ignore a lot of the posts on this page that go into vast detail of where I went wrong.
Buttons that pops up at end of race with position = 1/Winner/drivers name. 2/Runner Up/drivers name. 3/3rd Place/drivers name.
----------------------------------
|... | Winner............................. |
| 1 |-----------------------------|
| .. | Drivers Name in here........... |
----------------------------------
Bit like when you've watched race on tv and leading driver goes over finish line.
CREDITS:
Sinanju
----------
Idea (original or not), button formatting, including sizing, colouring and placement
Tim[NL]
-----------
ALL the difficult programming bits, advice, good will, etc.
Open up your LFSLapper.lpr file.
In the Action on Qual and race section, look for the Event OnResult( $flagConfirm ) section, that ends with EndEvent.
Paste main part of code there.
Included is English and French for pasting in the correct LANG section.
I hope my French translations ok. Easy enough to change if I've used wrong words.
Remember; no guarantees. All should work, but in case it doesn't, use at your own risk! In case it all goes horribly wrong, reload your saved lapper config file. The one you saved before you changed the coding. Right?
Little extra detail:
If only 2 in the race, you only get Winner and 2nd place flags popping up.
Flags only on for 10 seconds. So if first place finishes 11 seconds in front of 2nd, then it will go off before 2nd place flag goes on (underneath where winner flag was). You might want to think about keeping winner flag on few seconds longer than other flags. It would be very easy to add more flags (4 = better luck next time 5 = also ran, etc - as derogatory or as encouraging as you like).
===============================================
Version 3
---------
Slightly different look, but layout still same (your finish number on left/finish position top right/driver name bottom right).
Flags slightly smaller too - helps people still finishing race.
(Many thanks to the people who visited my server and gave me feedback on the flags).
Nearly everything same as previous version, except the look. See image.
Saved as text file - copy/cut and paste into relevant sections.
Same caveats; save, risk, etc.
This is version 2.
I've now done a new layout for the button (Version 3) - see bottom of this post.
Original version 1 worked, just that I never allowed for people getting penalties. I drove very proper when I tested it!
You can ignore a lot of the posts on this page that go into vast detail of where I went wrong.
Buttons that pops up at end of race with position = 1/Winner/drivers name. 2/Runner Up/drivers name. 3/3rd Place/drivers name.
----------------------------------
|... | Winner............................. |
| 1 |-----------------------------|
| .. | Drivers Name in here........... |
----------------------------------
Bit like when you've watched race on tv and leading driver goes over finish line.
CREDITS:
Sinanju
----------
Idea (original or not), button formatting, including sizing, colouring and placement
Tim[NL]
-----------
ALL the difficult programming bits, advice, good will, etc.
Open up your LFSLapper.lpr file.
In the Action on Qual and race section, look for the Event OnResult( $flagConfirm ) section, that ends with EndEvent.
Paste main part of code there.
Included is English and French for pasting in the correct LANG section.
I hope my French translations ok. Easy enough to change if I've used wrong words.
Remember; no guarantees. All should work, but in case it doesn't, use at your own risk! In case it all goes horribly wrong, reload your saved lapper config file. The one you saved before you changed the coding. Right?
Little extra detail:
If only 2 in the race, you only get Winner and 2nd place flags popping up.
Flags only on for 10 seconds. So if first place finishes 11 seconds in front of 2nd, then it will go off before 2nd place flag goes on (underneath where winner flag was). You might want to think about keeping winner flag on few seconds longer than other flags. It would be very easy to add more flags (4 = better luck next time 5 = also ran, etc - as derogatory or as encouraging as you like).
===============================================
Version 3
---------
Slightly different look, but layout still same (your finish number on left/finish position top right/driver name bottom right).
Flags slightly smaller too - helps people still finishing race.
(Many thanks to the people who visited my server and gave me feedback on the flags).
Nearly everything same as previous version, except the look. See image.
Saved as text file - copy/cut and paste into relevant sections.
Same caveats; save, risk, etc.