Page 1 of 1

Custom race constants?

PostPosted: Thu Dec 23, 2004 5:46 am
Author: kombinat
Hi all,

I'm after a bit of info that I'm not sure where to look for. It might
be a races.2da entry, or it might be somewhere else. I'm interested in
the constant ints for the custom races in CoPaP... Avlis specifically.
Could someone tell me the correct values for these?

const int RACIAL_TYPE_CENTAUR = 101;
const int RACIAL_TYPE_CHANGELING = 102;
const int RACIAL_TYPE_DRANGONARI_ELF = 103;
const int RACIAL_TYPE_HALF_DRYAD = 104;
const int RACIAL_TYPE_GHOST_ELF = 105;
const int RACIAL_TYPE_GNOLL = 166;
const int RACIAL_TYPE_GOBLIN = 177;
const int RACIAL_TYPE_KOBOLD = 188;
const int RACIAL_TYPE_LIZARDMAN = 199;
const int RACIAL_TYPE_HALF_OGRE = 100;
const int RACIAL_TYPE_ORC = 1111;
const int RACIAL_TYPE_WEMIC = 11111;



I'm also looking for the correct values of these. I'm not sure how
ones such as halfogre have been coded up?

string RACE_CENTAUR = "centaur";
string RACE_CHANGELING = "changeling";
string RACE_DRANGONARI = "drangonari";
string RACE_DWARF = "dwarf";
string RACE_ELF = "elf";
string RACE_HALF_DRYAD = "halfdryad";
string RACE_GHOSTELF = "ghostelf";
string RACE_GNOLL = "gnoll";
string RACE_GNOME = "gnome";
string RACE_GOBLIN = "goblin";
string RACE_HALFLING = "halfling";
string RACE_HUMAN = "human";
string RACE_KOBOLD = "kobold";
string RACE_LIZARDMAN = "lizardman";
string RACE_HALF_OGRE = "halfogre";
string RACE_ORC = "orc";
string RACE_WEMIC = "wemic";

Any help here, either the correct values or the place I can look to
find the info, would be appreciated.

Cheers,
kombinat

PostPosted: Thu Dec 23, 2004 7:25 am
Author: Alustriel
The correct values are listed in the racialtypes.2da

Here the list from the constant script:

const int RACIAL_TYPE_HALF_NYMPH = 50;
const int RACIAL_TYPE_ORC = 51;
const int RACIAL_TYPE_DRANGONARI_ELF = 52;
const int RACIAL_TYPE_HALF_DRYAD = 53;
const int RACIAL_TYPE_HALF_TIGER = 54;
const int RACIAL_TYPE_GOBLIN = 55;
const int RACIAL_TYPE_KOBOLD = 56;
const int RACIAL_TYPE_HALF_OGRE = 57;
const int RACIAL_TYPE_LIZARD_MAN = 58;

const int RACIAL_TYPE_TIEFLING = 59;
const int RACIAL_TYPE_DROW = 60;
const int RACIAL_TYPE_GNOLL = 61;
const int RACIAL_TYPE_CENTAUR = 62;
const int RACIAL_TYPE_SUNELF = 63;
const int RACIAL_TYPE_GOLDDWARF = 64;
const int RACIAL_TYPE_WOODELF = 65;
const int RACIAL_TYPE_DEEPGNOME = 66;
const int RACIAL_TYPE_HALFDROW = 67;
const int RACIAL_TYPE_GHOSTWISEHALFLING = 68;
const int RACIAL_TYPE_STRONGHEARTHALFLING = 69;
const int RACIAL_TYPE_AASIMAR = 70;
const int RACIAL_TYPE_DUERGAR = 71;
const int RACIAL_TYPE_WILDELF = 72;
const int RACIAL_TYPE_WEMIC = 73;
const int RACIAL_TYPE_GHOST_ELF = 74;
const int RACIAL_TYPE_CHANGELING = 75;

I can't find anything about the RACE_* constants and the names, so not sure if those are used at all. The label (name) of each race is defined in the racialtypes.2da, perhaps that is of use.

PostPosted: Thu Dec 23, 2004 2:01 pm
Author: kombinat
Thanks alot! :)