Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[vx] no bush tiles

RMVX automatically sets bush flags on certain tiles, making the lower third of the sprite semi-transparent when he walks on them.

I would like this removed, so they're treated as normal tiles. Probably a quick script edit for most of you guys, and I'm sure it will come in handy for plenty of people who make their own tiles.

Thanks. :)
 
You don't need a script.
In addition, characters whose file names start with a "!" will not be affected by the translucency effect.
Taken from the help file, under Resource Specifications to be more precise.

That's very useful!

Take care!
-Dargor

EDIT:

Alternatively, if you don't want to put that "!" in every character files you have, I've wrote this little piece of code.
Code:
#==============================================================================
# ** Game_Character
#------------------------------------------------------------------------------
#  This class deals with characters. It's used as a superclass of the
# Game_Player and Game_Event classes.
#==============================================================================

class Game_Character
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :enable_bush
  attr_accessor :bush_depth
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_character_bush_initialize initialize
  alias dargor_vx_character_bush_update_bush_depth update_bush_depth
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    dargor_vx_character_bush_initialize
    @enable_bush = false
  end
  #--------------------------------------------------------------------------
  # * Update Bush Depth
  #--------------------------------------------------------------------------
  def update_bush_depth
    if @enable_bush
      dargor_vx_character_bush_update_bush_depth
    end
  end
end

Simply change the @enable_bush flag to toogle the effect. I also added complete control over the bush depth. :)

Hope you like it!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top