This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [RELEASE]  Custom races  (Read 2483 times)

TheRuso

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 1
    • View Profile
[RELEASE]  Custom races
« on: April 27, 2014, 03:44:27 pm »
hello, ago the same breed of customization, but the server tells me that ignores race 16 (naga), in my case use trinity 3.3.5a, someone made ​​me a hand?


My shareddefines

// Race value is index in ChrRaces.dbc
enum Races
{
    RACE_HUMAN          = 1,
    RACE_ORC            = 2,
    RACE_DWARF          = 3,
    RACE_NIGHTELF       = 4,
    RACE_UNDEAD_PLAYER  = 5,
    RACE_TAUREN         = 6,
    RACE_GNOME          = 7,
    RACE_TROLL          = 8,
    RACE_GOBLIN         = 9,
    RACE_BLOODELF       = 10,
    RACE_DRAENEI        = 11,
    RACE_OGRO           = 12,
    RACE_NAGA           = 13,
    RACE_HIGHELF        = 14,
    //RACE_SKELETON       = 15,
    RACE_VRYKUL         = 16,
    RACE_TUSKARR        = 17,
    RACE_FOREST_TROLL   = 18,
    //RACE_TAUNKA         = 19,
    RACE_WORGEN         = 20
    //RACE_ICE_TROLL      = 21
};

// max+1 for player race
#define MAX_RACES         19

#define RACEMASK_ALL_PLAYABLE
    ((1<<(RACE_HUMAN-1))   |(1<<(RACE_ORC-1))          |(1<<(RACE_DWARF-1))   |
    (1<<(RACE_NIGHTELF-1)) |(1<<(RACE_UNDEAD_PLAYER-1))|(1<<(RACE_TAUREN-1))  |
    (1<<(RACE_GNOME-1))    |(1<<(RACE_TROLL-1))        |(1<<(RACE_GOBLIN-1))  |
    (1<<(RACE_BLOODELF-1)) |(1<<(RACE_DRAENEI-1))      |(1<<(RACE_OGRO-1))    |
    (1<<(RACE_DRAENEI-1))  |(1<<(RACE_NAGA-1))         |(1<<(RACE_HIGHELF-1)) |
    (1<<(RACE_VRYKUL-1))   |(1<<(RACE_TUSKARR-1))      |(1<<(RACE_FOREST_TROLL-1)) |
    (1<<(RACE_WORGEN-1)))

#define RACEMASK_ALLIANCE
    ((1<<(RACE_HUMAN-1)) | (1<<(RACE_DWARF-1)) | (1<<(RACE_NIGHTELF-1)) |
    (1<<(RACE_GNOME-1)) | (1<<(RACE_DRAENEI-1)) | (1<<(RACE_NAGA-1)) |
    (1<<(RACE_HIGHELF-1)) | (1<<(RACE_TUSKARR-1)) | (1<<(RACE_WORGEN-1)))


in the compilation of the core does not give me errors

loading the core tells me this:
Weong race 13 in ´player_levelstatus´ table, ignoring

and try to create that race tells me:
it may be possible to hack
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: [RELEASE]  Custom races
« Reply #1 on: April 27, 2014, 09:39:16 pm »
Your topic prefix is misleading.  This isn't a release.  It's a question.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [RELEASE]  Custom races
« Reply #2 on: April 27, 2014, 11:34:50 pm »
Also, not a tutorial.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »