• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Saving / Loading Tutorial

Level 3
Joined
Jun 16, 2007
Messages
38
Originally posted at jx3.net/tdg, since the formatting is different between forums I can't post the entire thing here without a lot of grief. Our size tags differ from HiveWorkshops's.

These steps show how to save a hero's level / experience. This has been considered extremely difficult but as you can see for yourself, it is easier than you think. Saving units and loading them is quite simple since there is a function there.

The Tutorial

The original post also contains a demo map.
 
Level 8
Joined
May 31, 2009
Messages
439
Now, although it doesn't saveon an online database, even if it saves as local, if you replay the map in question on the same computer it should be fine no? With this in mind, I am also supposing if you don't play on the same computer, you won't have your "saved" data?

Is tehre a way to save it on an online database?
 
Level 11
Joined
Mar 6, 2008
Messages
898
hiho,

nice tutorial.
but there is one important thing which makes this unimportant for multiplayer maps.
banks have got a storage limit of about 80 in multiplayer and with 1 player.
this limit is set for a player and can't be avoided by saving stuff in different banks.
the more players play in a game the lower is this limit.

a real rpg map would be impossible if you want to give a player for example 8 hero slots.
if he plays alone in single player he would have 10 values of storage per hero.
that is why you have to do here the same as in wc3.
you must create savecodes which you store encrypted in your bank.
well, hopefully the stringlimit isn't that low... xD

Robbepop
 
Level 7
Joined
Jul 18, 2008
Messages
283
hiho,

nice tutorial.
but there is one important thing which makes this unimportant for multiplayer maps.
banks have got a storage limit of about 80 in multiplayer and with 1 player.
this limit is set for a player and can't be avoided by saving stuff in different banks.
the more players play in a game the lower is this limit.

a real rpg map would be impossible if you want to give a player for example 8 hero slots.
if he plays alone in single player he would have 10 values of storage per hero.
that is why you have to do here the same as in wc3.
you must create savecodes which you store encrypted in your bank.
well, hopefully the stringlimit isn't that low... xD

Robbepop

For saving experience similar to games like undead assault 2 and night of the dead this works fine. But yeah rpgs won't be able to store all the info in the banks with a limit like that.
 
Top