HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Saving RPG game Characters

09-10-2003, 01:02 AM#1
MasterConfucius
I've seen it done, but can't make any sense of it. How do you save RPG-style characters (level, stats, items) in the fashion of Legacies and GDE? It's something I'd like to do but can't and I don't want to have to slog through 48 hours of triggers to do it
://// , so please help if you can.
09-12-2003, 02:29 AM#2
Mr. Euthanasia
Unfortunately it does take a lot of triggering to do. To open save characters when the player goes to quit it stores all their items, their level, their hero type, money, ect. It saves all these values as a combination of #'s and letters that are pre-maid arrays, it then outputs the sum of all of these combined. So when you "load" a character it doesn't actually load it, it simply generates the character by checking the strings you entered.
09-12-2003, 02:48 AM#3
mikedogdude
You can save a unit. Use a game cache. Heres the basically how to use it:

To save a unit do these-

Game Cache - Create Game Cache (whatever name you want, use the same name on the next map)
Game Cache - Store Unit (whatever unit you want)
Game Cache - Store Integer (if you want to store the amount of gold)
Game Cache - Save Game Cache (last created game cache)

Any other real, integer, boolean, or string variables can be stored.
-Make sure you know exaclty the name, label, and category you save it as.

To load things-

Game Cache - Create Game Cache (use the same name as before)
Game Cache - Restore Unit (loads the unit)

To load other values, like a real variable for example, when you get to the real menu with all the things like "Math - Abs" "Unit - Facing angle" "Arithmetic" etc... You look under the Label "Game Cache" and load it from there.

Hope this helps.
09-12-2003, 04:57 AM#4
UltimateJim
i dont think the game cache works on b net, the gigantic set of # is the most commom way of doing it, but takes alotta time
09-12-2003, 05:04 AM#5
Draco
For now in multiplayer, you'd prolly wanna stick with a 'code'. These can be cheated pretty quick, but to make them shorter you can use 0-9 and a-z as values to take up less space.