Main Menu
  • Welcome to The RPG Maker Resource Kit.

[MISSING] Bestiary v1.2b

Started by Blizzard, September 18, 2006, 01:28:36 PM

0 Members and 1 Guest are viewing this topic.

Blizzard

lol, gone
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Arrow

Say I'm using this for an action RPG. If an enemy is killed outside of the default battle system, and on the map instead, will it appear in the beastiary?

Blizzard

Include a "Call script" command when the enemy "event" disappears. Write


$game_system.enable(ID)


where ID is the ID of the enemy in the database. This will add the enemy into the bestiary if he isn´t already there. Of course this means, you have to make enemies in your database be the same as on the map.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Arrow

Thanks a lot man, I appreciate it.

subzero

I got a Syntax Error
??????"Bestiary Script'? 584????Syntax Error????????????
Please Correct it, thank you in advance  ;D



Blizzard

You haven´t copied the code correctly, there is an "end" missing.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Nightwolf

Thias script..its awsome..
There are so many poke-a-man games, this will be useful
Arlen is hot.

Kingsukasa103

When I use this and load the bestiary no text or anything is shown...whats up with that??

Blizzard

Search for the RMXP FAQ at this forum. There you will find an answer. And I should update the code and fix that... >.<
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Mirak

Marks a syntax error here
if not $game_system.beasts.include?(enemy.id))

Blizzard

Quote from: Mirak on October 10, 2006, 03:52:57 AM
Marks a syntax error here
if not $game_system.beasts.include?(enemy.id))

It should be

if not $game_system.beasts.include?(enemy.id)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

&&&&&&&&&&&&&

#11
I have too many penises in my mouth right now, it's hard to talk.
&&&&&&&&&&&&&&&&

Blizzard

Oops... >.< I forgot to add that into the instructions. Use the "Call script" event command and type

$scene = Scene_Bestiary.new
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Arrow

Say I want to make it accesible from the game menu? I've almost got it, but whenever I open the menu it opens up the script automatically. I added another option (S7) for it. How do I make it so that !. It only activates when I slect option 7 and 2. when I hit "B" it returns to the menu instead of the map?

Arrow

Double posting to get Blizzard's attention before he leaves for the day.

Blizzard

I wanted to reply yesterday, but I forgot. >.<

In the script, line 555:

      $scene = Scene_Map.new

Change it to:

      $scene = Scene_Menu.new(INDEX)

where INDEX is the choice on what the cursor should be placed when returning to the menu.

Open Scene_Menu and change

    s1 = $data_system.words.item
    s2 = $data_system.words.skill
    s3 = $data_system.words.equip
    s4 = "Status"
    s5 = "Save"
    s6 = "End Game"
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])


to

    s1 = $data_system.words.item
    s2 = $data_system.words.skill
    s3 = $data_system.words.equip
    s4 = "Status"
    s5 = "Bestiary"
    s6 = "Save"
    s7 = "End Game"
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])


Now find this part further below in the same script:

      when 4  # save
        if $game_system.save_disabled
          $game_system.se_play($data_system.buzzer_se)
          return
        end
        $game_system.se_play($data_system.decision_se)
        $scene = Scene_Save.new
      when 5  # end game
        $game_system.se_play($data_system.decision_se)
        $scene = Scene_End.new
      end


(I removed the comments.) Change it to:

      when 4  # Bestiary
        $game_system.se_play($data_system.decision_se)
        $scene = Scene_Bestiary.new
      when 5  # save
        if $game_system.save_disabled
          $game_system.se_play($data_system.buzzer_se)
          return
        end
        $game_system.se_play($data_system.decision_se)
        $scene = Scene_Save.new
      when 6  # end game
        $game_system.se_play($data_system.decision_se)
        $scene = Scene_End.new
      end


That works with anything, not just my Bestiary. You can add i.e. a Party Switcher that way or any other scene.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Arrow

Thanks a lot man! That's a big, BIG help.

Starrodkirby86

#17
Awesome script, loved the fact you can view monsters' stats. I have a question though. How do you make the events and the Hero temporaily disappear? Whenever my besitary opens, all the events (Objects and NPCs) and my hero appear over the besitary window. It annoys me a little since the event might be possibly be blocking some of the text. I would like to know any way of making them disappear (As I said earlier). Thanks!

Blizzard

You can the window's opacity with ENTER/SPACE. Tell me if the problem is still there.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Starrodkirby86

Quote from: Blizzard on October 17, 2006, 08:13:08 AM
You can the window's opacity with ENTER/SPACE. Tell me if the problem is still there.
I tried your Opacity option on the besitary, and the events still block the text. I'll show you an example:

As you can see, the NPC is blocking the name and the pawn is blocking the HP. Please tell me what to do from here.

Blizzard

Find these lines:

    get_enemies
    @bestiary_size_now = @enemies.size
    refresh


put a self.z = 10000 under them, so it looks like this here:

    get_enemies
    @bestiary_size_now = @enemies.size
    refresh
    self.z = 10000


That should do it.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Starrodkirby86

Thank you! It works now!!!  ;D

oneray

#22
Sorry guys but I am a complete noob. I copied and pasted the script before and main and...nothing happened. I also have the detect ability but the window just ends being blank. Please don't tell me to read the configuration cause i have no idea what to do. Please help me. :(

Starrodkirby86

Quote from: oneray on October 25, 2006, 08:53:22 PM
Sorry guys but I am a complete noob. I copied and pasted the script before and main and...nothing happened. I also have the detect ability but the window just ends being blank. Please don't tell me to read the configuration cause i have no idea what to do. Please help me. :(
Did you create an event (Whether common event or not) that has the Call Script command containing $scene = Scene_Bestiary.new?
If you did not, that is why you cannot open it. Also, the way I corrected the blank words and stuff was when I got a CMS script (Blizzard's). I don't know how to correct it w/out using the CMS script.

oneray

#24
No, i just took the script and stuck it right above main. What i am trying to say is that when battling, i don't know how to activate bestiary