PDA

View Full Version : Woodelf bsty


knight-mare
06-23-2015, 03:12 PM
so as on live they now have woodelf bsty... i was also looking at doing this...

however i wanted to know if its possible to give WE bsty its own pet race as other bstys are set-up

i know bsty pets are in a file ... and i know how to edit it for ogre etc then recompile but dose anyone know if i can add woodelf to the file?

thanks
knightmare

Kingly_Krab
06-23-2015, 06:29 PM
Just add it to the switch like this (change ID to the race ID and TEXTURE to the texture you want): switch(GetBaseRace())
{
case VAHSHIR:
npc_type->race = TIGER;
npc_type->size *= 0.8f;
break;
case TROLL:
npc_type->race = ALLIGATOR;
npc_type->size *= 2.5f;
break;
case OGRE:
npc_type->race = BEAR;
npc_type->texture = 3;
npc_type->gender = 2;
break;
case BARBARIAN:
npc_type->race = WOLF;
npc_type->texture = 2;
break;
case IKSAR:
npc_type->race = WOLF;
npc_type->texture = 0;
npc_type->gender = 1;
npc_type->size *= 2.0f;
npc_type->luclinface = 0;
break;
case WOOD_ELF:
npc_type->race = ID;
npc_type->texture = TEXTURE;
break;
default:
npc_type->race = WOLF;
npc_type->texture = 0;
}

demonstar55
06-23-2015, 06:39 PM
We should probably get the stuff added to the main source anyways, not like it will hurt anything.

Kingly_Krab
06-23-2015, 06:48 PM
Yeah, that's true.

demonstar55
06-23-2015, 07:10 PM
Plus hopefully we get TDS working at some point

jpyou127
06-23-2015, 07:58 PM
Which file is this located in?

Peyton

Shendare
06-23-2015, 08:06 PM
zone/pets.cpp:

https://github.com/EQEmu/Server/blob/master/zone/pets.cpp#L334

Currently line 334, but that changes whenever code above it does.

jpyou127
06-23-2015, 08:45 PM
Thanks!

Peyton