Page 1 of 1

CoPaP 2da Constants

Posted: Wed Sep 01, 2004 12:03 am
by Anduris
If nobody else has done this, I'm willing to make an include file that references the new 2da lines in the CoPaP haks as constants, for use in scripts in the like. Just wondering if this has been done.

Posted: Fri Sep 03, 2004 5:49 pm
by dougnoel
The following is the file inc_constants, which can by found in the Zero module. Is this what you were looking for?

Doug

Code: Select all

//inc_constants.nss
//By Josh Simon
//August 1st, 2003
//Includes all constants for CoPaP functionality.
//Include this file on any script that refers to hakpak races or classes.


//Classes
const int    CLASS_TYPE_CHAMPION              = 50;
const int    CLASS_TYPE_AVENGER               = 51;
const int    CLASS_TYPE_JUSTICAR              = 52;
const int    CLASS_TYPE_EQUALIZER             = 53;
const int    CLASS_TYPE_CONFOUNDER            = 54;
const int    CLASS_TYPE_DOMINATOR             = 55;
const int    CLASS_TYPE_ANNIHILATOR           = 56;


//Races
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;

Posted: Fri Sep 03, 2004 6:29 pm
by Anduris
Yup, thanks.