| 06-09-2006, 06:02 PM | #1 |
EDIT: UPLOADED A FIXED VERSION THIS IS SAFE TO DL! This is the latest and greatest in my new series of demo maps. Included is the pocket shop system a fully functional merchant that fits in the units inventory. Here is the readme for all the systems: Code:
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 [email protected]. 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. |
| 06-09-2006, 09:41 PM | #2 | |
Aprooved. All right, why is the Stack Screen still on alpha? seems pretty stable to me. The pocket shop is awesome although it is kind of weird to have a shop in your hands and still pay for the things, the best thing is that you can get rid of all the problems and limitations you can find with real shops. In fact, I think I am shamelessly gonna clone it and add it to InvX because InvX seriously needs an alternative to shops due to all the problems caused by them. The only little problem is gonna be to require a new item to be able to sell items. ouch. I figured out InvX sucks I will have to do some updates if only WE worked better on this machine. Quote:
|
| 06-09-2006, 09:45 PM | #3 |
Ooooo. Cool. |
| 06-10-2006, 12:43 AM | #4 |
As far as planned features, I would like to add a confirmation menu that would show how much gold and lumber you'd get for selling items, Blade said he feels it'd be best only because an acident can be very costly. (i.e. the uber sword selling it for 20000 gold means nothing if you can never get another). Imatation is a form of flatter. This is a system I've wanted to build but never really could figure out the mechanics of it. It reminds me of Darky's Alchemy spell which was brokenly powerful in my opinion, but incredibly useful. I like the notion of being able to buffs and healing in the heat of battle. Paying 25 more for a potion is well worth it if it saves me from a costly resurrection. I also like the currency exchange in the palm of your hands. As far as another version of an item? To make an item which is physical (i.e. not powerup) requires 3 items to be sold in the pocket shop. As far as why stack screen is alpha.. I'm still not a 100% satisfied with the system. (it works but it feels off) And I like sticking with names. Why is DT4a A4 named Dialog Test Four Advanced alpha four? When it features no dialogs? Is over two years old and has gone through countless builds. Edit: The item is magical. It summons the shop to your hand, you don't physically posess the items. Thats why they all say Purchase (or I have no better way of doing it other then spellbooks which are shit anyway). edit2: A funny quirk if you look at the top right when zoomed in you'll see a sheep in out of bound land. |
| 06-11-2006, 01:55 AM | #5 |
You rock man :P:P |
| 07-11-2006, 12:03 AM | #6 |
I put it in my map and it didn't work Im having trouble doing so... |
| 07-23-2006, 10:14 PM | #7 |
Is it possible to make: You got a shop, you can add items, you cant buy from it, but others can |
| 07-25-2006, 10:10 PM | #8 |
I'm not sure I understand. You want to make the pocketshop a vendor? Where by you place Items in to the pocket shop, and then its populated to other players if they'd like to purchase it. It's very possible, the problem comes with displaying the value you seek. Unless you want the pawn price of the item, there really is no way to get a price to be shown. |
| 11-12-2006, 04:44 AM | #9 |
Hi, it seems that when using this system, the neutral hostile player no longer treats the human player as an enemy. any idea what's going on?? and how I would fix it? edit: I've tried adding an action to explicitly do this on map initialization but it doesn't help either... Player - Make Neutral Hostile treat Player 1 (Red) as an Enemy |
| 05-02-2007, 08:30 PM | #10 |
I am having difficulty getting this to work ( Mind ya I'm a JASS nub ), I copied every ability, every trigger for the bag and stacking system, modified the config, but for some reason the system still doesnt work. Could it possibly be the fact that I'm using other JASS codes and vars? |
| 05-03-2007, 02:45 AM | #11 |
define "doesn't work" |
| 05-03-2007, 11:37 AM | #12 |
well, when I try to save, it will say that the triggers have compiled 1200 errors, and this like with the stuff I havent messed with, only the config was the only trigger I modified, so it would have the right units and abilities set. O, and I also have that RCCS .v W thing on there too. |
| 05-03-2007, 01:14 PM | #13 |
Well it would help me help you if you tell me what the first error is and the lines nearby the "error line" You may also get NewGen Pack / WEHelper since they are better at giving Jass syntax errors. |
| 05-04-2007, 02:18 AM | #14 |
I tried it, very neat. Few questions: 1. I don't know if it's an error or a flaw or something, but when I put the Alleria's Flute of Accuracies in the bag then opened the bag, their effects were on? And I believe at the same time, the items in the hero's original inventory don't get counted as bonuses when the bag's inventory is shown? 2. I don't want all of the systems in my map. To be specific, what I really would like is the stacking system you made(gave me the most O_o). Do I need to import all of the systems in order to just use one? That sounds like a might waste of space. Maybe it was just me, but I don't think the documentation noted anything about the stacking system needing any other system within the testmap. Am I right or wrong? |
| 05-08-2007, 01:20 AM | #15 |
Vexorian, I downloaded your Jass New Gen Pack to see if it could help identify these errors clearly, but for some reason when I save the game under the New Gen World Editor, the jasshelper will say something like " Hold on, errors were found " and the loading bar will reach about 95% then it will freeze and I have ctrl+alt+delete. As for what the first error says, "Expect a name" and it has the "if(udg_obj==null)then" part highlighted in the "config" trigger. After that line, it shows an error called "Expected a variable name" on the line that says "set udg_obj=InitGameCache("obj.w3v")" Then there are about 1211 more errors, but naming them all would be a pain lol. (Unless you really need those 1211 O_o) |
