Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: Serifaz on August 08, 2014, 01:01:33 am
-
O.k. so I have been looking around the dbc's xml and lua files, to see how the deathknight was implemented.
my biggest discovery so far is in the CharacterCreate.Lua.
Where it has a section for swapping the character to a different model on selecting the dk class.
Only thing is there is no other model to my knowledge for a deathknight.
Is there a specification on race models to swap out to a different geoset or something when toggled?
If so can this be done through pymodeleditor?
also is this a model issue at all or just a scripting / dbc issue?
In essence I am trying to make it so the demonhunter class has runes / markings on there body when selecting the demonhunter just like the new textures for a dk when you select a dk they have glowing blue eyes and blue / black body textures.
If there is a way to do this please let me know :)
-
That's all handled in the dbc files.
I'll get back to you with a list.
-
Thanx soo much
-
Alright here's a list of the skins the DeathKnights use for humans and I'd bet they are the same numbers for the other races.
HumanMaleSkin00_10
HumanMaleSkin00_11
HumanMaleSkin00_12
[paragraph:8el62cj7]Their DK eyes are selected in the M2 file of course you can change the location of them by editing it in 010.
CHARACTERBLOODELFFEMALEDEATHKNIGHTEYEGLOW.BLP
Now to set in the dbc where you find your Demon Hunter skin for example.
Open up CharSections.dbc then lets just use humans for now as examples.
I haven't made a custom class shell so I don't know a hundred percent of how it works but I have a basic idea, any who I believe column 8 to be where the class is defined for the skin so if you copy role 14 which is 10177 CharacterHumanMaleHumanMaleSkin00_12.blp and copy line to 10178.
Keep in mind this is just an example which in theory should work, any who once you have your line copied put the location of your custom blp skin where HumanMaleSkin00_12.blp used to be then save and test it make a deathknight and see if the skin changes.
If the skin does in fact change or get added would be a better term then the next step would be to change the flag 5 to the flag of your demon hunter class or you could use race 8 which is an inactive race, I think it belongs to the dark iron or something.[/paragraph:8el62cj7]
I did this just on the fly so I will probably make a full explanation at a later time.
I hope this helped.
CharSections wikihttp://www.pxr.dk/wowdev/wiki/index.php?title=CharSections.dbc
CharRaces wikihttp://www.pxr.dk/wowdev/wiki/index.php?title=ChrRaces.dbc
-
Thanx I'll try this and post the results in a video if it works
-
ok just one question how do I know what the flag of my new class is. it is the 12th class if that helps
PS sorry for the double post
-
ok just one question how do I know what the flag of my new class is. it is the 12th class if that helps
PS sorry for the double post
I wouldn't know I haven't made a new class yet.
Did it work btw with the deathknight?
-
yes it worked with the dk. but I can't seem to figure out how the flag is assigned to the deathknight.
If I can figure that out I could probably figure out how the flag is assigned to my demonhunter
-
Is demon hunter using up class 10?
Edit: It's weird I can't find the number 5 being connected to deathknight in any other dbc files.
-
it's using class 12
-
I've hit a stone wall sadly...
I'll keep looking tomorrow maybe I'm not seeing something right now.
Without a connection to the flag number for deathknight of 5 I can't find your custom class's flag.
I know some people here have managed this so maybe if they see this post they might be able help.
-
thanx man