Forum > Miscellaneous

[QUESTION]  About Custom Classes

(1/6) > >>

mferrill:
Okay, I'm posting this in the hopes that someone with a little more knowledge than myself might be able to help...

I've made a new Class (Necromancer) from this Tutorial....
viewtopic.php?f=26&t=1840

but it seems I'm still missing some edits that still are needed.

I patched the new class into Trinitycore  -> http://pastebin.com/XVa1pUaU

Edited the DBC's Lua and XML files as described...

Then I added in all DB stuff... Playercreateinfo, Playercreateinfo_items, Playercreateinfo_Spell, etc, etc...
Classlevel stats, etc, etc... It's All working good.

I just have 2 errors....

I've setup Platercreateinfo_Spells so that the new class can speak all languages.... But it cannot speak unless GM flag is on....   I can .learn languges with that flag on, but it says I know them already....

Just looking for the DBC that I should edit for that... Not sure if it is in Skillline, spell.dbc or what...

Also... All new spells that the new class learns shows up on General Tab.... not in it's catagory's tab in the Spellbook....

Any help would be appreciated![attachment=2:2aabqdqb]Necro Mancer.7z[/attachment:2aabqdqb][attachment=1:2aabqdqb]nec1.PNG[/attachment:2aabqdqb][attachment=0:2aabqdqb]necro2.PNG[/attachment:2aabqdqb]

If anyone has some info on what to do next...

mferrill:
Just a quick Update....

I figured out spells, and languages (which are spells) -> You need to look in 1 file and edit in another...

SkillLine.dbc has each spell and the requirements....

SkillRaceClassInfo.dbc is where you define it for each race/class combo.....

Example...

950,673,-1,2048,0x80,0x0,0,0x0,

950 =  New Id number... Just got from the last one in file and add 1
673 =  Spell Gutterspeak  (You find this from SkillLine.dbc)
-1 = All Races (or use specific Racemask if you want just 1 race to have the spell)
2048-> Necromancer (class =12 -> converted to ClassMask 2048 so it can read correctly).

The rest I didn't need to change.

So now I can talk and learn spells, etc...

Still have a few bugs... Char stats not showing in character Screen. (Edited all the gt*.dbc's) to no effect there...

Anyways.  If someone else gets to the point I was at... hopefully that will help you.

mathex:
I love that you update this with a solution when no other wants to give it or maybe don't have one. Thanks! :-)

XxXGenesisXxX:

--- Quote from: "mathex" ---I love that you update this with a solution when no other wants to give it or maybe don't have one. Thanks! :-)
--- End quote ---

Hopefully more people take the example.

mferrill:

--- Quote from: "mathex" ---I love that you update this with a solution when no other wants to give it or maybe don't have one. Thanks! :-)
--- End quote ---

No problem.  I hate looking for a solution, finding a thread that is the exact problem I have, and then at the end seeing nothing but "resolved" :D

I did learn something new from XxXGenesisXxX that I did not previously know...  I just put -1 for the RaceMask.  It worked fine for me, system seems to read that as ALL.  But if you want say... Just Human and Orcs... you have to combine the values of the two...

Here is a converter for it, so you can get the values and easily add the two together... http://www.mathsisfun.com/binary-decima ... erter.html   -Edited -> Bad copy paste

Thanks to XxXGenesisXxX for that useful link! :D

I think I got the CharacterPanel sorted, but I lost my remote connection from work to home, and cannot test it... :(  I willl update that part tomorrow I guess. (If all goes well)  :D

Navigation

[0] Message Index

[#] Next page

Go to full version