[VX] Bestiary

Alright sorry for the double post but it's not letting me edit my posts.....

I'm using the biography script (shouldn't cause any troubles) Equipment skill script, Tentaki Sideview script with all of Kylock's add-ons, Multiple Party script, and advanced text script (and also the variable math fix).

I have the Beastiry before the tentaki script, could that cause a problem perhaps? 
Dargor wrote:
@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.


Great It works and I was just wondering how to exclude bosses this fixes it all!
@Gabriot
The Tankentai CBS might be the problem. This script overwrites a lot of methods in Scene_Battle. Try putting the bestiary script bellow the CBS.
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.
psymastr wrote:
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.


I second that. I don't know how to use scripts and edit them so could someone show us what to add and where?
Bestiary Menu Command Spoiler
#==============================================================================
# ** 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
Expand to see the code.
Dargor wrote:
Bestiary Menu Command Spoiler
#==============================================================================
# ** 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
Expand to see the code.



Where should I add this? On a separate one besides the first script you posted?
Just bellow the bestiary script.
It brings up this error message:

http://img390.imageshack.us/img390/5035/error2io2.png[/img]

And I have the two scripts together too:

http://img378.imageshack.us/img378/8779/script3ez9.png[/img]

Sorry for bothering you so much and thanks for helping.
It's because this script requires my custom commands script.
Just place the Custom Commands script above these 2 scripts and everything should be ok.
Alright I did that and then this message came up:

http://img375.imageshack.us/img375/7883/error2iz6.png[/img]

Sorry I forgot to mention, I have a Custom Menu System and not the default one if that's the factor...
It can be a problem but, I left a variable that wasn't supposed to be there. Try this:
Bestiary Menu Command Spoiler
#==============================================================================
# ** 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
Expand to see the code.
Hey it worked this time thanks a lot! I appreciate your help very much. There was a very tiny problem but I won't bother you with it. As long as it brought you back to the main menu screen, i'm fine with it.
Wow this is a good script
Does this work with crissagerim abs version 1.3
that the enemies register on the beastairy
No, simply because it's an ABS and this script was meant to work with the DBS.
I can make it compatible with it, it should be only a minor edit.
dargor could you please make it compitable with the abs
I received an error Window_Selectable line 35, failed to create bitmap.
Yo Dragor. Can you Edit it to use with Crissaegrim ABS?
there are no errors, but even i beat hundrets of enemies, there not appear in bestiary.
I think there is a possibleness. But i don't know how to do it ^^
(I hope you can do it).
it's done, I just need to upload it. It will be done this weekend.
Great ^^ i'll be wait :P
ok! Version 1.5 is out and it's now compatible with Crissaegrim ABS!
I've added an option in the Bestiary customization module, Use_ABS. Set this variable to true ONLY if you are using the ABS. If you're not using it and the variable is set to true, you'll get an error.

Take care!
-Dargor
Great work Dagor xD
thanx xD
Dargor, as you can see that I am new to this forum, but I have a request to you.
the version of Bestiary compatible with the Crissaegrim ABS, is perfect ...

it would be possible to create another version compatible with another ABS called PR ABS?

http://img253.imageshack.us/img253/1750 ... hotrr1.png[/img]
http://img253.imageshack.us/img253/8910 ... iw6fh2.png[/img]

You can make the download the demo here...

http://img210.imageshack.us/img210/6903/btwt8.png[/img]

Thank you for your attention, I hope that you can not only help me but also help many other people

Any doubt will be the provision...
Sorry for me english...
No problem. It shouldn't be harder than for the other ABS.
Dargor, Some news regarding the adjustment to the "PRABS" is possible?

My project is depending on this adjustment to take the System Bestiary included.

Thank you for your attention already provided...  :thumb:
I didn't had the time to work on it. I'll update the post with the updated script as soon as possible ;)
I have a problem...
line 199, undefined method 'kill_enemy' for class 'game event'
This keeps popping up.
It's probably because the Use_ABS constant, in the configuration module, is set to true. Simply set it to false.
Erm, where do I put $scene = Scene_Bestiary.new exactly?  Is it possible to make a common event so I can call it up using a book or item of some sort?

Also:
line 58, undefined method 'update_list_selection' for class 'Scene_Bestiary'
This popped up with the Menu Command List thing.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=47559