EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Custom Beastlords. (https://www.eqemulator.org/forums/showthread.php?t=40592)

Figback65 04-23-2016 07:32 PM

Custom Beastlords.
 
Decided to make some custom beastlords. I have done this with NPCs for events and for player races.

races.h
Code:

#define CLOCKWORK_GNOME 88 //gnome bst
#define ALLIGATOR                91
#define EYE_OF_ZOMM                108
#define WOLF_ELEMENTAL        120
#define INVISIBLE_MAN        127
#define IKSAR                        128
#define VAHSHIR                        130
#define MOSQUITO        134 //froglok BST

pets.cpp
Code:

                case GNOME:
                        if (GetGender() == 0) // male
                        {
                                npc_type->race = CLOCKWORK_GNOME;
                                npc_type->gender = 1;
                                npc_type->size *= 1.0f;
                        }
                        if (GetGender() == 1) // female
                        {
                                npc_type->race = CLOCKWORK_GNOME;
                                npc_type->gender = 0;
                                npc_type->size *= 1.0f;
                        }
                        break;
                case FROGLOK:
                        npc_type->race = MOSQUITO;
                        npc_type->size *= 0.5f;
                        break;



All times are GMT -4. The time now is 07:28 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.