Yo I was just wondering how do you get two leaderboards to alternate on the screen. I can only get one, if i add a second they don't alternate.
I'm using custom for EXP and trying to put another in to show your actual level.
Also just wondering do I need to show leaderboard for each individual player or just for one player and it will show for all?
None.
Well the easiest way is to use Custom points, and points for something else you don't have, like buildings.
If the players start out with buildings on the map, then at the beginning of the game, set each player's building score to 0.
Put the trigger that shows leaderboard in the "all players" section.
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
You have to program the alternation yourself.
Set up a death count timer that displays 1 leaderboard at 0, and resets to 120 (= 10 real time seconds on fastest, when using hyper triggers),
and displays the other leaderboard at 60, always counting down. This will make them switch every 5 seconds (at 60 and at 0/120).
The leaderboard trigger can be owned by any player, even a computer, which is probably most preferable. The leaderboard will be the same for every player.
If you can't use Cecil's method of using a 2nd score (for example because you have no unused scores) you have to use both scores in a separate death counter and use
Binary Countoffs to transfer the one you're currently displaying to custom score .
If you can't use Cecil's method of using a 2nd score (for example because you have no unused scores) you have to use both scores in a separate death counter and use
Binary Countoffs to transfer the one you're currently displaying to custom score .
Binary countoffs can seem a bit complicated at first, but let us know if you want to try it, if you read the wiki and still don't understand.
And one more thing I forgot to mention, if you decide to use Custom and Building scores, make sure that the player's won't be getting any new buildings throughout the game, to make things easier.
None.
You can display death counts as well, you just have to trick SC into doing it, so if you do end up having to store a second item in death counts, it's much easier to just use one action than 60 triggers.
If you want, you can use minerals/gas/psi to display a level, but it won't be viewable by anyone other than the player.
When you have a trigger and the action has a leaderboard in it, the leaderboard changes for all computers which run the trigger. That means if player 1 owns the trigger, and player 1 does something to run the trigger, the condition is true on everyone's computer, and thus it will run. This is important because a) you can't turn off a leaderboard and b) it doesn't matter who runs the trigger. You can make a specific computer run a specific trigger and nobody else does, so different people will see different leaderboards, but that's an advanced trick. You're better off with nude's DC method.
Finally, you can use different places in the number to show level. For example: 10020429: Level 1, 20429 exp. 90047821: Level 9, 47821 exp.
the leaderboard can only display 59 pixels. All numbers are 7 pixels except for 1, which is 5 pixels
If you display an 8 digit number, you'll never go over the limit. Once you hit 9 digits, at least two of them have to be 1s. If you'll never go over 4 or so digits of exp, and 2 digits of level, you can easily differentiate with a bunch of zeroes.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Alright thanks for the help, someone should chuck elements of this thread into the FAQ imo, wuld be pretty helpful.
None.