So i just finished a rough draft of my first Hero in an RPG that i'm working and now i'm trying to figure out how to save the player's custom hero so they can come back to the map and pick up where they left off. Anyways i was wondering if any one could point me the direction of some good bank tutorial or had any advice that they would like to share. I've seen the basic bank tutorials but i would like a little more base knowledge in this area before i start messing around with it.
here's some info about what i'm trying to accomplish.
The map allows up to 8 players who will all need individual save data.
each player will be able to choose their own character
each player will be custom leveling their stats and their hero's 5 different abilities (possibly more)
and each player will have an inventory with items that they find/purchase
and i would like the player to be able to recall Their personal data every time they start the map
Well, the usual method is saving everything in integer variables. You simply give anything a unique index, then save all kinds of stuff, which needs to be saved. The experience, the character id, the different stats, the base ability ids, all the item ids. You dont save the actual units or items, you just save numbers - like he has character 4 with items 1, 12, and 25. On loading, translate this back to your warlock with healing potions, mage staff and plate armor, or whatever ;)
Also get the STARCODE library so you can hash and encrypt your bank files. People will hack them otherwise. They might hack them anyway, but at least this will greatly reduce the number of people that are successful.
would it be possible for someone to post some examples of their bank Triggers so i can kinda get a feel of how they work?
also thank you BasharTeg and Kueken531
So i just finished a rough draft of my first Hero in an RPG that i'm working and now i'm trying to figure out how to save the player's custom hero so they can come back to the map and pick up where they left off. Anyways i was wondering if any one could point me the direction of some good bank tutorial or had any advice that they would like to share. I've seen the basic bank tutorials but i would like a little more base knowledge in this area before i start messing around with it.
here's some info about what i'm trying to accomplish.
The map allows up to 8 players who will all need individual save data.
each player will be able to choose their own character
each player will be custom leveling their stats and their hero's 5 different abilities (possibly more)
and each player will have an inventory with items that they find/purchase
and i would like the player to be able to recall Their personal data every time they start the map
Any help will be greatly appreciated
Well, the usual method is saving everything in integer variables. You simply give anything a unique index, then save all kinds of stuff, which needs to be saved. The experience, the character id, the different stats, the base ability ids, all the item ids. You dont save the actual units or items, you just save numbers - like he has character 4 with items 1, 12, and 25. On loading, translate this back to your warlock with healing potions, mage staff and plate armor, or whatever ;)
Also get the STARCODE library so you can hash and encrypt your bank files. People will hack them otherwise. They might hack them anyway, but at least this will greatly reduce the number of people that are successful.
would it be possible for someone to post some examples of their bank Triggers so i can kinda get a feel of how they work?
also thank you BasharTeg and Kueken531
There is a great example map that comes with STARCODE that should be enough to get you started.
Here's a link to the thread: STARCODE
Be sure to thank s3rius for making a great library for us to use :)