Forum > Serverside Modding
[QUESTION] Make races/classes unavailable
<< < (2/3) > >>
Ascathos:
Charbaseinfo. It's the dbc containing possible race/class combinations.
Amaroth:
--- Quote from: "Смердокрыл" ---Hey! I want to make Orcs, Undead, Draenei and Worgen unavailable for players to create. --- End quote --- I supposed he doesn't want them entirely deleted from system, just make them blocked for players, but not for GMs/himself.
Смердокрыл:
--- Quote from: "Amaroth" ---There should be mask for setting race IDs which are to be blocked in worldserver config file --- End quote --- I used this and it does, indeed, block the needed races, but they do not appear grey in the char creation menu, which is what I want.
Also, I wanna rename a race. Not the technical name, meaning one used in helmet models, race models, etc, but the one you see in game. Where do I change that?
Amaroth:
If you really want to have those race/class combinations entirely impossible to be created for whoever who has your patch, then yes, the most clean (and graying :P) method is deleting those race/class combinations from CharBaseInfo.dbc. If you want to have for instance orcs non-playable, just delete all rows with 2 (race ID) in first field - there will be no classes for orcs available and thus orcs won't be available too. Beware, MyDBCEditor can't open this DBC, you need to use Taliis (or maybe some other alternative editor for DBCs).
About names of races, check ChrRaces.dbc. I suppose its pretty obvious that names of races should be stored in DBC shich has "races" in name. Whenever you want to know what is done where, try to open folder with all blizzlike DBCs and search it for all DBCs which have name which says that they might have something to do with things you want to change. Open those DBCs, browse data in them, look into documentation. I doubt you are really doing this when you are asking things like how to change race's name. I don't want to discourage you from asking when you don't know something - it simply saves you time you are otherwise spending waiting for replies ;).
Смердокрыл:
--- Quote from: "Amaroth" ---the most clean (and graying :P) method is deleting those race/class combinations from CharBaseInfo.dbc. If you want to have for instance orcs non-playable, just delete all rows with 2 (race ID) in first field - there will be no classes for orcs available and thus orcs won't be available too. --- End quote ---
I tried just setting the expansion requirement for these races to be higher than any account has, but I get some weird xml/lua errors in the client when creating a char.
--- Quote from: "Amaroth" ---About names of races, check ChrRaces.dbc --- End quote --- Tried. Same, "weird xml/lua errors in the client when creating a char".
Navigation
[0] Message Index
[#] Next page
[*] Previous page
|