Author Topic: [XP] Bestiary  (Read 37493 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] Bestiary
« on: January 10, 2008, 12:11:16 AM »
Bestiary
Authors: Blizzard
Version: 2.4
Type: Enemy Catalogue Display
Key Term: Player / Party / Troop Add-on

Introduction

This script will allow your characters to retrieve information about enemies during battle and show them in a window. It also has built-in compatibility for my "Advanced Analyze System" script and allows adding enemies to it only if enemies were analyzed at least once. This script can easily be used for Pokémon typed games.

This work is licensed under BSD License 2.0:
Quote
Copyright (c) Boris "Blizzard" Mikić
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1.  Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.

2.  Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.

3.  Neither the name of the copyright holder nor the names of its contributors
    may be used to endorse or promote products derived from this software
    without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

You may use this script for both non-commercial and commercial products without limitations as long as you fulfill the conditions presented by the above license. The "complete" way to give credit is to include the license somewhere in your product (e.g. in the credits screen), but a "simple" way is also acceptable. The "simple" way to give credit is as follows:
Quote
Bestiary licensed under BSD License 2.0, Copyright (c) Boris "Blizzard" Mikić

Alternatively, if your font doesn't support diacritic characters, you may use this variant:
Quote
Bestiary licensed under BSD License 2.0, Copyright (c) Boris "Blizzard" Mikic

In general other similar variants are allowed as long as it is clear who the creator is (e.g. "Bestiary created by Blizzard" is acceptable). But if possible, prefer to use one of the two variants listed above.

If you fail to give credit and/or claim that this work was created by you, this may result in legal action and/or payment of damages even though this work is free of charge to use normally.


Features

  • display of full data of enemies
  • option to disable different information
  • integrated support for my "Advanced Analyze System"
  • press SHIFT/ENTER to change the appearance of the Bestiary window
  • use LEFT/RIGHT/UP/DOWN to navigate through the information database
v1.1b
  • bugs fixed
v1.2b
  • improved coding (uses less RAM now and processes faster)
v1.3b
  • increased compatibility
v2.0b
  • completely overworked and fixed compatibility issues
v2.1b
  • added custom info possibility
v2.2b
  • rewritten conditions using classic syntax to avoid RGSS conditioning bug
  • added SORT_BEASTS option
  • improved coding
v2.21b
  • improved coding
v2.3b
  • improved coding
v2.4
  • added new license
  • added usage and crediting instructions


Screenshots

(click to show/hide)

Demo

Bestiary

Script

Just make a new script above main and paste this code into it.
Script Download

Instructions

Inside the script in the first comment.

Compatibility

98% compatible with SDK v1.x. 70% compatible with SDK v2.x. May cause incompatibility issues with exotic CBS-es. WILL corrupt your old savegames.

Credits and Thanks

  • Boris "Blizzard" Mikić

Author's Notes

You MUST configure the script if you have scripts that use dummy elements! Do NOT give your enemies MORE than 11 elements/status effects of one resistance type (e.g. 12 or more elements, that are absorbed), because they won´t be displayed.

If you find any bugs, please report them here:
http://forum.chaos-project.com

That's it! N-Joy! =D
« Last Edit: March 23, 2019, 01:19:13 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline diablosbud

  • Awakened Visionist
  • **
  • Posts: 73
  • LV: 1
    • View Profile
Re: [XP] Bestiary
« Reply #1 on: April 05, 2008, 05:50:59 PM »
Hey Blizzard I was wondering if you could please make a call script call that will allow me to add enemies to the bestiary, this will help majorly for compatibility with ABSs. So you use the call script and in the call script somewhere is the enemy's ID that you would like to add. If you could please do this I would be gratful, thank you for reading this post.

Offline Sase

  • Transcended Spirit
  • ***
  • Posts: 174
  • LV: 5
  • Gender: Male
    • View Profile
Re: [XP] Bestiary
« Reply #2 on: April 05, 2008, 05:57:49 PM »
I'm pretty out but isn't it something like $game_system.beasts.push(id)

Offline diablosbud

  • Awakened Visionist
  • **
  • Posts: 73
  • LV: 1
    • View Profile
Re: [XP] Bestiary
« Reply #3 on: April 05, 2008, 06:04:33 PM »
Thanks for the quick reply but it didn't work, but no error, wierd. Here is what I put as a call script "$game_system.beasts.push(29)", i'm not sure but I don't think there is one. That's why I asked. Thanks for trying though ;).

NVM it worked, with $game_system.add_beast(enemy.id) you have to take the 's' off of beasts.
« Last Edit: April 05, 2008, 06:28:10 PM by diablosbud »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Bestiary
« Reply #4 on: April 05, 2008, 07:38:35 PM »
Yeah, I did make an extra command. ^_^
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Exiled_by_choise

  • Trained Member
  • *
  • Posts: 44
  • LV: 0
    • View Profile
Re: [XP] Bestiary
« Reply #5 on: January 09, 2009, 03:49:10 AM »
Hi I'm using this script and I wanted to no if someone could adapt your script so that when the buttom was pressed to open the beastiary it was done in the script instead of having an event on every page that would controll it.

thanx if you can.   :) :) :)

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3281
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] Bestiary
« Reply #6 on: January 09, 2009, 04:05:31 AM »
Do you want the Bestiary to be launched on the Menu instead of using an event? That's the only thing I can pick out of it...

Try going for these posts:
http://forum.chaos-project.com/index.php?topic=115.msg26363#msg26363
For this link, just replace everything that says RO Skill/System with Beastiary.

Here's another post with that information.
http://forum.chaos-project.com/index.php?topic=164.0

Use both. :)

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Bestiary
« Reply #7 on: April 08, 2009, 10:10:02 AM »
v2.21b is up. After about 2 years. xD
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Bestiary
« Reply #8 on: April 12, 2009, 07:28:15 PM »
Do you think or help me by making this work with animated battlers. What line(s) would I edit so I could divide the battlers bitmap width and height?

Please help!

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] Bestiary
« Reply #9 on: April 12, 2009, 09:26:53 PM »
Just splice the code from the add-on into this script. It's not hard.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Bestiary
« Reply #10 on: April 12, 2009, 09:45:24 PM »
No not the tons of add ons the actual RTAB or whatever sideview animated battlers.
It has 11 poses each pose has 4 frames. Not the one from tons of add ons.

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] Bestiary
« Reply #11 on: April 12, 2009, 09:51:25 PM »
Hmm.

So.

Find the code from the battle system.

Splice it in.

Done.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Bestiary
« Reply #12 on: July 28, 2009, 09:28:19 PM »
Update to v2.3b.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Gary The Duck

  • Guest
Re: [XP] Bestiary
« Reply #13 on: September 08, 2009, 03:59:16 PM »
It says "Bestiary Is Empty" even if I've batteld a monster. :(

Offline Jackolas

  • Ethereal Devastator
  • ****
  • Posts: 499
  • LV: 31
  • Gender: Male
  • Its just me
    • View Profile
    • My Clan
Re: [XP] Bestiary
« Reply #14 on: September 08, 2009, 04:01:58 PM »
probably a other script is messing with it..
make sure you have the right order
http://forum.chaos-project.com/index.php?topic=23.0
« Last Edit: September 08, 2009, 04:03:28 PM by Jackolas »

Gary The Duck

  • Guest
Re: [XP] Bestiary
« Reply #15 on: September 08, 2009, 04:35:00 PM »
probably a other script is messing with it..
make sure you have the right order
http://forum.chaos-project.com/index.php?topic=23.0
Thank you! I just got a little problem and that's becuse I'm using a animated sideviewbattle system. http://i29.tinypic.com/34ou97s.jpg

Offline Holyrapid

  • Astral Trancist
  • *****
  • Posts: 749
  • LV: 0
  • Gender: Male
  • Credit to FreshL on Deviantart
    • View Profile
    • My new Youtube channel!
Re: [XP] Bestiary
« Reply #16 on: October 16, 2009, 12:26:22 PM »
Hey, i hope this isn´t necroing, but i want to know, can i add enemies to the bestiary,when they´re killed, if i use BABS? I mean, you wouldn´t analyze, but add them to it once they´ve been killed. If i´m not clear enough, tell me what you need to know more specific.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20013
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Bestiary
« Reply #17 on: October 16, 2009, 01:11:09 PM »
Hey Blizzard I was wondering if you could please make a call script call that will allow me to add enemies to the bestiary, this will help majorly for compatibility with ABSs. So you use the call script and in the call script somewhere is the enemy's ID that you would like to add. If you could please do this I would be gratful, thank you for reading this post.

Thanks for the quick reply but it didn't work, but no error, wierd. Here is what I put as a call script "$game_system.beasts.push(29)", i'm not sure but I don't think there is one. That's why I asked. Thanks for trying though ;).

NVM it worked, with $game_system.add_beast(enemy.id) you have to take the 's' off of beasts.

And no problem about the necro.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Holyrapid

  • Astral Trancist
  • *****
  • Posts: 749
  • LV: 0
  • Gender: Male
  • Credit to FreshL on Deviantart
    • View Profile
    • My new Youtube channel!
Re: [XP] Bestiary
« Reply #18 on: October 16, 2009, 09:27:06 PM »
thanks. this is great... now to figure out how to add the option to mog´s menu...
Anyway thanks, and congrats on the level record of 300

Offline Kett Shee

  • Badass
  • Astral Trancist
  • *****
  • Posts: 579
  • LV: 23
  • Gender: Male
  • Stay Zen.
    • View Profile
Re: [XP] Bestiary
« Reply #19 on: January 30, 2010, 08:47:32 PM »
wow...this is a really good bestiary script. Really a must have(if i do say so myself).
You're all daft cunts. I love you. <3