I hope that example file isn't broken i use his system in my map.
Anyways I think I posted this a couple of days ago (I really need to make a tutorial for banks one of these days), but here we go again.
Preload the bank either using the map -> preload data -> Banks options (the better choice i think, much easier) or using the trigger based preload and synchronize which you cannot use variables for. *
Open the bank, at this point if the bank does not exist it will be created for the player.
Store info in the bank *Note the bank must be open to do so*
Save the bank *
* Note the bank does not need to exist in order to do this, this will preload data only if the bank actually exists. ** Note when you open it you can save the bank to a bank variable array, this may make it easier later on *** Note the bank obviously has to be open
I hope that example file isn't broken i use his system in my map.
Anyways I think I posted this a couple of days ago (I really need to make a tutorial for banks one of these days), but here we go again.
Preload the bank either using the map -> preload data -> Banks options (the better choice i think, much easier) or using the trigger based preload and synchronize which you cannot use variables for. *
Open the bank, at this point if the bank does not exist it will be created for the player.
Store info in the bank *Note the bank must be open to do so*
Save the bank *
Note the bank does not need to exist in order to do this, this will preload data only if the bank actually exists.
Note when you open it you can save the bank to a bank variable array, this may make it easier later on
Note the bank obviously has to be open
Oh a option i did not even know about :)
Note when you open it you can save the bank to a bank variable array, this may make it easier later on
What do you mean by this? Can you maybe make a very simple data map where it is one marauder and one zergling(enemy) and next time when i start map he has the same hp as previous maps?
I've never tried making a map like that before, but i imagine it could be done. What I meant by that convoluted sentence was that when you open the bank,you can then save the bank to a variable, which tends to be easier to reference later on in your map.
I'll work on that example map now and upload it a little later.
Been trying to search but have not been able to find any good guide on how to handle banks.
Is there any good way to protect the data as well? Downloaded "starcode" but his example file was broken so i assume that it dont work anymore.
I'm simply just confused and not educated with this, any guide/tips/tutorials?
I hope that example file isn't broken i use his system in my map.
Anyways I think I posted this a couple of days ago (I really need to make a tutorial for banks one of these days), but here we go again.
* Note the bank does not need to exist in order to do this, this will preload data only if the bank actually exists.
** Note when you open it you can save the bank to a bank variable array, this may make it easier later on
*** Note the bank obviously has to be open
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Try using OneTwoSC's Banking System - It supports both Kills / and Unit Property especially for Items. It was basic. And yeah check Editor Options :)
Oh a option i did not even know about :)
Note when you open it you can save the bank to a bank variable array, this may make it easier later on
What do you mean by this? Can you maybe make a very simple data map where it is one marauder and one zergling(enemy) and next time when i start map he has the same hp as previous maps?
@Sherlia: Go
I've never tried making a map like that before, but i imagine it could be done. What I meant by that convoluted sentence was that when you open the bank,you can then save the bank to a variable, which tends to be easier to reference later on in your map.
I'll work on that example map now and upload it a little later.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
What i said was only a simple example on how to save progress from a earlier game :) You can ofc make it however you want :P
Made an example map a long time ago, too, and now I updated it for multiple players and bank version usage which allows you to patch your banks.
Here it is: https://dl.dropboxusercontent.com/u/4479839/bankTest.SC2Map
I added a lot of comments to it. I hope you can get an idea what is going on and what is done.