| 08-21-2002, 01:58 PM | #1 |
I finished my bag item *does a little victory dance* Now theres 1 step left before its clean enough to be given to the public cutting down varaibles absurdly. And figuring out how to make the item stick in slot 1. |
| 08-21-2002, 02:37 PM | #2 |
Guest | Nice weeaddar :) ... I can't wait for it............................................. Will it be useable on B.net? (I'm sounding like a n00b :p) Apoc - A dumbshit :D |
| 08-21-2002, 09:01 PM | #3 |
That's nice to hear. Is there a section yet where we can put such stuff like your bag? I think it's an item and several triggers that must be included into the map, so will you just release a sample map with the bag included or what? |
| 08-22-2002, 02:51 AM | #4 |
Right now its a very messy treiteret of triggers. It is only 2 but it uses a whopping 11 variables to get its effect!! I use a potion of speed as my bag activator (which castes summon rock golem which a trigger elimanates summon unit). Which launches a dialog menu that allows you to store/Restore. Unfortuantly short of compiling my own list there is No way to get the string name of the item. So its just know your stuff :/ Currently my demo map has diablo like stat atribution. I'm gonna try cutting down those 11 variables into the varaibles used in the other dialog (that too was about 9 or 10 vars before I cut it down). Also does anyone have a small rpg (perferably a 64x64 or a 96x96 map) That they wouldn't mind me implmenting my stat point system and my bag into it? Note: The bag is pure jass I plan to basicly paste the code into 2 different code segments which you can copy and paste into your map. |
| 08-22-2002, 05:18 AM | #5 |
1 more victory I was able to delete 10 varaibles today!!! Soon you only need 3 varaibles and the ability to copy paste to add it to your map. |
| 08-22-2002, 12:34 PM | #6 |
I am eager to see how you can count the healing wards in an item slot. If you have 3 healing wards, cast one, put the item showing 2 in the bag and get it back from the bag showing the 2 healing wards not 3. That's interesting. Did you do it? And if you did, what is the function to find out how many healing wards are in the slot? :confused: |
| 08-22-2002, 02:18 PM | #7 |
Guest | hehe stat distribution, i did that too for my map recently :) Its a really nice system using stat distribution points, dialog menus, and a req of stat points per stat increase pending on char. I was going to make an inventory cycling through 10 spots rather than store/restore so its a bit more simple :) But storing/restore is something I can't wait to see! Youll be a hero among rpg makers with a 3 variable store/restore system! |
| 08-22-2002, 05:50 PM | #8 |
**** i didn't even think of what you mentioned super ;/ My guess is you'd probably have to create 3 versions 1 with 3 1 with 2 1 with 1...Or else people might exploit it as a bug. |
| 08-22-2002, 06:26 PM | #9 |
i will put your bag/stat system into my map |
| 08-22-2002, 06:31 PM | #10 | |
Quote:
:( What a pity. For I was searching the solution for this problem for a while now. |
| 08-22-2002, 07:42 PM | #11 |
well my method doesn't actually store items, but rather item type if you stored item itself. (I.e. moved it to some hidden never seen location) Then my bag method could in theory store items and remember amounts. But Since I chose item type I was able to hitch on to my integer array and just add more entries. |
| 08-22-2002, 11:36 PM | #12 |
Guest | Hmm, I'm not completely sure what you mean...what I was going to do for cycling/storing items was to create 9 locations (yeah i guess this part of it isnt efficient). With these 9 locations, an item is stored, or its empty, waiting for something to be stored. You click on something in your 6th slot to cycle through these locations and when that location is chosen, it will move that item onto your char and put the other item in the location before it...example : 5th slot = cycle slot. 6th slot = to cycle. 5th slot shows inventory01. click on 6th slot, move item from inventory01 to location item01, give item to hero thats in location inventory02 to display the second inventory slot. Problem with this method is that you cant show multiple items so it would be hard to manipulate items efficiently. Maybe I could make this system and get feedback? :) |
| 08-23-2002, 12:41 AM | #13 |
Guest | hmm after playing with triggers, i cant seem to get items to stick to certain slots so my method cant be done... |
| 08-23-2002, 01:55 AM | #14 |
it is indeed an issue i even tried the ones that gu posted in his trigger script the best you can hope for is place it in slot 1. then give each item 1 by 1 in specific order of placement. |
| 08-23-2002, 05:47 PM | #15 |
Okay GU says it works and I don't doubt him but now the question is if you click restore item from slot 4 should it move it to slot 4 or should it just prop it in the first open slot. |
