View Single Post
  #1  
Old 04-23-2016, 07:32 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default 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;
__________________
Reply With Quote