Resource icon

In-Game Bestiary 1.0

Author
Massapequa
Downloads
64
Views
955
First release
Last update
Rating
5.00 star(s) 2 ratings
No permission to download Join the discussion

More resources from Massapequa

In-Game Bestiary

A simply UI that acts as a catalogue for the various creatures you can encounter in your world!
It can be accessed with the player-level command "[bestiary"

Each entry details some lore behind each creature
The script comes pre-loaded with 126 entries of the most common creatures found in UO.
It's also super easy to update with your own creatures.

bestiary1_by_massapequa_dguyjcc-414w-2x.jpg


This does NOT the creature's stats or skills, it's just for flavor and story telling purposes.
Most of the lore for these entries were collected from www.uoguide.com.
A few were copied from sources like Wikipedia or made up by me.

Entry Examples:
bestiary2_by_massapequa_dguykul-fullview.jpg


bestiary3_by_massapequa_dguyl5u-fullview.jpg


Adding Entries:
There's 3 locations you'll have to edit to add your own entry.

Go into Bestiary.cs and find these lines:
Code:
        static Bestiary()
        {
            _Entries = new BestiaryEntry[126];
Don't forget to change that number (126) to reflect the total number of entries you've added when you're done.

At the bottom of the entries list, add your own entry:
example:
Code:
            _Entries[126] = new     MyCustomCreatureEntry();

Then, under that, find the list of entries that looks like this:
Code:
        public static BestiaryEntry ArcticOgreLordEntry
        {
            get
            {
                return _Entries[0];
            }
        }
Go to the bottom of the list and add your own:
Code:
        public static BestiaryEntry MyCustomCreatureEntry
        {
            get
            {
                return _Entries[126];
            }
        }

Finally, scroll down to the bottom of the script and add your creature's information.
Right below the last entry, add your own:
Code:
    public class MyCustomCreature : BestiaryEntry
    {
        public override string Name { get { return "My Custom Creature"; } }
        public override int BodyID { get { return *bodyvalue here*; } }
        public override Type CreatureType { get { return Type.Beast; } } // types include Abyssal, Beast, Elemental, Fey, Humanoid, Monster, or Undead
        public override string Description { get { return "Your description here."; } }
    }

In your Entry, you can either use your creature's BodyID, which will be looked u in teh shrink table,
or you can use:
Code:
        public override int ItemID { get { return *any ItemID here*; } }
To put any item in place of where the small icon of the monster will go.

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back