• 🏆 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!

Save/Load codes GUI database

Status
Not open for further replies.
Level 10
Joined
Nov 24, 2010
Messages
546
Hello everyone

There are 18 playable heroes

I am requestin Save/Load codes
it should save:
-hero lvl (max 20)
- hero attributes (agi,str,int) (max 100 by each)
-gold (max 10 000)
-lumber (max 1000)
-items in Inventory + 1 unit with 6 slot inventory too ( hero + 1 "Bank" unit)
-hero xp


No need to save:
- dont need hero spells
- dont need hero position (make it load at starting position)
- dont need to save quests


+rep and special credits
for creator :)
Item types saved:
-permanent
-charged
-artifact
-campaing
-purchaseable


Power up and Misc are not needed to be saved

It dont metter if it is Jass/GUI/anything
it just need to have save database in GUI (items saved/hero types saved/etc)

if you need additional informations about map, PM me or post here.

For the database, i mean something like this

Units = heroes
Loots = items saved

Just to know what i mean under "Database"
 
Last edited:

Deleted member 177737

D

Deleted member 177737

Check out the spells section, there are a few save/load systems there.
 
Level 31
Joined
Jul 10, 2007
Messages
6,306
For this, you need to include some more information-

Max hero strength, agility, and intelligence.

Number of items usable by each hero (if all heroes can use all items, just give item total).
Number of possible second units (the extra one you were speaking of)
Number of items that can be used by those second units

Do any of the items have item charges? If so which items?

A complete list of all item ids.
A complete list of all hero ids
A complete list of all second unit ids
How much gold do you want to save?
How much lumber do you want to save?
Max hero level



If you have hero specific items or charged items, then a person can use Encoder to fulfill your request =).



For item ids, be sure to list which heroes can use them.
 
Level 10
Joined
Nov 24, 2010
Messages
546
Ok, still not enough information.


You forgot a few things.


A list of all of the unit type ids for heroes and item type ids for items as well as what items can be equipped by what hero and those items max charges (even if max charge is 0).

There are no charges for any saveable items
Well why do you need IDs for heroes? and how can i get it? i never worked with it before.
Oh and you mean maximum saveable items? or maximum wearable items at 1 time :p
I dont understand everything since im not from english speaking country
 
Level 31
Joined
Jul 10, 2007
Messages
6,306
Go to object editor and hit CTRL+D to collect ids. The left side will be the id. Just include id and name (like the hero name). Don't care about the right side (after the colon).


For each item, say which heroes can use it. If all heroes can use all items, just say that instead.


Professional save/load requires a lot of info : p
 
Level 10
Joined
Nov 24, 2010
Messages
546
Okay but not every hero is so far done
Does ID change when i add/remove ability, change description of hero etc?
all heroes can use all items, but i have made allready "Not for your class" system. There you registry each item and when hero picks item not for his class it will be simply dropped.
 
Status
Not open for further replies.
Top