Server Totals
Le'Or - (2)
Mikona - (2)
Visimontium - (1)
Ferrell - (0)
Elysia - (0)
M'Chek - (0)
Deglos - (0)
Wilderness - (0)
Underdark - (0)
Total players: 5
Gallery
  • Pages of the Book
    Album name: DM Events
    Uploaded by: Ronan
    Uploaded: Wed Aug 20, 2014 12:04 am

Links Menu

Custom race constants?

Moderators: Nighthawk4, Dungeon Masters

Custom race constants?

PostAuthor: kombinat » Thu Dec 23, 2004 5:46 am

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
Be mindful of the prayers you send
Pray hard but pray with care
For the tears that you are crying now
Are just your answered prayers

kombinat
Team Member; Retired with Honors
 
Posts: 3365
Joined: Fri Jun 13, 2003 12:33 am
Location: Sydney, Australia (GMT+10)
DM Avatar: Senath

PostAuthor: Alustriel » Thu Dec 23, 2004 7:25 am

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.

Alustriel
Apprentice Scholar
 
Posts: 854
Joined: Mon Apr 07, 2003 12:08 pm
Location: GMT+1/+2 dst

PostAuthor: kombinat » Thu Dec 23, 2004 2:01 pm

Thanks alot! :)
Be mindful of the prayers you send
Pray hard but pray with care
For the tears that you are crying now
Are just your answered prayers

kombinat
Team Member; Retired with Honors
 
Posts: 3365
Joined: Fri Jun 13, 2003 12:33 am
Location: Sydney, Australia (GMT+10)
DM Avatar: Senath


Return to NWN Scripting

Who is online

Registered users: Bing [Bot], carnations, Google [Bot], Pekarion, Zerub