Warcraft III resources & community, 2003–2006 · archived

Drag and Drop Systems map

not rated
Submitted by weaaddarJASS Enhanced260 downloads70 KB
Screenshot
Screenshot
A brand new test map, featuring four systems, Attributer, Bag, Pitems, and Stack Screen. Read the multiple read mes for a better understanding or just run the damn thing!
File Name
DragAndDropSys2.w3x
Author
weaaddar
Download

Comments

8
Very nice. Hope to use this for my map in the future. BTW weaaddar, left you a pm about a bug.
Then please do, I'm sure many people would love to see it.

If you could do any of the systems in this map in GUI i'm sure there'd be a great audience. (note: that with the exception of attributer, most of these use a lot of tricks to get functionality. Especially pocketshop).

Edit:
if you have any requests you can post them here too.
Reminds me of the horadric cube for when you have more items in the cube other then the recipe yet it gobbles those items up just because blizzard didn't want to do hard work and ever fix that.


it was like that for the first d2 patch they fixed it so you need absoloutly the exact recipe no more no less. Down Goes your theory.

Anyway nice spellpack
easy made item drag and drop system.
This isn't jass.
Sorry but I could do this system with the standart trigger with WE. :evil:
Okay,
This is a quirk of how SS works:
1)Items only stack when they are currently visible.
Making it otherwise, would make stack screen more then just an easily turned off system.
A quirk of the bag system:
2) Its intended that items in your bag gift you no bonuses. Its unfortunate that its the case that only visible items give you bonuses.


And finally, this isn't very hard to use, you have to understand little of how the code works but be able to edit the configuration trigger to meet the requirements of your map. The only thing that you need to fundamentally understand is the test triggers as they show how to actually use the features of the map. You'll note almost all teh test triggers are very very short, thats important because its just that easy to configure.
I LOVE IT!! but bugs...

- the potions dosn't auto-stack in the bag

-hmm i don't know if it's a bug but when you are on a page, in the bag, where ex. the circle of nobility is in u get the bonuses.
isn't it a bit strange that when you look in you bag and find a circle of nob. u get stronger, but when you have the bag on you (where the circle is in) you get no bonuses?

-

and i can't use it because i'm extreemely bad at scripting :? :cry:
Lol cute shop.. only thing that i feel is wrong is that when you try to sell a bag with an item in it it gives just the value of the bag.. which would suck if someone made that mistake.. but i hope not many ppl would do that stupid mistake anyways. Reminds me of the horadric cube for when you have more items in the cube other then the recipe yet it gobbles those items up just because blizzard didn't want to do hard work and ever fix that.
POCKET SHOP EDITION (It friggen rocks)

Included in this map is four of my systems. 
1) Atributer 1.1
2) Bag CE 2.1
3) Pitems 1.0
4) Stack Screen Alpha 1.6
5) PocketShop 1.0

All systems are fully multi-intancable, and all rely on RCCS v W, a system
consisting of basic functions, like simerror (by vexorian), and a slew of 
data structures, and my hero class. Also included is my config function,
which you must modify to the contraints of your map.

Included with each is a brief (possibly outdated) description of each, with
an up to date changelog of all the new functionality.
Here is a brief overview of each system:

Attributer is a system that allows you to manually choose what stats you get
each time you level. Its fairly simple, you enable it on a hero object, and
specify how many stats he gains per level. 

Bag CE is a system that is used for increasing the item storage capacity of
a unit. Heroes can pickup bags and drag items on to the bag to store them,
and double right click items in bags to remove them. You can set up Require-
ments for bags, so you can restrict a unit from putting "uber huge item" in
a tiny bag. You can set up multiple bag types, also you can set up bags to 
be pitems. 

Pitems is a system which allows you to pick up items when your inventory is
full, it relies on a dual node system of items called Puas and Pitems. A pua
is a powerup, that when pickedup runs through an exhaustive order of 
operations to see if you can aquire the pitem. You can sell pitems, give them
to other heroes, and even give them to non-heroes (and get an error message).
The most interesting feature though is to pick up an item when your in the
atr menu or something simmilar. Very cool.

Stack Screen is my mmo-style stacking system. You can pick up non-restricted
items and they will instantly stack. Pitems can also stack. Allowing you to
pick up more potions when your inventory is full. Stack screen also allows 
you to break a stack by double right clicking on an appropriate item when you
have a free space in your inventory. It ONLY allows you to break a stack when
you are in your main inventory.  

Pocket Shop is my portable merchant system. You can use it to buy and sell
items from your inventory pane. Selling items is just as easy as normal, 
insteading of dropping them on the physical shop, you drop them on the item
shop in your inventory. You can even set a custom return rate, as well as
the initial stock, max stock, and restock time of items sold in the shop.
The pocketshop also allows you to add requirements to summon the shop, and
to view its inventory.

Included in this map, is a test playground, only Sir Stackalot is a hero, the
firelord is not. (I just put one on the map because I never saw one before).
The flutes ARE NOT PITEMS. Only the potion, pocket shop and the bags are pitems. 

If you find an error please respond to the thread at wc3campaigns on the
systems or send me an email at weaaddar AT gmail.com. Include in your report 
what you were doing that caused the error, and also what your current state
of Sir Stackalot was by pressing left, if the error involved him of course.