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

It can be a problem but, I left a variable that wasn't supposed to be there. Try this:
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
 

R P G

Member

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.
 
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.
 

Blaz3r

Member

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).
 
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
 
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...
 
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:
 
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.
 

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