Ryuzaki":1iqlpy7b said:
I got the same problem
Ryuzaki":1iqlpy7b said:
krudtso":2ixshr8t said:Do'h I forgot about that. Thx. But does this script only support the RTp monsters, because i encountered 2 monsters a made-my-self monster and a slime but only the slime was indexed
krudtso":2njifbmy said:Hmmm... i tested it a little further and it seems like all other custom monsters are indexed other than one. I have 39 monsters, and it show 38 spots in the bestiary. Nr. 31 dosn't seem to work, can this have anything to do with other custom scripts?
Dargor":1ep3twu6 said:@krudtso
It's because enemy 31 is included in the Excluded_Enemies array. Every monsters of from the database will be added to the bestiary unless you specify otherwise with this array.
psymastr":18selkfb said:Is there a way for this script once closed to return to the menu, as I use this in a CMS and I would like to return to the menu at exit.
#==============================================================================
# ** Custom Commands - Bestiary
#------------------------------------------------------------------------------
# © Dargor, 2008
# 25/05/08
# Requested by reikei
#==============================================================================
# Vocabulary
Vocab::Bestiary = 'Bestiary'
#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
# This class performs the menu screen processing.
#==============================================================================
class Scene_Menu < Scene_Base
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias dargor_vx_cmcbestiary_menu_create_command_window create_command_window
alias dargor_vx_cmcbestiary_menu_update_command_selection update_command_selection
#--------------------------------------------------------------------------
# * Create Command Window
#--------------------------------------------------------------------------
def create_command_window
commands = $game_system.menu_commands
index = commands.index(Vocab::save)
$game_system.add_menu_command(index, Vocab::Bestiary) if $game_system.menu_party_changer
dargor_vx_cmcbestiary_menu_create_command_window
end
#--------------------------------------------------------------------------
# * Update Command Selection
#--------------------------------------------------------------------------
def update_command_selection
dargor_vx_cmcbestiary_menu_update_command_selection
command = @command_window.selection
if Input.trigger?(Input::C)
Sound.play_decision
case @command_window.selection
when Vocab::Bestiary
$scene = Scene_Bestiary.new(true)
end
end
end
end
#==============================================================================
# ** Scene_Bestiary
#------------------------------------------------------------------------------
# This class performs the bestiary screen processing.
#==============================================================================
class Scene_Bestiary < Scene_Base
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias dargor_vx_cmcbestiary_update_list_selection update_list_selection
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize(from_menu=false)
@from_menu = from_menu
end
#--------------------------------------------------------------------------
# * Update List Selection
#--------------------------------------------------------------------------
def update_list_selection
if Input.trigger?(Input::B)
Sound.play_cancel
if @from_menu
index = $game_system.menu_commands.index(Vocab::Bestiary)
$scene = Scene_Menu.new(index)
else
$scene = Scene_Map.new
end
return
end
dargor_vx_cmcbestiary_update_list_selection
end
end
Dargor":5l2ivy7h said:Code:#============================================================================== # ** Custom Commands - Bestiary #------------------------------------------------------------------------------ # © Dargor, 2008 # 25/05/08 # Requested by reikei #============================================================================== # Vocabulary Vocab::Bestiary = 'Bestiary' #============================================================================== # ** Scene_Menu #------------------------------------------------------------------------------ # This class performs the menu screen processing. #============================================================================== class Scene_Menu < Scene_Base #-------------------------------------------------------------------------- # * Alias Listing #-------------------------------------------------------------------------- alias dargor_vx_cmcbestiary_menu_create_command_window create_command_window alias dargor_vx_cmcbestiary_menu_update_command_selection update_command_selection #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window commands = $game_system.menu_commands index = commands.index(Vocab::save) $game_system.add_menu_command(index, Vocab::Bestiary) dargor_vx_cmcbestiary_menu_create_command_window end #-------------------------------------------------------------------------- # * Update Command Selection #-------------------------------------------------------------------------- def update_command_selection dargor_vx_cmcbestiary_menu_update_command_selection command = @command_window.selection if Input.trigger?(Input::C) Sound.play_decision case @command_window.selection when Vocab::Bestiary $scene = Scene_Bestiary.new(true) end end end end #============================================================================== # ** Scene_Bestiary #------------------------------------------------------------------------------ # This class performs the bestiary screen processing. #============================================================================== class Scene_Bestiary < Scene_Base #-------------------------------------------------------------------------- # * Alias Listing #-------------------------------------------------------------------------- alias dargor_vx_cmcbestiary_update_list_selection update_list_selection #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize(from_menu=false) @from_menu = from_menu end #-------------------------------------------------------------------------- # * Update List Selection #-------------------------------------------------------------------------- def update_list_selection if Input.trigger?(Input::B) Sound.play_cancel if @from_menu index = $game_system.menu_commands.index(Vocab::Bestiary) $scene = Scene_Menu.new(index) else $scene = Scene_Map.new end return end dargor_vx_cmcbestiary_update_list_selection end end