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] Bestiary

For those of you getting that error does it occur when you hit new game?  Some scripts don't work when you place them in a game and reload a save file.
 
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
 
Slight glitch.  I noticed when you enter the Bestiary, the selector shows the whole width of the screen the shortens to half.  Is this a RMVX bug or a bug in your script?  I think I may have noticed it in an Inn selection once, but I'm not sure.

Also, awesome script BTW :)
 
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

They're probably there just way at the bottom.  Check the bottom of your beastiry list.  (The monsters are indexed by their database monster index).
 
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?
 
Hi Dargor
I am one Maker of Brazil

I have translated you script for portuguese language...
And also I don't have forget to give your credits in script
Because this script is 100% of you ^^

Thanks for you colaboration

Bye
See Ya
 
@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.

@Genesis
no problem.

@Gabriot
I've not been able to encounter the error you mentioned.
It works fine when loading a game.

EDIT:
I have updated the script to version 1.4.
 
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?

Look into the script and look for the section with a comment # Enemies that won't appear in the bestiary
Number 31 is the default enemy excluded from the beastiry.  You can take it out or add in others as you see fit.
 
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":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.

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.
 

R P G

Member

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.

I second that. I don't know how to use scripts and edit them so could someone show us what to add and where?
 
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) 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
 

R P G

Member

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

Where should I add this? On a separate one besides the first script you posted?
 
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.
 

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