Forum > Tutorials
[TUTORIAL] Add a new race
<< < (2/18) > >>
Khira:
Display helmets
Open ChrRaces.dbc : At the 7th column, you have the abbreviation of the race, eg Go for GOBLIN. This abbreviation is actually only used for display helmet. You can modify an abbreviation of existing race for the helmets appear, for example by replacing Hu.
Problem: The helmets are misplaced, such as too forward, too high, etc. ... To fix this, simply move the Attachment Point No. 11 (which corresponds to the placement of the helmet) on two M2 model race (GoblinMale.m2 and GoblinFemale.m2 for example). You can use Mod-It for this.
There are other more "clean" way to fix helmets but longer.
Khira:
Activating languages and skills
Basically, you can not learn language or skills. Indeed, the game uses a verification which is configured for each Skills. We will have to modify all the skills you'll want that the race will be use.
We'll take the example of the Common Language (Skill n°98). Open SkillLineAbility.dbc : Find :
--- Quote ---590,98,668,1101,0,,,1,0,0x2,0,0,,, --- End quote ---
We must consider the 4th column, the 1101 value. Transform this number into binary (eg with http://www.michelcarrare.com/demos/converter.php) You will find in our case: 10001001101 Every "1" allows the Skill for the race with ID equal to the position :
--- Code: ---IDRace : 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 1 0 0 0 1 0 0 1 1 0 1 --- End code ---
It is necessary to put 1 for the ID of your race. For the goblin, its ID 9, so we have:
--- Code: ---IDRace : 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 1 0 1 0 1 0 0 1 1 0 1 --- End code ---
Then just reprocess this new value in decimal : (bin)10101001101 = (dec)1357 So, we have this :
--- Code: ---590,98,668,1357,0,,,1,0,0x2,0,0,,, --- End code ---
* Hey! And if my ID is 14 to the race? How can I do?
Well it is the same way, by adding 0:
--- Code: ---IDRace : 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 1 0 0 1 0 0 0 1 0 0 1 1 0 1 --- End code ---
[/li][/list]
Open SkillRaceClassInfo.dbc : Find :
--- Quote ---40,98,1101,1535,0x80,0x0,0,0x0, --- End quote ---
You see the 1101 in the 3rd column? Do as above.
* Reminder You must do this for all Skills that you want to allow. [/li][/list]
* Information This technique can be used on your existing races, particularly for languages.[/li][/list]
More informations here : SkillLineAbility.dbc and SkillRaceClassInfo.dbc
Khira:
Activating reputations
Open Faction.dbc : For example, suppose we want allow reputation Stormwind for Goblin, find :
--- Quote ---72,19,1100,690,0x1,0x0,0,0,0x0,0x0,3100,-42000,4000,0,0x111,6,0x11,0x0,469,1.0,0.25,7,5,,,"Hurlevent",,,,,,,,,,,,,,0xFF01FE,,,"Cette capitale de l’Alliance est l’un des derniers bastions de la puissance des humains. Elle est gouvernée par le roi Varian Wrynn, revenu après une disparition mystérieuse.",,,,,,,,,,,,,,0xFF01FE, --- End quote ---
Well take this part of the line :
--- Code: --- 1100, 690, 0x1, 0x0,[...] 3100, -42000, 4000,0, Races 1 | Races 2 | Races 3 | Races 4 | Rep for races 1 | Rep for races 2 | Rep for races 3 ... --- End code --- You understand? 1100 corresponds to all races of the alliance except humans who begin the game with 3,100 reputation. 690 races is the hord, they begin with -42,000 and finally 1 for humans starting with 4000. So if we want Goblins (ID 9) can start with 3100 (and that reputation is allowed to be used for this race and saved by the server), you must edit 1100 by 1356 (detailed explanations in the activation of languages and skills). We must do this for all Reputations. No worries, using "Replace All" with your favorite text editor, it will save time. For example: 1791 means all races of the alliance. So if the goblin is in the alliance, we must add to all the "1791" be replaced 1791 by 2047. Then do manual handling to the capitals (as Stormwind).
That's all for the moment !
Races operational! Good luck.
* Important : With this, you will not have a complete race, you need to edit more and more files to have a "Blizzlike race". If you find any improvements or bugs, thank you for the report.
Diemen:
To bad They didn't Make the +Cookies/Rep Button yet..
This realy deserves My Rep ! ++
I was looking for a Tutorial like this for a long time :D
Thanks Alot :)
Eluo:
Yeah thanks a lot for this! Great tutorial , well written and sure good for ppl who would like to add a new race. We won't add a rep system because we think that this destroyed the modding community^^ Modding is fun and you gain much from it. As we see someone who really contributes good stuff, he will get a special rank. We created many individual ranks for this ;) Tutorials , showoffs and so on are a good way to gain such a special rank!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
|