Chaos Project

RPG Maker => Event Systems => Topic started by: InfinateX on August 11, 2011, 03:07:24 am

Title: Monster Fishing
Post by: InfinateX on August 11, 2011, 03:07:24 am
The fishing system used in my game! Hope you enjoy. This isn't difficult and it equires editing to be used. No scripts are required to use this event!

Spoiler: ShowHide
(http://i1085.photobucket.com/albums/j426/RPGMakerVX52/MonsterFishingEvent.png)
Title: Re: Monster Fishing
Post by: Blizzard on August 11, 2011, 05:02:54 am
*puts picture into spoiler*
If you explain the system a little bit, this can be moved into the database.
Title: Re: Monster Fishing
Post by: InfinateX on August 13, 2011, 12:38:08 pm
Oh okay! I thought the picture was enough :S
Title: Re: Monster Fishing
Post by: jailuis on August 15, 2011, 08:37:47 am
Umm I was checking the hole thing and i was wondering something xD

1) Wouldn't it be better to use a Common Event?
2) As the system is right now, wouldn't the character be able to fish even on normal ground?? Or are you supposed copy the event and paste it around the water tiles?

Guess that's all for now ^^
Title: Re: Monster Fishing
Post by: InfinateX on August 15, 2011, 05:53:32 pm
1) It can be a common event if you want
2) You would only put it on water tile o.0
Title: Re: Monster Fishing
Post by: jailuis on August 16, 2011, 07:15:59 am
Yeah  imagined that x3 Oh, and by the way, it isnt something hard to figure out or imagine xD But the same system you used up there could also be used for some sort of Digging/Tresure Hunting system *Guess it would be the same, just that it wouldn't use Bait and the item would be a Shovel, not a Fishing Rod. Could make a fun minigame ^^*

--Of course, the digging system would also require a graphic change and an extra page, so when you dig, you can't dig the same place twice.
Title: Re: Monster Fishing
Post by: InfinateX on August 17, 2011, 04:54:42 am
I can make that right now for you ^o^
Title: Re: Monster Fishing
Post by: Boba Fett Link on August 20, 2011, 03:40:09 pm
To turn this into a common event you'd need a way to check if there is water in front of the player, right?

I believe I've seen a short script that does that. However, I have no idea where I found it. I've googled it before but haven't found it.

I remember it was called fishing/swimming starter kit or something like that, and I found it when I was looking for a swimming script...
Title: Re: Monster Fishing
Post by: G_G on August 20, 2011, 10:13:20 pm
Someone was requesting a fishing event system I believe and helped them out. You need to set the water terrain tag to 1 or something. Make sure water only has this one. Then you have to do directional checks for the player.
if player up
  if $game_map.terrain_tag($game_player.x, $game_player.y - 1) == 1
    event here
  end
end

And so on.
For up you subtract 1 from y, down you add 1 to y.
Left you subtract 1 from x, right you add 1 to x
Title: Re: Monster Fishing
Post by: InfinateX on August 22, 2011, 02:06:47 am
you can always launch a common event from a normal event :D
Title: Re: Monster Fishing
Post by: AngryPacman on August 22, 2011, 04:53:15 am
That's far too tedious. G_g's way of doing it is way simpler. But I don't think he explained it quite thoroughly. I mean, he gave instructions, but not everyone would know what he means.
if player up
  Script: if $game_player.terrain_tag($game_player.x, $game_player.y - 1) == 1
    Jump to label: Fishing event
  Branch end
else
  if player down
    Script: if $game_player.terrain_tag($game_player.x, $game_player.y + 1) == 1
      Jump to label: Fishing event
    Branch end
  else
    if player left
      Script: if $game_player.terrain_tag($game_player.x - 1, $game_player.y) == 1
        Jump to label: Fishing event
      Branch end
    else
      if player right      This one is slightly unnecessary, you could leave out this branch and just have the rest as follows.
        Script: if $game_player.terrain_tag($game_player.x + 1, $game_player.y) == 1
          Jump to label: Fishing event
        Branch end
      Branch end
    Branch end
  Branch end
Branch end
Exit Event Processing
Label: Fishing event
-normal event-
And, that's that.

And to be a bit more specific, make sure you set your water's terrain to 1, and put the above event in a Parallel Process event. ~ G_G
You know someone was going to ask, just felt like editing your post. ;3
Thanks for clarifying, bud. It was going to happen indeed.
Title: Re: Monster Fishing
Post by: InfinateX on October 26, 2011, 10:10:40 pm
While reading the posts I realized you could use simple variables if it were a Common Event.