[DiscordArchive] So the issue was with your SharedDefines race enum section? Would you be able to show a before-after
[DiscordArchive] So the issue was with your SharedDefines race enum section? Would you be able to show a before-after
Archived author: Bench • Posted: 2022-07-30T04:35:24.621000+00:00
Original source
So the issue was with your SharedDefines race enum section? Would you be able to show a before-after?
Archived author: ACHERAX • Posted: 2022-07-30T04:41:26.650000+00:00
Original source
It was just that I had removed RACE_TROLL (commented the line out) and TC decided that since RACE_TROLL didn't exist, the other races must be 1 lower but the skins weren't, so the races ended up with the next race's skin whenever they left a shapeshift/morph
Archived author: ACHERAX • Posted: 2022-07-30T04:42:11.636000+00:00
Original source
So I uncommented RACE_TROLL and instead of comparing horde races to playable races vs. alliance races, I defined the horde races the same way that alliance races are defined. Now trolls are not playable, but the server still has RACE_TROLL in the enums so it is ordering the races correctly when re-applying the character's skin
Archived author: Bench • Posted: 2022-07-30T04:45:21.133000+00:00
Original source
I ask because I've had a similar issue in the past
https://discord.com/channels/40766404101...8963074069
Archived author: ACHERAX • Posted: 2022-07-30T04:45:40.224000+00:00
Original source
Aside from that, my added races start at ID 12 and increment from there. All of the other unplayable races were moved up in ID within ChrRaces.dbc to accommodate this.
Archived author: ACHERAX • Posted: 2022-07-30T04:45:58.693000+00:00
Original source
``` RACE_NONE = 0, // SKIP
RACE_HUMAN = 1, // TITLE Human
RACE_ORC = 2, // TITLE Orc
RACE_DWARF = 3, // TITLE Dwarf
RACE_NIGHTELF = 4, // TITLE Night Elf
RACE_UNDEAD_PLAYER = 5, // TITLE Undead
RACE_TAUREN = 6, // TITLE Tauren
RACE_GNOME = 7, // TITLE Gnome
RACE_TROLL = 8, // TITLE Troll
//RACE_GOBLIN = 9,
RACE_BLOODELF = 10, // TITLE Blood Elf
RACE_DRAENEI = 11, // TITLE Draenei
RACE_ZANDALARI = 12, // TITLE Zandalaris
RACE_NIGHTBORNE = 13, // TITLE Nightborne
RACE_VOIDELF = 14 // TITLE Void Elf
//RACE_FEL_ORC = 12,
//RACE_NAGA = 13,
//RACE_BROKEN = 14,
//RACE_SKELETON = 15,
//RACE_VRYKUL = 16,
//RACE_TUSKARR = 17,
//RACE_FOREST_TROLL = 18,
//RACE_TAUNKA = 19,
//RACE_NORTHREND_SKELETON = 20,
//RACE_ICE_TROLL = 21```
Archived author: ACHERAX • Posted: 2022-07-30T04:46:12.581000+00:00
Original source
```#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_VOIDELF-1)))
//#define RACEMASK_HORDE RACEMASK_ALL_PLAYABLE & ~RACEMASK_ALLIANCE
#define RACEMASK_HORDE \
((1<<(RACE_ORC-1)) | (1<<(RACE_UNDEAD_PLAYER-1)) | (1<<(RACE_TAUREN-1)) | \
(1<<(RACE_BLOODELF-1)) | (1<<(RACE_ZANDALARI-1)) | (1<<(RACE_NIGHTBORNE-1)))```
![[Image: unknown.png?ex=690c2889&is=690ad709&hm=e...c9de7c25c&]](https://cdn.discordapp.com/attachments/415944535718494208/1002799741521887333/unknown.png?ex=690c2889&is=690ad709&hm=eeea9577f568899ff75f325d182ff2cbb6700eec22a468cbc0eb009c9de7c25c&)
Archived author: ACHERAX • Posted: 2022-07-30T04:48:09.655000+00:00
Original source
![[Image: unknown.png?ex=690c2889&is=690ad709&hm=e...c9de7c25c&]](https://cdn.discordapp.com/attachments/415944535718494208/1002799741521887333/unknown.png?ex=690c2889&is=690ad709&hm=eeea9577f568899ff75f325d182ff2cbb6700eec22a468cbc0eb009c9de7c25c&)
Archived author: ACHERAX • Posted: 2022-07-30T04:49:38.601000+00:00
Original source
If none of these things apply to your specific situation, I would look at how the core decides what skin to re-apply after demorph, and see if you can force it to accommodate your race
Archived author: Bench • Posted: 2022-07-30T04:50:41.523000+00:00
Original source
Yea, the issue I'm having is that I added Goblins by uncommenting the line in SharedDefines, and replaced the FelOrc enum with Worgen, and it was giving me what I assume were the skins of the Naga on my Worgen