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: [Question] Changing a race's Faction? (Horde->Alliance)  (Read 6004 times)

Renan

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
[Question] Changing a race's Faction? (Horde->Alliance)
« on: January 26, 2015, 03:32:36 am »
I'm sorry, this is my first time posting. Is there any way I can go about doing this? I'm using Trinitycore at patch 3.3.5a. My main goal is to have Blood Elves changed over to Alliance Side, but the only tutorials here seem to be for making an entire new race.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #1 on: January 26, 2015, 11:23:22 am »
I suppose you want to remake them and turn them into high elves... That doesn't matter anyway, check:
ChrRaces.dbc
Faction.dbc
FactionTemplate.dbc

Maybe I forgot some? Find rows related in these DBCs, compare them with alliance related rows and try to edit them to fit alliance "standarts".
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Renan

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #2 on: January 26, 2015, 08:16:11 pm »
Quote from: "Amaroth"
I suppose you want to remake them and turn them into high elves... That doesn't matter anyway, check:
ChrRaces.dbc
Faction.dbc
FactionTemplate.dbc

Maybe I forgot some? Find rows related in these DBCs, compare them with alliance related rows and try to edit them to fit alliance "standarts".


When I modified the FactionTemplate.dbc, and put it (and a test patch) in the DBCs, it didn't really do anything at all. I wasn't sure if the patch was even necessary but it did crash my client (so I deleted it). The ChrRaces.dbc didn't seem to have anything pertaining to faction in it, and any information online on the matter was not clear in the least. The Faction.dbc itself helped me see that all of the player factions have the same setup in the faction.dbc, and that the FactionTemplate.dbc was the only one that seemed to even hint at a faction change for them.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Temptation_Town

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 64
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #3 on: January 27, 2015, 05:00:14 am »
Quote from: "Amaroth"
I suppose you want to remake them and turn them into high elves... That doesn't matter anyway, check:
ChrRaces.dbc
Faction.dbc
FactionTemplate.dbc

Maybe I forgot some? Find rows related in these DBCs, compare them with alliance related rows and try to edit them to fit alliance "standarts".

You are confusing this guy, all he need is ChrRaces.dbc .

Quote from: "Renan"
The ChrRaces.dbc didn't seem to have anything pertaining to faction in it, and any information online on the matter was not clear in the least.

False.

Look here. I've highlighted the values in ChrRaces you need to change.

First one ("1610") must be changed to "1" and the second highlighted "1" to "7".

That's all.

Don't forget to put this dbc both client and server side.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #4 on: January 27, 2015, 11:33:12 am »
You are confusing me bro... All you are doing is rewriting their faction. What I wanted to do as well, but in clearer way :D. I really preffer to know what I am actually doing, not just rewriting random numbers and in the end yeeeey, it worked!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Temptation_Town

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 64
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #5 on: January 27, 2015, 03:18:56 pm »
Quote from: "Amaroth"
I really preffer to know what I am actually doing, not just rewriting random numbers and in the end yeeeey, it worked!

I gave him (and you) the best working method to do this. Horde->Alliance, FactionTemplate+TeamID swap in 2 clicks.

If you don't understand this stuff (even with pictured guide with highlighted rows), it's not my problem.  

If you both too lazy to learn ChrRaces.dbc structure it's not my problem too.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Renan

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #6 on: January 27, 2015, 03:51:51 pm »
Quote from: "Temptation_Town"
Quote from: "Amaroth"
I suppose you want to remake them and turn them into high elves... That doesn't matter anyway, check:
ChrRaces.dbc
Faction.dbc
FactionTemplate.dbc

Maybe I forgot some? Find rows related in these DBCs, compare them with alliance related rows and try to edit them to fit alliance "standarts".

You are confusing this guy, all he need is ChrRaces.dbc .

Quote from: "Renan"
The ChrRaces.dbc didn't seem to have anything pertaining to faction in it, and any information online on the matter was not clear in the least.

False.

Look here. I've highlighted the values in ChrRaces you need to change.

First one ("1610") must be changed to "1" and the second highlighted "1" to "7".

That's all.

Don't forget to put this dbc both client and server side.


Thank you for your help. I'll have to try it when I get home.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #7 on: January 27, 2015, 05:04:16 pm »
Are you ****ing kidding me...?

Read again what I wrote. Read it again after that. I DO know what you did. And I DO know what I wanted to make him to do and surprisingly, I know very well why.

I was just pointing at fact that it really would be great if anyone who wants to change race's faction connections should actually know how this system works before he starts editing it. Yes, giving BE human's faction will "work".

But sometimes you need to know how and why, not that it just "works" and when something goes wrong, it suddenly "doesn't work". For him that will be time to write topic "it doesn't work cause no reasons, help me!". I want to make him actually find out what the hell is that column in ChrRaces for, where is it pointing, into which DBC, how that DBC work and to which other DBCs it is linked to. Because when he will find out these things, he will know what the hell is he doing when he is 'writing 1 here". Modding should never be just about lazy leechlike "hey, write 1 here, it will somehow work, you don't have to care why, thats all!".
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Renan

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #8 on: January 27, 2015, 05:18:01 pm »
Woah woah woah. What's with all of the hostility? Is that really necessary?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #9 on: January 27, 2015, 05:48:15 pm »
Not at all. I am quite tired after my exams on university, even while they were succesful.

That column my collegue edited in ChrRaces.dbc points into FactionTemplate.dbc. FactionTemplate.dbc is connected with Faction.dbc. Look into structure of all these 3 on WoWDev, compare rows for alliance races and rows for Horde races. You will see that mot of the columns are completely same, only some different. Find out what they are for and then copy from alliance (f.i. human) faction data which are needed to change into BE related rows.

I want you to actually know what and why are you doing. No "write 1 here and it will somehow work". Giving BE human's faction ID will do, yep, but its rather unclean way and if you will ever want to edit anything related to human's factions, you will edit also BE data.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Renan

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #10 on: January 27, 2015, 06:28:56 pm »
Quote from: "Amaroth"
Not at all. I am quite tired after my exams on university, even while they were succesful.

That column my collegue edited in ChrRaces.dbc points into FactionTemplate.dbc. FactionTemplate.dbc is connected with Faction.dbc. Look into structure of all these 3 on WoWDev, compare rows for alliance races and rows for Horde races. You will see that mot of the columns are completely same, only some different. Find out what they are for and then copy from alliance (f.i. human) faction data which are needed to change into BE related rows.

I want you to actually know what and why are you doing. No "write 1 here and it will somehow work". Giving BE human's faction ID will do, yep, but its rather unclean way and if you will ever want to edit anything related to human's factions, you will edit also BE data.



I knew the template tied into the faction.dbc, but I didn't know the ChrRaces.dbc tied into the FactionTemplate. So if I were to set it so that belves were linked to humans instead of belves, they'd essentially act the same as them? Another question, ingame would they be allowed to gain reputation and everything normally like alliance races?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #11 on: January 27, 2015, 06:31:58 pm »
Probably. You can try it. You have two possibilities.

Simple and unclean - give BEs human's faction, so 2 races will be using the same faction and all faction related things will work the same way for both of them. Most likely.

Clean and more advanced - remake BE faction to be alliance faction, instead of horde.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Renan

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #12 on: January 27, 2015, 06:39:42 pm »
Quote from: "Amaroth"
Probably. You can try it. You have two possibilities.

Simple and unclean - give BEs human's faction, so 2 races will be using the same faction and all faction related things will work the same way for both of them. Most likely.

Clean and more advanced - remake BE faction to be alliance faction, instead of horde.

I went into the FactionTemplate.dbc (since the faction for player blood elf has the same values as everything else) and I think I saw the faction values for it that would make it alliance. I think I modified too much because it crashed when I used it. I'll just run 2 separate tests and post back with what I found, or if I just stumbled into issues.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Temptation_Town

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 64
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #13 on: January 27, 2015, 07:03:31 pm »
Quote from: Renan
Quote from: Amaroth
I think I modified too much because it crashed when I used it.


Yeah doing unnecessary editing of 3 dbc files  and crashing your client in result IS MUCH BUTTER then following my pictured manual and learning ChrRaces.dbc structure.

GL guys.
« Last Edit: July 20, 2017, 11:30:37 am by Steff »

Renan

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
Re: [Question] Changing a race's Faction? (Horde->Alliance)
« Reply #14 on: January 27, 2015, 07:38:33 pm »
Quote from: "Temptation_Town"
Quote from: "Renan"
Quote from: "Amaroth"
I think I modified too much because it crashed when I used it.

Yeah doing unnecessary editing of 3 dbc files with no fucking idea what you are doing and crashing your client in result IS MUCH BUTTER then following my pictured manual and learning ChrRaces.dbc structure.

GL guys.


I suppose I should've mentioned that this occurred a week ago, and that I still have to test everything out today when I get home.


Essentially, with the information provided to me today, I have yet to do anything with it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »