Warcraft III resources & community, 2003–2006 · archived

Drag & Drop Object Oriented Backpack

4.47 / 5 (17)
Submitted by weaaddarSystems2,031 downloads32 KB
Screenshot
Screenshot
A cool little tech demo using game cache made objects

Now features an attributer
File Name
bagdemo.w3x
Author
weaaddar
Download

Comments

42
Okay, sure you can just move it to a real ability of some sort, but how exactly do you plan to add items to the bag? You can't exactly drag items on to the pane of the unit command card.

If you didn't figure it out yet, I intercept the order for the item to swap places with the bag. I remove the item in question. Simple, also stop talking about this old version look at the new ones there a lot, well better written.
Heya weaaddar, big fan of your work, just awsome ^_^, simply love this backpack system, it just plain rocks. Though i have a question, is it at all possible to make that exact same thing, only- instead of the backpack being an actual item itself, to be made from a spell? For instance, could i make a backpack icon and put it in an ability block beside the Patrol Command Icon, and actively use it from there? Its just that, with the limited inventory blizz gives us, well, you know =(
:( i cant import it into my map i did what you said how to import it :( but still dosent work :( i sooooooooo much want this in my map :cry:
hurray for deprecation!
Check out the new alpha releases which are more stable then this edition!
The developer version is if you are a coder
The consumer edition is if you are not really.
bravo! 10./10
easy to use simple to import 10/10
Superbly done. This is definitely one of the better inv systems, if not the best. Keep up the excellent work weaaddar.

P.S. Hey, what are these letters burned on my ass?!
excellent work
++++++ :twisted:
any way to mix this with advance triggers? :D
You see, people need to learn to read or fallow multiple threads on teh same spell. I made this a very long time ago, as an addition to my DT4a system. Unfortuantly, due to the fact that both systems were composite in nature they were incompatible. (That and I'm pretty sure the original versions had overlapping function names). DT4a solved the problem of items being the forebearers of bonuses. I created an equipment system (Most oftenly this is referred to as DT4a, but DT4a is the test map which includes the attributer and the equip script) that would allow you to equip items without taking up space in your physical inventory. Allowing you 5 permanant items that NEVER left you. This would solve the problem with bonuses as you were never really meant to put permanant items in it. Anyway, I've lost interest in the cause to unite the two, as most people mock my efforts on code purity and sanity of method, and I don't really have the time to get in to it again.
Vexorian, it seemed just odd that when you opened a backpack, the hit points and mana of the hero got changed, since item attribute bonuses etc. vanished. And the hero gained bonuses of the items that were in the backpack! Of course, I realize that it may be impossible to develop a more reasonable, and easy-to-use, backpack into WarCraft.

In summary, this is probably about as good as a backpack gets in WarCraft. I don't find dialogs an elegant solution, and the Diablo 2 -style backpack requires lots of effort with custom items. Just if the cancel button were undroppable and item bonuses were retained, and I might consider using this myself...
Actually, this is a much more recent work compared to my DialogTest 4 advance which had the attribute since Janaury. As far as why I keep it composite is for ease of development.
Janne : Why do you think it shouldn't occur? it is a back pack if you want it to keep bonuses you need his dialog test
um i cant get it to work... i followed all the directions, and still nothing... :cry:
This seems a very nice way of implementing additional inventory space. However, I wonder why the bag's cancel button is a droppable item (well, you can drag it around but not drop) while the other buttons are not. Also, I run into a problem that the hero loses his/her item bonuses as soon as the bag is opened and gains the bonuses from the items in the bag, which shouldn't occur. Is there any way to work around this?
Director's choice , because of being multiplayer compatible and user friendly
Hey, u guys want a REALLY good inventory 'spell.' check out what this guy did.
http://www.wc3sear.ch/?p=Spells&ID=339
i guarentee u that you'll love it.

^this link broke...

Weaaddar you might want to take a look at this http://www.wc3sear.ch/?p=Spells&ID=350
its like your whole attributer idea stolen and it doesn't have the ability to add any amount of stats you want...
Another thing is it adds 2 points when you add to a stat... these two things make yours still better lol.
He also added a health attribute which is not as well balanced. :wink:
Hmm... please DL that:
http://www.xgm.ru/wc3/files.php?do=getfile&fileid=54
That's very old(2002) bag made by my friend.
Somehow it's very similar to weaddar's one...
I can't extract the files...
Hey, u guys want a REALLY good inventory 'spell.' check out what this guy did.
http://www.wc3sear.ch/?p=Spells&ID=339
i guarentee u that you'll love it.
woops i had advanced triggers on with it thats why i had 10436 errors
i only want backpack but i did delete test but i still get errors i even copied the units hey can u just make map with backpack only and 256 sized map plz
lol u could just use the new map editor and resize this map
Here is how you get it to work with other maps first download the latest beta.
http://weaaddar.wc3campaigns.com/bag3a.w3x
Then copy the categories from this map to the other map. Then copy all code found in the custom script section to the custom script section of your map.

Save your map. You are very likely to get an error. Close the worldeditor. Reopen the map and save again. You should now get no errors. Now you just have to set up the pointers for all the ids and stuff and you are all set to have this in your map.

DO NOT COPY THE BOTTOM CATEGORY IN THE MAP. IT IS NOT NEEDED IT IS THE SAMPLE TRIGGER AND PROBABLY WILL NOT JIVE CORRECTLY WITH YOUR MAP. IF YOU DO COPY IT COPY IT AS A DISABLED TRIGGER.
this spell is very cool, but it works only in original map, if you copy it to other maps it doesnt work, everytime you try to save your own map there is an error caused by the script.
yea
you guys are using patch 1.15, right?
Yeah I seem to have the same problem.
hey weaaddar i tried your other version (beta) and it still dosent work :cry: i think there is some kind of bug cuz when ever i save it said that it expected a name or trigger or function all these different stuff but all i know is there is got to be something wrong please do something :evil:
i can't get this to work, it gives me code errors when i try to save. PLEASE HELP
Try the beta version of the latest release here:
http://weaaddar.wc3campaigns.com/bag2.w3x
DUDE A forge IS ALOT COOLER then the DIABLO 2 SHIT! its so EQ style... very awesome! if you ever make it,,, and i ever get around to making an eq map We must talk! :D :D
Why don't you look down a post.

As far as the main reason si that if you tried dragginga backpack in a backpack it would cause a diasaster to say the least.
very nice work.
So is it possible to use 2 backpacks?
Two backpacks are something you'd have to code. In theory its possible, but then again so are alot of things. Theres alot of messy complications with it, that I don't like, and since It can probably be made unlimited with no real hitch, I see no reason not to just increase inventory size, then try to use two.
What if we want 2 backpacks?
DT5 will feature some sort of transmuting feature which will add a modifier to an item, but I don't know how I'm doing it currently. I think its going to be that I create a new object around a unit called a forge that can take take some items and create something from a recipe list.
that's amazing!... i might use that : ) Don't worry, i'll guve you credit
This is awesome but i think a awesome idea would be to also have a transmute button in the bag that combines different items to create one sick item... :twisted: Sorta like Diablo2. Then this would be the best triggering ever.
The coolest thing since sliced bread!
If you are using the standard support for zip from xp it considers . before a folder to be a hidden folder so you'll have to have it enable showing of hidden files. Anyway I swear i uploaded a w3x so blame darky not me on this regard its his site which did it.
the zip appears to be empty