I've never touched WoW because I know how damn good Blizzard are.
Honestly I don't really care if they take old concepts, because if Blizzard releases something, it IS good. They know by now that they can't risk their reputation of releasing nothing but good stuff, and if something isn't good enough they simply won't release it.
I'm not blindly defending Blizzard here, but it is simply logic really. They have people testing their games, and if they don't like it, Blizzard WILL do something about it. Also for the record, I personally think Starcraft and Warcraft 3 are the best games they've made, after all, Blizzard has been into RTS for a very long time.
Second, have an always event that sets all these values to zero. Thats very important.
Curious, would this be to always have the equipment mods current? If so, it's an interesting way of doing it. In the past I've done it so that equipping gear added set values to the player's stats, and unequipping an item subtracted those same set values from the player's stats. Cool to see a different slant on the same idea.
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
Originally Posted by Pixelthief The problem with adding to player data just *once* when equipping an item is you gotta subtract it again when u remove it, and that gets really complicated.
Oh god yes, extremely. Especially using MMF where you can't have variable arrays like Weapon(X,1) or Item(X,5). I mean I know you have your array object and all (which I use, it's cool) but it's just not as helpful as the ways I was used to before. Object arrays were my #1 programming friend for a lot of my older RPG games.
For Equin 3 (project was unfinished, basically after I made the inventory system- took about a month) I used a lot of spare string objects to temporarily store data, which had to be saved / loaded everytime the player went into the inventory screen. It then took the names of all this and put them into an off-screen list object (for the auto sort feature), and then filled in all the display texts that way. When the player clicked on an item's name, another check was made to display the correct icon of that item, along with what the mods were. The adding to stat / subtracting from stat was done for the equip and remove, and some other stuff to finish it off. REALLY complicated, and I'm sure it wasn't the "best" way, but the thing is it 100% works. It supported carrying 14 items in your backpack (list format) and space for 6 types of equipped gear (helm, armor, shield, weapon, gloves, boots). It had checks so you couldn't equip a shield if you had a 2-handed weapon on and etc too. Maybe one day I'll release the source since I doubt I'll ever finish it. The thing is, it kind of has the little tricks I learned from my VB days which I'm kind of protective of since it took me so long to figure out from years of trial and error with other games.
EDIT: Here we go, an old screenshot of what I'm talking about
Edited by the Author.
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
The "Tetris-like inventory" is pretty much pointless IMHO. It doesn't make the game any better. It's like the "feature" where you get limited ammo. You'll have more trouble sorting out your inventory and it's harder to code and you'll have a bunch of blank spaces where you don't have anything to put stuff in.
It's only good if you're purposely trying to limit them from picking up stuff, like keeping them from looting armor from corpses. It looks cool, but doesn't go much more beyond that.
Might want to think about it before you spend a few days on it. I've spent too much of my noob years creating engines that never got used
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
I v made a diablo style inventory bout a year ago, but i abandoned that project, only thing i did right was that inventory.
Best bet use array and fast loop.