I've been SC2 map editing for two years, but one thing I still don't understand is banks. The information about them is scattered around, and I'm looking for just a simple explanation of what a bank is. I believe you can use it to save high scores and stuff between games?
If I save information in a bank at the end of a game, let's say one player's high score on the game, is that information saved with the published map? I have heard some nonsense about how bank information needs to get transferred between players or something. I don't know if that is true or even what it really means.
Could anyone please lay down the basics for me, or let me know where I could find a tutorial that explains it?
a bank is just a file with a few values in it. The bank is saved on the persons computer, that means if the person changes computer and doesnt copy the bank file over, his "save" wont be there.
About information being transferred, Im guessing youre talking about a global high score or something. Banks arent global, they are local files, theres no way you or anyone else can access the banks of ALL players. But you can set up some code to save the top X players score in the bank of every player and then check whether any of the current players has (either personally or saved in the Top X section of the bank) a higher score, and then add it to the other banks. If you're map is popular enough, that method will cause the information to be quickly spread throughout banks and can give the illusion of a "global" high score.
I've been SC2 map editing for two years, but one thing I still don't understand is banks. The information about them is scattered around, and I'm looking for just a simple explanation of what a bank is. I believe you can use it to save high scores and stuff between games?
If I save information in a bank at the end of a game, let's say one player's high score on the game, is that information saved with the published map? I have heard some nonsense about how bank information needs to get transferred between players or something. I don't know if that is true or even what it really means.
Could anyone please lay down the basics for me, or let me know where I could find a tutorial that explains it?
a bank is just a file with a few values in it. The bank is saved on the persons computer, that means if the person changes computer and doesnt copy the bank file over, his "save" wont be there.
About information being transferred, Im guessing youre talking about a global high score or something. Banks arent global, they are local files, theres no way you or anyone else can access the banks of ALL players. But you can set up some code to save the top X players score in the bank of every player and then check whether any of the current players has (either personally or saved in the Top X section of the bank) a higher score, and then add it to the other banks. If you're map is popular enough, that method will cause the information to be quickly spread throughout banks and can give the illusion of a "global" high score.
Although it is pretty easy to manuipulate banks even if the info is encrypted.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Can you also use banks to form a sort of "campaign" between maps, like the Wings of Liberty Campaign? If so, how?
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)