Xeno Posted June 21, 2019 Share Posted June 21, 2019 **Note: This will only work properly with Kibbelz "Has item equipped" condition, which is coming for B6. I'd like to share a fishing system, that is not so basic. This system does not rely on the resource editor. First create a player switch called Fishing Spot, and two player variables: Fishing Rewards, and Fishing Counter. Then simply place an event down where you want your fishing spot to be, and create two pages. One the first page check to see if the player has the fishing rod (If so set Fishing Spot to True), and on the second set the condition to Fishing Spot = True, with an animation of your choice. I selected a bobber animation to indicate that the player is fishing: Next create a Common Event called Fishing Spot, with condition Fishing Spot = True. It will look something like this: To give a break down: First we are holding the player. Then we are saying Fishing Rewards is anything from 0 to 10. If it is 0, then the chatbox message displays: "No luck. Try again." It's then re-directed to NoCatch label. If the variable is anything but 0, then a fishing reward is given, and the message displays "You caught #x of (insert fish name)" and is then directed to the label FishCounter. Lastly, near the end you place your labels NoCatch & FishCounter like so: If you caught a fish (Fishing Rewards variable is anything but 0) then the Fishing Counter would add 1. Otherwise, the Fishing Spot is simply set to False and the player can initiate the fishing spot again. Lastly, put the id "fc" in the player variable "Fishing Counter" and display a message for players to know how many fish they caught so far. Fish Counter Common Event: You can also use images to display a timer, or put an animation above the player. Good luck!CHANCE PERCENTAGES ADD-ON  In order to create chance percentages for catching fish, first create two player variables called "Chance Percentage" & "Chance Counter" and a player switch called "Reward True?". Then create a Common Event called "Chance". I highly recommend creating this as a common event, so that you can use it in the future. Here the event is simply determining what the Chance Percentage variable is set at, and then going to the appropriate label. Then under the label math is done to get a percentage, and the switch Reward True? is set to True IF the percentage was met. In the Fishing Spot common event you'll want to determine how much the fish chance is (in this case I selected 0.001%), then run the event Chance. If the chance percentage is met, and Reward True? = True, then the fish is rewarded. If not, the message is displayed "No luck. Try again." Kibbelz, Worldofjimmy, Alexoune001 and 2 others 5 Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted June 21, 2019 Share Posted June 21, 2019 Great system buddy Xeno 1 Link to comment Share on other sites More sharing options...
Xeno Posted June 21, 2019 Author Share Posted June 21, 2019 14 minutes ago, Ainz Ooal Gown said: Great system buddy Thanks. I'm going to add chance percentages to the tutorial as well. Link to comment Share on other sites More sharing options...
Push Posted June 21, 2019 Share Posted June 21, 2019 Awesome. im excited for that "Has item equipped" condition Xeno 1 Link to comment Share on other sites More sharing options...
Xeno Posted June 21, 2019 Author Share Posted June 21, 2019 *Added chance percentages. Will update the main post.* In order to create chance percentages for catching fish, first create two player variables called "Chance Percentage" & "Chance Counter" and a player switch called "Reward True?". Then create a Common Event called "Chance". I highly recommend creating this as a common event, so that you can use it in the future. Here the event is simply determining what the Chance Percentage variable is set at, and then going to the appropriate label. Then under the label math is done to get a percentage, and the switch Reward True? is set to True IF the percentage was met. In the Fishing Spot common event you'll want to determine how much the fish chance is (in this case I selected 0.001%), then run the event Chance. If the chance percentage is met, and Reward True? = True, then the fish is rewarded. If not, the message is displayed "No luck. Try again." Zetasis 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now