Jump to content

Help! Script call for: Bush effect

Recommended Posts

Is there a way to enable/desable bush effect?

bush effect is inside:  database/tilesets/

I dont use tilesets but parallax picture as a map.. so i cant call it properly with terrain tag.. and i need a script

Share this post

Link to post
Share on other sites

Honestly I have not used parallax mapping very much, but I was under the impression tilesets were still used just with blank images. Admittedly though it can be a pain to edit maps that way, so I can see why people would avoid that. Unless you made a script that let some tilemaps clear bitmaps in game I guess. Don't you need to use a tileset for terrain tags anyway? Or do you actually mean regions? People seem to mix those two things up a lot really. I can see how using regions to mark solid/special parts of a map would probobly be preferred to fiddling with blank images I guess.


Anyway, if you want it, here is a little script to let a region act like a bush:


class Game_Map
  BUSH_REGION = 8 # Change to whatever region number you want
  alias_method :bush_base?, :bush?
  def bush?(x, y)
    return true if bush_base?(x, y)
    valid?(x, y) && (region_id(x, y) == BUSH_REGION)


Haven't really tested it, but it should work?



Edited by Kayzee

Share this post

Link to post
Share on other sites

Oh thanx so much for your try.. !!! :D

But unfortunately i have errors..


A region call as you tried with your code would be nice..

But i dont care... all i need is a script to enable it.. and a script to disable it..


Share this post

Link to post
Share on other sites

Oh wait, you are using MV arn't you? Ooops sorry, I really only know how to do it in VX Ace, so I can't help for MV at all. :( Sorry about that.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.