Save/Load System!
This is a save load system for Basic hero information and items
Final version released!
Due to my other project Final Fantasy 13 this will be the final release. It should have enough in it to get you going. I did fix a bug so you should Download the new version. the bug did not allow you to save in the name has been saved already.
Be Sure to rate my project here! http://sc2.curse.com/downloads/sc2-maps/details/saveload-system.aspx
CROSS LOADING HAS BEEN IMPLEMENTED!
Newest Version 2.10: Fixed a major bug with the way names are saved, if any names are similar and you delete the save it will delete those saves as well IE i have save Jim and a save Jim123. If i delete Jim, Jim123 will be deleted also. This is a major bug, you need to delete your old Bank files also.
5/7/2010 HUGE UPDATE! v2.00
- added remove saves!
- Added Hero Select Screen for easy hero loading and saving! manages your BANK file!
- Easy implementation to your map! just drag and drop! only a few things to configure!
- forgot to mention in a comment on the "map Initialization" there are these:
Bank - Open bank "MYBANKNAME" for player 1 Variable - Set Bank - Bank Name[1] = (Last opened bank)
you need to create one for each player so player 2 would look like this:
Bank - Open bank "MYBANKNAME" for player 2 Variable - Set Bank - Bank Name[2] = (Last opened bank)
I will be keeping this map updated with any improvements on the system to save other things.
this will save all your inventory items to the BANK XML file.
Free to use i just ask for credit when credit is due.
You can save/load as many heroes as you like.
BIG thanks to Crazafied for the help with getting this fully functional! Big shout out and credit to picklefish! his store and based the hero select screen off of it.
noob question but...when I download this is an sc2 map file. I tried making it a sc2lib file and I could not import it then...What do I do?
I've a question.
So by using this save/loading system, any player stats/items/experience on battle.net who played the game, will be recorded, and can be loaded up if the same player plays again?
Great job! Really easy to implement as you mention!
List of thing you can save: Hero Type / Items / Skills + SkillPoint Distribution / Hero Level with XP / or some precious info like (did he kill the Cow Kings? if yes, than, you cant make a portal) if no, you can
Cool! Thanks for all of your work!
mainly i did not want to have 900 player folders and If statements all over the place. so i made most my variables arrays and i store all the players information as an array now. makes it a copy/paste install. just have to modify the heroes really and add any of your own variables that you want to store.
Must have made a lot of progress from 0.03 to 1.00 then 1.01 to 2.00 You really must have been busting your self making that much progress in a day
hero Xp, i can
the system is made so you can easily add anything you want to the bank. i do not have hero xp set up on this map but just store it as an integer and bank it. the system i set up here is simple.
I will set up XP save in my next version. i will also save hero stats. look for it in the coming days!
Will you add hero XP and an XP save system also?
nope just showing how to save/load that sounds an item bug.
I have found that if you keep taking on and off the health boost you can raise health. I put a few enemies on the map and was an easy way to heal. Don't know if you were showcasing the items or just the hero so just providing feedback.
I fixed the loading problem for cross loading a new version is up!
now im confuse
I just wanted to point out that there is no problem cross loading from map to map.
Map 1:
Map 2:
This works fine. Restoring units works fine as well. But maybe I misunderstood. If so, sorry for my ignorance.
i try A0.03
it work, good job, but if you close the map and reload it, your hero is not saved, so you cant load it so need improvement
"didnt check the bank though :/ unless the bank was Save and load then i did xD but it doesnt rly save at every point"
Doesn't save when you hit the save button? because it should.
also i just updated the map with a XML change so it only creates 1 entry for each save.
Testing it will be edited in....Incoming (-:)
Edit: Very Aswome!! :D
didnt check the bank though :/ unless the bank was Save and load then i did xD but it doesnt rly save at every point :(