Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Zexion on January 12, 2014, 11:34:16 pm

Title: Charset Z fix
Post by: Zexion on January 12, 2014, 11:34:16 pm
Does anyone know how to fix this?
Spoiler: ShowHide
(http://imagizer.imageshack.us/v2/800x600q90/40/s2ql.png)

I remember there being a script to fix this problem...
Title: Re: Charset Z fix
Post by: LiTTleDRAgo on January 13, 2014, 05:37:44 am
#==============================================================================
# ** Game_Character
#------------------------------------------------------------------------------
#  This class deals with characters. It's used as a superclass for the
#  Game_Player and Game_Event classes.
#==============================================================================
class Game_Character
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :always_below
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias_method :drg3211_screen_z, :screen_z
  #--------------------------------------------------------------------------
  # * Get Screen Z-Coordinates
  #--------------------------------------------------------------------------
  def screen_z(*args)
    return 0 if @always_below
    return drg3211_screen_z(*args)
  end
end


$game_map.events[1].always_below = true/false
$game_player.always_below = true/false
Title: Re: Charset Z fix
Post by: KK20 on January 13, 2014, 07:53:43 pm
Quote from: Zexion on January 12, 2014, 11:34:16 pm
I remember there being a script to fix this problem...

Quote from: Tons of Add-Ons
Event Z-Index Controller (render events flat and change their Z-Index)
Title: Re: Charset Z fix
Post by: Zexion on January 13, 2014, 08:28:30 pm
thanks you guys :) will try it out soon!