Forums WoW Modding Support Archives WoWModding Support Archives [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

[DiscordArchive] So the issue was with your SharedDefines race enum section? Would you be able to show a before-after

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
07-30-2022, 04:35 AM
#1
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?
rektbyfaith
07-30-2022, 04:35 AM #1

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?

rektbyfaith
Administrator
0
07-30-2022, 04:41 AM
#2
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
rektbyfaith
07-30-2022, 04:41 AM #2

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

rektbyfaith
Administrator
0
07-30-2022, 04:42 AM
#3
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
rektbyfaith
07-30-2022, 04:42 AM #3

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

rektbyfaith
Administrator
0
07-30-2022, 04:45 AM
#4
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
rektbyfaith
07-30-2022, 04:45 AM #4

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

rektbyfaith
Administrator
0
07-30-2022, 04:45 AM
#5
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.
rektbyfaith
07-30-2022, 04:45 AM #5

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.

rektbyfaith
Administrator
0
07-30-2022, 04:45 AM
#6
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```
rektbyfaith
07-30-2022, 04:45 AM #6

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```

rektbyfaith
Administrator
0
07-30-2022, 04:46 AM
#7
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)))```
rektbyfaith
07-30-2022, 04:46 AM #7

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)))```

rektbyfaith
Administrator
0
07-30-2022, 04:48 AM
#8
Archived author: ACHERAX • Posted: 2022-07-30T04:48:09.655000+00:00
Original source


[Image: unknown.png?ex=690c2889&is=690ad709&hm=e...c9de7c25c&]
rektbyfaith
07-30-2022, 04:48 AM #8

Archived author: ACHERAX • Posted: 2022-07-30T04:48:09.655000+00:00
Original source


[Image: unknown.png?ex=690c2889&is=690ad709&hm=e...c9de7c25c&]

rektbyfaith
Administrator
0
07-30-2022, 04:49 AM
#9
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
rektbyfaith
07-30-2022, 04:49 AM #9

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

rektbyfaith
Administrator
0
07-30-2022, 04:50 AM
#10
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
rektbyfaith
07-30-2022, 04:50 AM #10

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

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)