Warcraft III resources & community, 2003–2006 · archived

New Bag Ability v2.1

not rated
Submitted by 3.26lySystems559 downloads60 KB
Screenshot
Screenshot
Nondescript
File Name
NewBagAbilityv2.1.w3x
Author
3.26ly
Download

Comments

17
Alright guys, Thank you for the so many downloads and it is good to see they are after the last versions, sry if some have download the very first with few but serious bugs, now here is the minor thing that won't be a problem for you:

If you decide to drop an item off the bag to the ground, when you close the bag to see your items out of the bag, in the inventory, the dropped items might still go from the ground back into the bag. Repeat the dropping of the items off your bag again and the 2nd time will remain on the ground. For this action exactly you might need to do it every 2nd time but dont worry there is no way you will lose an item, no way and changing the slots won't make you lose, i just disposed of such serious bugs. I already explained why a bag cannot be opened if it is already in 1 bag, weaaddar's system also doesnt allow this because this is realistic, you cant open bags in a bag. If you want to use items with stats, the stats cannot be displayed if they are in the bag and the bag isnt opened, like weaaddar's this cannot be done,want to use the item with stats, get it off the bag or leave the bag opened, the stats item must be in the inventory box (inside the bag or out of it) to add the stats.

That's why this is not perfect but i hope is good and has nothing more to be done. Thank you again.
actually you can do that, just have items with no abilities and add the abilities to the unit when he aquires item
I checked the so worshipped weaaddar's system with JASS and in his ability i saw that an item with stats put in the bag, the stats also disappear,

http://www.wc3campaigns.net/showthread.php?t=84088
http://www.wc3campaigns.net/showthread.php?t=85909



Pity you cant check the abilities an item has, and add abilities to other items.

But yeah, I get what your saying.
Ive noticed a bug, if you have an item in a bag that gives you a stat boost, you wont get it when you close the bag, and the same for if you have an item in your main inventory and then you open a bag you dont get the boost.


I checked the so worshipped weaaddar's system with JASS and in his ability i saw that an item with stats put in the bag, the stats also disappear, only if the bag is opened, you see the item in there and the stats appear again. My bag isnt made an item to be directly put in a bag, you have to 'open' it and if you put an item with stats in an opened bag but dont close the bag, the stats will remain. Same is his, if the item in the opened bag gives stats, close the bag and when the item is inside the bag, stats will disappear. This is what the bag abilities are based on and keeping that is not possible. Keeping not but if you want i can offer you:

To the trigger: Unit acquires item
C: Item being manip = blue bag opened
Add actions: if unit has item of type Claws of attack + 12, then add ability (attack bonus +12) to your unit. You have to do this for all items you might acquire and all their abilities so somwehere If/Then/Action someitmes If/Then/Else/Mupltiple actions. I think that is crazy and since a pro made bag like wedders also doesnt do that - you see the triggers and JASS cant do that.

And that elmininates this bug as it is np for item with stats to have the ability if only out of the bag, this is alos like an equipment.

I dont know how to make it like him items to go in the bag when an item is clicked on the bag.

I appreaciate a lot that i have so many donwloads and im sry that the 1st 120 downloads were on the very 1st version where tehre were more than 1 bugs, now it has sometething VERY small -the need to open and close the bag for an item to remain on the ground, when you try 1 item all will be dropped but you can put the rest items back in there.

New Bag Ability v2.10

-Fixed a Bug where a bag moved to another slot insantly drops

New Bag Ability v2.00

- Limited the useage of only 1 bag in the inventory as part of an equipment. Bug with moving an item from one slot to another and the bag instantly drops.
- Bug Fixed to 80% as an item needs to be dropped

New Bag Ability v1.00

- Bug with more than one bag carried found
- Bug with items unable to remain on the ground when dropped and laways remaining in the bag.
- Removed bag abilities that are inside 1 bag.
Ok, maybe Brilliant was the wrong word.

Its a step in the right direction. Its cool that its all done in GUI.
No it's not brilliant when it has bugs like these, it sucks. The spell sux. I didnt even see these bugs so good catch, I'll see what i can do later.
Ive noticed a bug, if you have an item in a bag that gives you a stat boost, you wont get it when you close the bag, and the same for if you have an item in your main inventory and then you open a bag you dont get the boost.

Can you fix this bug?

Other than that, brilliant system.

Oh, another bug, if you click to move what slot the bag is in and click another item in your bag (To swap positions) then you drop the bag.
You can hold 2 bags if the 1 is inside the other. You cant hold 2 bags at the same time in the inventory because consider the inventory as an equipment. How can you equip 2 bags at the asme time? Thats the idea. Im even not going to let a hero hold in the inventory i.e in the 'equipment' a black and blue bag at the same time. But as shown on the pic you can fill your bag inside with as many bags as you want.

Bug 2: 80% Fixed
Something very minor. If you take an item and put it in the opened bag,then you drop this item from the opened bag, then when you close the bag, the item will insantly move from the ground to the bag. Open the bag again and the items will be there, close the bag and this time the items will drop and will remain at your feet and wont go back to the bag so you can do whatever you want. This weird thing is the bug but it is small as the ability works. If you drop 1 item and you have 5 items in the bag all 5 will drop but when you pick them 1 by one they will alos remain in the bag. This is the way to release items off the bag. Afterall items remain. it requires the mentioned 'drop and open' to make an item stay on the ground after dropped. Tell me is this a serious thing as you can do what you want it just requires this drop-open?I am out of ideas now and as you can see it is working but needs to be dropped more than once to make the items stay on the ground not jump back in the bag. This is smth very minor to me.


After you see this post, Fixed Map: Resubmitted
You can try this 2nd minor bug and tell me what you think.
how is not being able to carry two blue bags more realistic?
Bug 1: Fixed
Actually i limited the owning of a blue bag or black bag to only 1 per type (you can blue and black but you cant 2 blues). More realistic now. (Map will resubmitted if i fix bug 2 or cant do it), or i will post the thing you need to limit the blue bag or black to not more than 1 in the inventory. All items remain 'in the bag' so you dont get a 2nd same bag and the items in the one ur holding are in the bag. Ok a hero cant use 2 same bags but can a blue bag be put inside a bag even though 2 bags cant be at the same time ? -Answer is yes, you can put a blue bag in blue bag with no abilities ofc (no items in bag that is in bag) but should you try to have 2 blue bags separately (not 1 inside other) you wont be able to hold 2 of them. Thats made on more realistic purpose.

Bug 2: Not Fixed

1 Animation problem
you should fix the "1." problem with multiply bags of same type
I Have a fix to your first bug. all you need to do is copy the stuff for the bags so theres 2 Different types of blue bags but there entirely identical But the items from another bag wont copy over because its not the same bag.

Also sometimes items dissapear when picking them up the method you used may only support items that you say it can pick up not all of them.
GUI means graphical user interface, basicly "triggers" is the graphical user interface for JASS
I dont work with GUI and i havent worked with JASS too, this is all pure triggers. Yeah now i saw his also nice. But imo (havent checked yet) importing his might cause trouble and errors. I know as a creation his is better. This here is easy to import.

Some already said they cant import the texts so they might find this easy to import. But have the 2 minor bugs in mind.
This isn't bad for GUI. Doing this in JASS is much better because you can do much more. I would recommend you take a look at weaaddar's system. It is roughly the same thing but I dont mean to insult, but its better. His is completely in JASS and uses Handles, which if you had a GUI Handles version of the world editor you could have made yours much better.

4/5 for being all GUI
Ok i saw many 'weird' imo bag abilities where they either dont save the charges or smth else is wrong. Well i decided to make it on my own. This stores items as shown on the screenshot. What this gives you, you CANNOT lose items from bad triggers because the triggers are made without such things to occur.

You can put a bag in the bag but you cant use a bag that is already in the bag. This is made on purpose – 1stly it is more realistic, you cant have another space just because you put bags in bag, and 2nd) it solves bug issues not to have smth like these bugs.

2 Minor Bugs found! And im pissed off to think again as i couldnt even solve them, 2 days working on 1 stupid spell, im mad at it:

1. If you take 2 items of the same type, like 2 blue bags (but there is no bug for blue and black bag) and if you put an item inside 1 of them, then you close it and then you open the other blue bag, the same item will appear as they use the same item type. The item just moves from 1 bag to another when opened.

2. When you want to drop an item from an opened bag, when you close the bag, from time to time the item may go from the ground back into the bag. In order to drop the item and the item to remain on the ground make a 'closing of the bag' without the item you want to drop and then it will remain on the ground.

IF someone wants to fix these 2 minor bugs, i dont mind but then send the map to me and i will reload it with the name of the contributor for the fixed things ofc.