• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help with making an item system

Status
Not open for further replies.
Level 10
Joined
Apr 9, 2004
Messages
502
I'm working on an item system for my aos in progress and i need some help with making the system.

Here's basically what i'm trying to create:

It's a system that allows you to equip multiple types of items, but only a limited amount of each type.

Most items that are combat related (armor and melee weapons as well as ranged weapons) will have a custom value which will be known as durability. This will let you know the number of attacks your weapon has before it loses it's effect, and has to be repaired. (this can be done by checking charges).

Bow heroes use arrows whcih they run out of (they have low attacks but arrows give higher bonuses at lower cost to replace but run out quicker)

Now eahc time you deal or take damage, it removes 1 weapon\armor point, and when you have 0 armor points, your weapon will lose it's bonuses.

Now that's pretty much all i need help on. I'm just wondering how i should approach this so that i don't get problems with the charges or with multiinstance ability and what i could do to lower space used for all the items?

Just to add, i'd make each slot special for a one type of item (would automatically move the correct item to such a slot).

Any ideas on how i could accomplish this as effectively as possible with the use of roughly 15 base items (weapons/armor/arrows) and then 30 other perma items and 10 or so perishables.
 
Level 6
Joined
Dec 13, 2004
Messages
320
Let me just start by saying: Muahahahahahaha!!!! cough splutter don't remember eating that.

Ok. I tried to make an item system as well, set items like in Diablo II. Well let me tell you those were some very interesting months and I only had to do 8 sets of 5 items. I actually have five versions of each of the items that increase in power, the ring in each set doesn't get more powerful, one for each number of the set collected. Grand total: 168 items, plus 45 abilities plus triggers for when they are dropped, picked up and picked up for the first time.

I don't think there is an easy way to do anything with items. Although that was on 1.16 things might have changed since then.

From my experience I suggest you get a different item for 0 durability with out abilities and just swap them over when necessary.

Oh, and one last thing before you hit this mountain head on: Good Luck!
 
Level 10
Joined
Apr 9, 2004
Messages
502
Hmmm could perhaps post some example triggers for switching items and allowing only one item of each type and so on? I really don't have much expericence with item triggers is all, so i don't really know how to even set this up (since they don't act like units and whatnot)
 
Status
Not open for further replies.
Top