Forum > Tutorials
[TUTORIAL] Creating a shell of a class!
<< < (15/17) > >>
Kobiesan:
So I went through everything and added my class' stuff into the files manually but when I build I get some errors in Necromancer.cpp. Says I don't have StdAfx.h. No such file or directory.
Kobiesan:
Is it even necessary for me to make necromancer.cpp and .h on trinitycore? stdafx cant be found.
Ascathos:
You CAN add those if you want to add custom scripts for your custom class. E.g. for spells that are not working (yet) or not properly imeplemented, e.g. because of custom mechanics.
Ignore that part. You'd create new files for them but they are neglectable if you do not intend to add custom stuff for them just yet.
Kobiesan:
--- Quote from: "Ascathos" ---You CAN add those if you want to add custom scripts for your custom class. E.g. for spells that are not working (yet) or not properly imeplemented, e.g. because of custom mechanics.
Ignore that part. You'd create new files for them but they are neglectable if you do not intend to add custom stuff for them just yet. --- End quote ---
Okay. Most of the other .cpp and .h files that the original post wanted me to edit does not have what it wants me to change. I went through the files on my own though and edited them and I hope I got it all.
Things I've edited to include my new class: player.cpp statsystem.cpp ObjectMgr.cpp playermethods.h shareddefines.h worldsession.cpp worldsession.h
I do eventually want to script spells for my class, though.
Kobiesan:
--- Quote from: "Ascathos" ---You CAN add those if you want to add custom scripts for your custom class. E.g. for spells that are not working (yet) or not properly imeplemented, e.g. because of custom mechanics.
Ignore that part. You'd create new files for them but they are neglectable if you do not intend to add custom stuff for them just yet. --- End quote ---
So should I make stdafx then?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
|