RPG Maker Forums

So I'am using this script here
Code:
=begin

 Picture Below Characters Ace
 by Woratana
 Port by PK8
 Created: 2/22/2009
 Ported: 4/25/2012
 Modified: 4/25/2012
 ──────────────────────────────────────────────────────────────────────────────
 ■ Table of Contents
   ○ Introduction & Description                    - Line 17-18
   ○ Features                                      - Line 20-22
   ○ Methods Aliased                               - Line 24-26
   ○ Thanks                                        - Line 28-29
   ○ Changelog                                     - Line 31-33
 ──────────────────────────────────────────────────────────────────────────────
 ■ Introduction & Description
   Show pictures above the tiles but underneath the characters on the map.
 ──────────────────────────────────────────────────────────────────────────────
 ■ Features
   o Set which pictures would appear under the characters.
   o The selected pictures will appear above tiles but below characters.
 ──────────────────────────────────────────────────────────────────────────────
 ■ Methods Aliased
   o Spriteset_Map.create_pictures
   o Sprite_Picture.update
 ──────────────────────────────────────────────────────────────────────────────
 ■ Thanks
   Woratana for making the script this was ported from.
 ──────────────────────────────────────────────────────────────────────────────
 ■ Changelog (MM/DD/YYYY)
   v1    (2/22/2009) - Initial release.
   v1 Ace(4/25/2012) - Ported to Ace.

=end

#===============================================================================
# * Configuration
#===============================================================================
module Picture_Below
  ID_From = 15  # Set from which picture IDs will appear under the characters.
  ID_To   = 20  # Set which picture ID this stops at.
end

#==============================================================================
# ** Spriteset_Map
#------------------------------------------------------------------------------
#  This class brings together map screen sprites, tilemaps, etc.
#  It's used within the Scene_Map class.
#==============================================================================

class Spriteset_Map
  #---------------------------------------------------------------------------
  # * Alias Listings
  #---------------------------------------------------------------------------
  unless method_defined?(:wora_picbelow_create_pictures)
    alias_method(:wora_picbelow_create_pictures, :create_pictures)
  end
  #--------------------------------------------------------------------------
  # * Create Picture Sprite
  #--------------------------------------------------------------------------
  def create_pictures
    wora_picbelow_create_pictures
    for i in Picture_Below::ID_From..Picture_Below::ID_To
      # Create picture below player in viewport1.
      @picture_sprites[i] = Sprite_Picture.new(@viewport1,
        $game_map.screen.pictures[i])
    end
  end
end

#==============================================================================
# ** Sprite_Picture
#------------------------------------------------------------------------------
#  This sprite is used to display the picture.It observes the Game_Character
#  class and automatically changes sprite conditions.
#==============================================================================

class Sprite_Picture < Sprite
  #---------------------------------------------------------------------------
  # * Alias Listings
  #---------------------------------------------------------------------------
  unless method_defined?(:wora_picbelow_update)
    alias_method(:wora_picbelow_update, :update)
  end
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  def update
    wora_picbelow_update
    self.z = $game_player.screen_z - 1 if (@picture.number >=
      Picture_Below::ID_From and @picture.number <= Picture_Below::ID_To)
  end
end
It works fine but it has a weird thing it'll only apply "show the picture"
if you start from the map that has the effect.
If you go into another room it'll go away and if you walk back into
a map with the effect applied it'll hide the picture for some reason.
Can someone please help me?

I'am also using mogs picture effect script

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top