SnowMV - Simple Gathering

● ARCHIVED · READ-ONLY
Started by Sn0wCrack 161 posts Page 5 of 9 View original ↗
  1. DarkSlayerEX said:
    I would like to know if there  is a way to set up the following mechanic..

    Antidote Herb can be picked by hand, but has a low chance of being harvested. However, with say a sickle, their harvest chance now increases, and quantity range goes up. Further, if you have a better tier harvesting tool, it increases chances and yield even more.

    I am not sure if this is a mechanic that is already doable at it's current stage, or if it might need extra functions implimented.
    It is indeed quite possible, except for the by hand effect, it's something I'm going to implement quite soon, but as of right now the Hand has 100% of harvesting resources until I adjust that. An unfortunate side affect of the new update.

    To implement this you'd just have range of tools with greater harvest rates, so your Sickle would be something like this:

    <Harvest Chance>AntidoteHerbId: 50%</Harvest Chance>And then perhaps a Diamon Sickle would have something like this:

    <Harvest Chance>AntidodeHerbId: 100%</Harvest Chance>EDIT:

    I've added functionality for the barehand harvesting to be separated as a required item, you can set the item ID in the Parameters for the plugin.

    Then add Harvest Chances as you normally would. Barehanded harvesting now works off of the harvest chances on this item as well.
  2. I was also wondering.. Is there a way to make it so that these harvesting events when respawned return back to a different state than state 1? I wanted to make the events not show up (I made sparkling animations for harvesting points) But I didn't want the player to be able to harvest until a certain point in the game.. As far as I can tell, It looks like it disables selfswitch A. Could I also make my events require a global switch and still have it work?
  3. I somehow cant break my tool. 

    added this in the notetag of my nonHand-Tool : 

    <Chance Break>

    15: 10%

    16: 30%

    17: 50%

    </Chance Break>

    <Harvest Chance Boost: 15%>

    <Harvest Chance>

    15: 35%

    16: 10%

    17: 1%

    </Harvest Chance>

    15 to 17 are ressources. The tool wont break no mater how many times i gather. Do i use the notetag wrong?
  4. Hiobs said:
    I somehow cant break my tool. 

    added this in the notetag of my nonHand-Tool : 

    <Chance Break>

    15: 10%

    16: 30%

    17: 50%

    </Chance Break>

    <Harvest Chance Boost: 15%>

    <Harvest Chance>

    15: 35%

    16: 10%

    17: 1%

    </Harvest Chance>

    15 to 17 are ressources. The tool wont break no mater how many times i gather. Do i use the notetag wrong?
    There was a little bug on my end with detecting if an item had the Chance Break properties so it would even run the code to check if the item broke or not.

    I've improved the code also, and made it so that it doesn't out put "You <ItemName> broke" twice in one message.
  5.  

    Hello Snow. I am alittle bit confused. You have 2 different versions of gathering? What's different to gathering v1 and gathering v2?
  6. Vendon said:
    Hello Snow. I am alittle bit confused. You have 2 different versions of gathering? What's different to gathering v1 and gathering v2?
    v1 is the original version of the plugin I made, its kind of clunky compared to the newer v2, however they both offer pretty different experiences.

    Here are some features distinct to the two:

    v1:

    • Requires player to have specific items to gather at an event
    • An event may require the players to use 2 or more items to harvest there
    • Harvest rates are global across all items (if one item is configured to have a success rate 100%, it will mine everything all the time)
    • Break chances are global across all items (same as above)

    v2:

    • Player may select what item they want to use before mining (including their hand, which can be disabled) via a GUI item selection screen.
    • Only one item may be used at a harvesting event.
    • The items the player can chose from are atomically selected based upon what items can be mined at the given event
    • Per item harvest and break chances (you can configure one item to break at different rates on different materials, and mine different materials at different rates)

    I'd recommend just going with v2, the reason I have v1 around is for the feature of using multiple items on a single harvest.
  7. Sn0wCrack said:
    v1 is the original version of the plugin I made, its kind of clunky compared to the newer v2, however they both offer pretty different experiences.

    Here are some features distinct to the two:

    v1:

    • Requires player to have specific items to gather at an event
    • An event may require the players to use 2 or more items to harvest there
    • Harvest rates are global across all items (if one item is configured to have a success rate 100%, it will mine everything all the time)
    • Break chances are global across all items (same as above)

    v2:

    • Player may select what item they want to use before mining (including their hand, which can be disabled) via a GUI item selection screen.
    • Only one item may be used at a harvesting event.
    • The items the player can chose from are atomically selected based upon what items can be mined at the given event
    • Per item harvest and break chances (you can configure one item to break at different rates on different materials, and mine different materials at different rates)

    I'd recommend just going with v2, the reason I have v1 around is for the feature of using multiple items on a single harvest.
    OK. That sounds really nice. You're doing a great job though =)
  8. I love this plugin so far~  I hope to find a crafting plugin as well to go along with this, for a wonderful harvest/craft system in the game I'm testing out things on.

    The v.2 of this plugin is simply amazing for my purposes. As an MMO and RPG player this satisfies many of my desires for my own RPG game. I only had one problem implementing this: I had set my pickaxe not to be usable in battle or the menu, not realizing that the harvest was indeed a menu and caused it to not allow me to use the pickaxe. Once I fixed that it worked like a charm. I'm still trying to fine tune the respawn times for my items. 

    I have one question about respawning though: Can things still respawn if you leave the map they are on or does that mess up the timer? I haven't been able to figure this out yet. I would love to be able to run from map to map harvesting, or at least if the map is left for a while and then returned to, the items will have respawned. 

    Thank you for creating this! =D
  9. Aayden said:
    I love this plugin so far~  I hope to find a crafting plugin as well to go along with this, for a wonderful harvest/craft system in the game I'm testing out things on.

    The v.2 of this plugin is simply amazing for my purposes. As an MMO and RPG player this satisfies many of my desires for my own RPG game. I only had one problem implementing this: I had set my pickaxe not to be usable in battle or the menu, not realizing that the harvest was indeed a menu and caused it to not allow me to use the pickaxe. Once I fixed that it worked like a charm. I'm still trying to fine tune the respawn times for my items. 

    I have one question about respawning though: Can things still respawn if you leave the map they are on or does that mess up the timer? I haven't been able to figure this out yet. I would love to be able to run from map to map harvesting, or at least if the map is left for a while and then returned to, the items will have respawned. 

    Thank you for creating this! =D
    Glad you enjoy the plugin.

    The respawn timer on all items continues to run in the background no matter what map you're on, however an additional hour must pass on a f you weren't on the same map as an event when the timer ticks to 0 on it. Something I can easily change, I believe I designed it this way for some purpose originally, but I don't see in any harm to change it.
  10. Hey Snow, got 2 problems /Questions

    when using plugincall like this "SnowGather [4] [5,6,7,8]" it works for me but the Success variable only triggers with the ItemID in the second bracket, wich results in i can harvest as often as i didnt dig up the first ItemID. Wouldnt it be more consistend when gatherring is successful when gather any of the Items in the Bracket? not just the first or last not sure atm.

    I want to have Tiers of Ore nodes, i thought i can do it by Plugincall like these : Tier 1  "SnowGather [1] [5,]" ; Tier 2 "SnowGather [1,2] [5,6,]" .... Tier X "SnowGather [1,2, ... ,X] [5,6,7,8]" but dosnt seem to work i can use all Tools on all Plugincalls, when using the Plugincall like this "SnowGather true [4] [5,6,7,8]" i cant get it to work always the Message not correct Harvest tool. [First bracket = tools, second = Harvestables]

    Could u please make a evenmore better Help section to the Plugincall useage? I tried much, but cant get to what i think is possible with ur Plugin. I think i dont understand the correct useage of the Commandline

    Greetings!
  11. Hiobs said:
    Hey Snow, got 2 problems /Questions

    when using plugincall like this "SnowGather [4] [5,6,7,8]" it works for me but the Success variable only triggers with the ItemID in the second bracket, wich results in i can harvest as often as i didnt dig up the first ItemID. Wouldnt it be more consistend when gatherring is successful when gather any of the Items in the Bracket? not just the first or last not sure atm.

    I want to have Tiers of Ore nodes, i thought i can do it by Plugincall like these : Tier 1  "SnowGather [1] [5,]" ; Tier 2 "SnowGather [1,2] [5,6,]" .... Tier X "SnowGather [1,2, ... ,X] [5,6,7,8]" but dosnt seem to work i can use all Tools on all Plugincalls, when using the Plugincall like this "SnowGather true [4] [5,6,7,8]" i cant get it to work always the Message not correct Harvest tool. [First bracket = tools, second = Harvestables]

    Could u please make a evenmore better Help section to the Plugincall useage? I tried much, but cant get to what i think is possible with ur Plugin. I think i dont understand the correct useage of the Commandline

    Greetings!
    You'll probably want to upgrade to the new version of the script first off (unless you really need the feature of using multiple tools at once).

    I don't quite understand what you mean by the variable being set after the first and last, the variable is set depending on the last result of the harvesting, it doesn't set it to an item id or anything, just gives you a way to interact with the result of harvesting with events.

    I'm also not sure what you want to do with Tiers of Ores to be honest.
  12. have the latest V2 ,

    i try to be more detailed.

    i have Hand and 4 pickaxes as tools

    i want diferent ore types from  copper to diamond and each higher ore should need a better tooltype

    the better tools should still be able to gather the lower ore types

    to achiev this i tried the Plugincall like this =  SnowGather [13,14,15] [ 16,17,18], means ore type 16,17,18 can be harvestet with tools 13,14,15   thing is i dosnt matter what i put into the first bracket i can always gather with all toolsID even some i didnt inserted like 20.

    first i thought i need to implement the "true" like this = Snowgather true [13,14,15] [ 16,17,18] , this always get me a message: i need better tools, but i have the all tools in my inventory

    The other "problem" i found was when Plugincall like this:" SnowGather [13] [16,17,18,19] " and 13 is my Handtool-ID to check my event.

    My Hand has 35% on HarvestID [16] and the other [17,18,19] have even less harvest chance.

    Whenever i harvest 17,18,19 but not 16, the Variable is set to 1 which is Failure. Success=0 is when i gather the ID 16. I think a success should be when i gather anything at all like 16,17,18 or 19 or any combination of them.

    At the moment Success is only on the First-ID in the Harvestable array.

    In game i wanted to disable the Orenode on Success but when i dont gather the ID16 i can harvest again and again till i get a success on ID16, that leads to many Harvestables from ID 17,18,19 thats was not my intention. 

    i know that i can circumvent this when i set Harvestchance from ID16 to 100% but then is the Option to Failure pointless. I hope this i understandable.

    greetings
  13. I don't get it.... Can you guys please help?

    Have pickaxe in item ID 1, in notetags:

    <Harvest Chance>

    21: 100%

    </Harvest Chance>

    Have wood at item ID 21, in notetags:

    <Harvest Minimum: 1>

    <Harvest Maximum: 3>

    Have event with plugin command:

    SnowGather true [21] this

    Have v2, have it ON< but just can get it to work... No messages, no harvesting, no in-game errors, nothing at all.... Why it's not working?

    Edit: I figured it out.... had MVCommons under this, instead of above.... 
  14. Hiobs said:
    have the latest V2 ,

    i try to be more detailed.

    i have Hand and 4 pickaxes as tools

    i want diferent ore types from  copper to diamond and each higher ore should need a better tooltype

    the better tools should still be able to gather the lower ore types

    to achiev this i tried the Plugincall like this =  SnowGather [13,14,15] [ 16,17,18], means ore type 16,17,18 can be harvestet with tools 13,14,15   thing is i dosnt matter what i put into the first bracket i can always gather with all toolsID even some i didnt inserted like 20.

    first i thought i need to implement the "true" like this = Snowgather true [13,14,15] [ 16,17,18] , this always get me a message: i need better tools, but i have the all tools in my inventory

    The other "problem" i found was when Plugincall like this:" SnowGather [13] [16,17,18,19] " and 13 is my Handtool-ID to check my event.

    My Hand has 35% on HarvestID [16] and the other [17,18,19] have even less harvest chance.

    Whenever i harvest 17,18,19 but not 16, the Variable is set to 1 which is Failure. Success=0 is when i gather the ID 16. I think a success should be when i gather anything at all like 16,17,18 or 19 or any combination of them.

    At the moment Success is only on the First-ID in the Harvestable array.

    In game i wanted to disable the Orenode on Success but when i dont gather the ID16 i can harvest again and again till i get a success on ID16, that leads to many Harvestables from ID 17,18,19 thats was not my intention. 

    i know that i can circumvent this when i set Harvestchance from ID16 to 100% but then is the Option to Failure pointless. I hope this i understandable.

    greetings
    If you have v2 you're doing the script call wrong.

    All that is required is true and then an array of what you want to harvest like this:

    SnowHarvest true [list of item ids]Please read the help section again as this is clearly explained there.

    The system you are describing isn't impossible, but the despawing of  items requires Orange Time System (linked in the OP),

    and in the script call a third Parameter like this:

    SnowHarvest true [list of item ids] thisAs well as setting the Parameter Manual Self Switches in the plugin options to true, then in your event all you have to do is have a conditional branch checking if the last harvest was successfully or not (checking if the variable equals 0) and then in that branch set the self switch.

    Check the plugin parameters and help section a bit more closely as quite a lot of what I just explained is in there.
  15. Very good work !

    I have a little problem. When I use a wrong tool the message don't replace %1 by the name of the good tool ?

    - If you add a parameter to modify "Please select the tool you wish to use" message, I thing it will be better for translation.

    It's easy to modify in the script but...
  16. esziaprez said:
    Very good work !

    I have a little problem. When I use a wrong tool the message don't replace %1 by the name of the good tool ?

    - If you add a parameter to modify "Please select the tool you wish to use" message, I thing it will be better for translation.

    It's easy to modify in the script but...
    You can't use %1 in the incorrect tools message as it is static, as the plugin cannot display every item that could be used on one point (as there could be hundreds if the user defined its). So it doesn't exist as it could cause issues.

    I've added the parameter to the script now, meant to, but never got around to it until now.
  17. fizzly said:
    I don't get it.... Can you guys please help?

    Have pickaxe in item ID 1, in notetags:

    <Harvest Chance>

    21: 100%

    </Harvest Chance>

    Have wood at item ID 21, in notetags:

    <Harvest Minimum: 1>

    <Harvest Maximum: 3>

    Have event with plugin command:

    SnowGather true [21] this

    Have v2, have it ON< but just can get it to work... No messages, no harvesting, no in-game errors, nothing at all.... Why it's not working?

    Edit: I figured it out.... had MVCommons under this, instead of above.... 
    I have this same issue, except my MVCommons is at the top of my plugins list.

    Pickaxe, and materials to be harvested have the proper needed tags, however running

    SnowHarvest true [201,202,203,204,205,206,207,208,209,221] this

    does not seem to work as a plugin command ..It does not update the variable either..

    If I try the same line as a script call, it errors out, saying that there is an invalid token "true"

    .....Edit: Apparently SnowHarvest is incorrect, yet remains referenced all over the place in the thread.. Correct usage, is SnowGather.. Darn.

    I would like to request an option to make the harvesting check and the item obtainment portions 2 functions, so we can add something in between. Animations, for instance.

    I also noticed that the "Hand" tool always shows up before any other items usable by the gather point, even if the item is at the bottom of the list. I would like to request making it show up last.
  18. DarkSlayerEX said:
    I would like to request an option to make the harvesting check and the item obtainment portions 2 functions, so we can add something in between. Animations, for instance.

    I also noticed that the "Hand" tool always shows up before any other items usable by the gather point, even if the item is at the bottom of the list. I would like to request making it show up last.
    Your first request would more than likely end up over complicating the plugin for most people. The bigger problem lies in segmenting them however, having them run in the same instance of the script (which is actually what happens right now) works perfectly well, but separating the two to be run at separate times would be impossible, as there is no way of checking in the second half what tool the player used in the check part to see if they've event got a tool.

    I've added an option to add the hand it the list first or last now.
  19. Sn0wCrack said:
    Your first request would more than likely end up over complicating the plugin for most people. The bigger problem lies in segmenting them however, having them run in the same instance of the script (which is actually what happens right now) works perfectly well, but separating the two to be run at separate times would be impossible, as there is no way of checking in the second half what tool the player used in the check part to see if they've event got a tool.

    I've added an option to add the hand it the list first or last now.
    A possible alternative to segmentation would be possibly making (optional) parameters that allow you to select a common event for the plugin to play when you "begin gathering" this way you can display animations and then get a results screen, while still adhering to a single script.

    If it's doable, I'd say Possibly up to 8 different harvesting common event parameters, for when people want to use different sounds/battle animations for different objects.

    Thank you for the hand placement toggle. It makes it much better, since you don't have to worry about accidentally using your hands, if you had a better tool.
  20. DarkSlayerEX said:
    A possible alternative to segmentation would be possibly making (optional) parameters that allow you to select a common event for the plugin to play when you "begin gathering" this way you can display animations and then get a results screen, while still adhering to a single script.

    If it's doable, I'd say Possibly up to 8 different harvesting common event parameters, for when people want to use different sounds/battle animations for different objects.

    Thank you for the hand placement toggle. It makes it much better, since you don't have to worry about accidentally using your hands, if you had a better tool.
    You can run any animations before the plugin command in your event if you want to, I'm unsure of when you'd actually like to see them appear, I'm assuming after the success dialogue?