Fishing System

Juliano

New Member
Reaction score
8
I'm making a RPG map, there's a proffession that I would like to add : fishing skill....


I don't have much Ideas, but I want that when you use a item(fishing rod), if you are in a shallow water tile, you have a X% chance to catch a type of fish, a Y% chance to catch another type of fish...etc, if you're not in shallow water, you'll receive a message saying "You must be on shallow water to use a fishing rod" or something like that....


Well, if anyone can teach me how to do this, write a trigger or something that can help here...

Thanks
 
M

mc117

Guest
well, i can't figure out the entire trigger right now, but for the % chances, you could simply have it choose a random integer between 1 and 100, and if it is 1-50 you get this fish, 51-75 you a rarer fish, 76-85 even rarer, etc
 
X

X-rjs23

Guest
Okay, ill try to help you. Just give me a time to figure out to do this. This is a hard problem for me.
 
X

X-rjs23

Guest
Okay there you go, it takes only 1 trigger with two vairable to do this. Im sure this trigger have no memory leaks so it shouldnt be a problem in online.


IN game, u'll find a treasure(Its a fishing rod item)

What u need to do is pick up that item and cast it on shallow water. you have like 18% chance of capturing fish (4 different fishes)

Heres the upload map below here. Download it
 

Attachments

  • Fishing.w3x
    18.3 KB · Views: 109

Juliano

New Member
Reaction score
8
Thanks thats useful, I need only to give a item to triggering unit equal to the fish eh?


It prevents the user to fish on dirt?Grass or any other non-water tile?



Thanks!
 
X

X-rjs23

Guest
I need only to give a item to triggering unit equal to the fish eh?

you mean like how to give an item to an unit trhough trigger?


It prevents the user to fish on dirt?Grass or any other non-water tile?

Yea, if you create region in water or away from non-water tile. I think there is no way to tell if they fish on dirt or in water specificly unless you use region condition type.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top