• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

How to create a new faction

rup33rt

Enthusiast
Howdy! In this tutorial I'll be showing you how to create a brand new faction.

Things Needed:

Basic knowledge about editing DBCs and packing MPQs.
DBC Editor (Preferably Taaliis)
MPQEditor

Once you have the tools required, fire up your DBC Editor and open up Faction.dbc. Create a new row or copy an existing one, then edit these columns to your liking:

#0 - ID (Unique ID for each faction.)
#1 - ID (Each faction that has gainable rep has a unique ID. All factions that you can not gain rep with have -1.)
#2 - Friendly RaceMask (690 for Horde, 1101 for Alliance and 1791 for Neutral.)
#3 - Hostile Racemask (See above.)
#10 - BaseRep (The amount of reputation each player starts off with. 0 = Neutral, -42000 = Hated etc...)
#14 - FactionFlags (I don't know many of them, but 16 disables the "At War" option in the reputation tab and 12 is used for categories.)
#18 - FactionParent (This is which "Category" your faction falls under, note that you must make a separate row/faction for the category.
#23 - FactionName (Pretty self-explanatory.)
#40 - FactionDescription (A brief description of the faction, it's the text you see with each faction in the reputation tab. Note that you won't be able to scroll down in-game, so keep it short.)

Example Faction.dbc:
McclpQu.png


Once you're done making factions and categories, open up FactionTemplate.dbc and make a row for each of your factions. (These rows basically decide how an NPC with your faction applied to it will behave.)

#0 - ID (Unique for each template, this is the factionID you will apply to your NPC later on.)
#1 - Faction (This is the first ID(#0) from faction.dbc)
- I don't know how to explain the remaining rows, but you'll understand if you take a look at some of the other templates.

Example FactionTemplate.dbc:
vEBTsdd.png

Keep in mind that you can make several templates for a single faction.

When both DBCs are ready, put them on the server and pack them into an MPQ. That's pretty much it, see the picture below for results.
Jq2Huku.png


This is my first tutorial, but I hope it'll help some of you guys out. If something seems unclear or hard to grasp, just tell me and I'll do my best to explain it better. Do also keep in mind that I'm only covering the basics, if you want to learn more regarding these DBCs, check these links out.

Faction.dbc
FactionTemplate.dbc

// Björn
 

Attachments

  • McclpQu.jpg
    McclpQu.jpg
    5.7 KB · Views: 39
  • vEBTsdd.jpg
    vEBTsdd.jpg
    5.4 KB · Views: 40
Last edited:

rup33rt

Enthusiast
I cant get it to work >.< lol but i will keep trying though.

nice tuts

Well, if you explain the issue in detail I'll try to help as best I can. If you've added the DBCs to your server and made an MPQ, try to lookup the faction in-game. (.lookup faction "xxx"). If you can see faction on your server, but not on the client directly, there's something wrong with your MPQ.
 
Top