Well, Rodrigo did something like that. Not too sure how it works, but i would guess that it saves a score of some kind, then somehow checks that against some map saved bank or something and then shows the top 3 people on the interface.
In the beginning of the game you load all players' banks.
If a player doesn't have a bank it'll be created for him.
If a new bank has been created you need to add a "unique id" to it. It's basically just a random number between -2 billion and 2 billion.
Now we load the score (more to that below).
At the end of the game you compare every players' score and store the best 3 (or 5 or 10 or whatever) in the bank TOGETHER with the unique id number of them and their name.
Then, in the beginning of the next game you read all players' banks and look at the scores and choose the highest scores - these will be our high score.
Basically you have to "virally" distribute the information.
Every player can only save the best players from the games he played, but he can exchange his highscore with other players from other games and adopt the highest.
So it'll never be 100% complete. If certain players only play with each other they'll create their own "local" highscore. Only after they play with other people they'll get a more global score.
That sounds alot easier than actually trying to figure it out myself.. Is it possible to get help setting it up.. Im new to banks, and trying myself just ended up with errors so.. yah.
A lot of times Ive tried new areas and jumped right in2 the hard stuff and i just end up confusing myself even more. start with the simple stuff and once you get it then jump in2 the hard stuff.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Okay... Now, this is alot more trickier than normal banks.. I need...
High score Leaderboard (Top 10)
- Top Player Name (1-10)
- Top Player Score (1-10)
A Normal Leaderboard (Already got set-up)
- Current Player Name (1-12)
- Current Player Score (1-12)
Im not too sure how to make it work... but if people know more than i do, I'd love the help!
Bank files are local so it is not gonna be very accurate top 10.
But in your map, you were able to get peoples scores... Thats all i really want.
Well, Rodrigo did something like that. Not too sure how it works, but i would guess that it saves a score of some kind, then somehow checks that against some map saved bank or something and then shows the top 3 people on the interface.
So can anybody help me at all? Would be great...
Anyone? BUMP
Well, I'll scrible down the general idea:
In the beginning of the game you load all players' banks.
If a player doesn't have a bank it'll be created for him.
If a new bank has been created you need to add a "unique id" to it. It's basically just a random number between -2 billion and 2 billion.
Now we load the score (more to that below).
At the end of the game you compare every players' score and store the best 3 (or 5 or 10 or whatever) in the bank TOGETHER with the unique id number of them and their name.
Then, in the beginning of the next game you read all players' banks and look at the scores and choose the highest scores - these will be our high score.
Basically you have to "virally" distribute the information.
Every player can only save the best players from the games he played, but he can exchange his highscore with other players from other games and adopt the highest.
So it'll never be 100% complete. If certain players only play with each other they'll create their own "local" highscore. Only after they play with other people they'll get a more global score.
That sounds alot easier than actually trying to figure it out myself.. Is it possible to get help setting it up.. Im new to banks, and trying myself just ended up with errors so.. yah.
@Pshyched: Go
s3rius is amazing at banks, and was able to dumb that stuff down for me enought to bring a noob to applicable knowledge.
Might be, but I can't make a TopScore system just like that. It's error-prone.
http://forums.sc2mapster.com/resources/tutorials/11050-triggers-data-banks-saving-variables-between-maps
http://forums.sc2mapster.com/resources/tutorials/2837-video-tutorial-banks/
You should learn something about bank first then.
A lot of times Ive tried new areas and jumped right in2 the hard stuff and i just end up confusing myself even more. start with the simple stuff and once you get it then jump in2 the hard stuff.