hey i was wondering if any1 knew how to save stats so that when the player plays the map again, it loads his stats. i want to make it so they can earn credit which they can buy in game stuff. but i need to make sure their stuff stays unlock for evry other time they play
You need to learn about Player Banks. It's a rather large topic for this post, but you should be able to do some searches on this site and get the info you need. I suggest using StarCode for encrypting your numbers.
No need of encryption (sorry) unless you want to hide something. Blizzard signatures are ok.
Short version would be:
Save (integer) 1000 as 'Score', section 'Whatever' in Player 1 Bank'
Save Bank
(next game) IntVar = Load (integer) 'Score', section 'Whatever' from Player 1 Bank
To protect Bank from modification you need to enable 'Bank option' (via action) signature, and on load you can do check 'Verify Bank'
hey i was wondering if any1 knew how to save stats so that when the player plays the map again, it loads his stats. i want to make it so they can earn credit which they can buy in game stuff. but i need to make sure their stuff stays unlock for evry other time they play
@Greendude120: Go
You need to learn about Player Banks. It's a rather large topic for this post, but you should be able to do some searches on this site and get the info you need. I suggest using StarCode for encrypting your numbers.
Use banks
http://www.sc2mapster.com/forums/resources/tutorials/2837-video-tutorial-banks/
http://www.sc2mapster.com/forums/resources/tutorials/19267-triggers-video-basic-bank-saving/
No need of encryption (sorry) unless you want to hide something. Blizzard signatures are ok.
Short version would be:
Save (integer) 1000 as 'Score', section 'Whatever' in Player 1 Bank'
Save Bank
(next game) IntVar = Load (integer) 'Score', section 'Whatever' from Player 1 Bank
To protect Bank from modification you need to enable 'Bank option' (via action) signature, and on load you can do check 'Verify Bank'
Thanks thats what I needed. Had no idea where to start.