Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => "Retro-Porting" => Topic started by: caduceus on April 19, 2015, 02:12:53 pm
-
As title states, I am looking for the model Id for the worgen skeleton that would take place after a resurrection. I recently ported both goblin and worgen to 335. Now when the character resurrects it leaves the dreaded white and blue cube.
Example:
(http://i62.tinypic.com/23w6wwn.jpg)
This is Tauren:
(http://i61.tinypic.com/28000gp.jpg)
How are these gameobjects handled? Where are they handled?
-
The models for all skeletons are in World/Generic/passivedoodads/deathskeletons/ and there you will find all of the skeleton models.
I'd recommend doing a little research (http://www.pxr.dk/wowdev/wiki/index.php?title=Category:DBC_WotLK) so you can attach the models to the races that you're using now.
(http://i.imgur.com/a4DB2Ct.png)
-
So is this a dbc issue? Is it within the GameObjectDisplayInfo or is there another specific .dbc to look into?
-
So is this a dbc issue? Is it within the GameObjectDisplayInfo or is there another specific .dbc to look into?
This could be a DBC issue or a model issue.
Like phantomx has showed us (http://i.imgur.com/a4DB2Ct.png (http://i.imgur.com/a4DB2Ct.png" onclick="window.open(this.href);return false;)) there are files for the death skeletons for all races, including Worgen. So if they don't show when your character dies with that certain race, then that could mean 2 things:
1) Your files are corrupted. Maybe they were extracted or converted wrong? Point is, that the files may be corrupt.
2) You have not set them up correctly the dbc. Check the following DBC Files:
CharSections.dbc
CreatureDisplayInfo.dbc (I know that this is for Display IDs, the skeleton isn't a display id, however, worth checking)
CreatureModelData.dbc
Hope I helped, and good luck.
-
Thnk you. I found only one entry in a cata GameObjectDisplayInfo.dbc that leads to a femaleWorgen... Where do these ID's from the GameObjectDisplayInfo.dbc get called for deathskeletons?
-
I am afraid that this will be handled by core itself, maybe even client. I have checked DBCs and DB tables related to races and found just nothing, but of course, I could miss something. Still, checking the core would seem to be the best idea for me in this case. However, I am no core developer, so you will have to wait for someone else to do this if you are as unfimiliar with TC2 src as me.
-
I am afraid that this will be handled by core itself, maybe even client. I have checked DBCs and DB tables related to races and found just nothing, but of course, I could miss something. Still, checking the core would seem to be the best idea for me in this case. However, I am no core developer, so you will have to wait for someone else to do this if you are as unfimiliar with TC2 src as me.
I can't seem to trace anything back to a DEATH_BONE or a deathskeleton with an ID in core. Several instances within pertaining to, just no defined ID per race. That I can find anyways.
-
I cannot seem to find any where that would be a DeathSkeleton ID for a Character Model in the database. I see a few for mobs. I'm stumped here. Where are these ID's defined? I have looked into CreatureDisplayInfo.dbc, Column 8 (See this for information when they are used.)
Which leads to:
Skeletal Bone Lookup
nSkelBoneLookup 16-bit integers starting at osfSkelBoneLookup (values: -1 to nBones-1)
nSkelBoneLookup is 27 for most characters/models with lots of animation. For static models it's 1. Intermediate values are rare.
Its a lookup table for Key Skeletal Bones, hands, arms, legs, etc.
But still no info on where to define the Skeletal Bone
-
I cannot seem to find any where that would be a DeathSkeleton ID for a Character Model in the database. I see a few for mobs. I'm stumped here. Where are these ID's defined? I have looked into CreatureDisplayInfo.dbc, Column 8 (See this for information when they are used.)
Which leads to:
Skeletal Bone Lookup
nSkelBoneLookup 16-bit integers starting at osfSkelBoneLookup (values: -1 to nBones-1)
nSkelBoneLookup is 27 for most characters/models with lots of animation. For static models it's 1. Intermediate values are rare.
Its a lookup table for Key Skeletal Bones, hands, arms, legs, etc.
But still no info on where to define the Skeletal Bone
^ that is the Animation Skeleton, you know when people Rig up 3D Models, they call the Rig an Skeleton because that's pretty much what it looks like to most people. Not the death model you are thinking of, sure it's made up of bones and such but merely looking up the words bones and skeleton will only get you to animation documents.
Since you seem to be the only person here that's remotely interested in what your thread is about.... why don't you maybe help yourself by thinking in reverse? Forward thinking is to add a new death model in which has proved fruitless.... Why not reverse your thinking and remove or switch out an existing Skeleton? If you can do that you can probably figure out how to add a new one in.
That's why they call it Reverse Engineering... though this here isn't engineering, but if you go backwards, you can usually go forwards, just with a whole lot more trouble but you'll be able to do it atleast :D.
And by remove or replace, I don't mean removing or replacing the m2 file, figure out what configuration data you gotta screw the hell up to make a change, could be an xml/lua/dbc/database, who knows. just try to do that...once you figure that out, go on from there.
Atleast that's kind of how I've always gone about doing things when I was the only actual person interested in a particular Idea. Sure after I put out my research data, others became interested but no one wanted to lend me a hand to start the initial researching, but that's just how people are. ^_^ , goodluck. Not just talking about wow modding here, I do other things that requires research and data acquisition skills :D
In the end, it could just be something as simple as an automatic suffix that's appeneded to your own data, like by taking the name you have in your chrrace.dbc file and adding DeathSkeleton to it, and because it's not finding that, you get a box. Think in and outside the box :D
-
This being wonderful advice. I don't know where the skeletons are being called from to reverse anything. If I knew that I wouldn't be here. I am aware that the skeleton in the above post was for rigging. However, It was to state that this was the only thing I have found within any dbc edit as stated by a Prior post to '"research" the dbc format. Thank you for at least reading the thread. Hopefully I will stumble onto a resolution.
-
It's handled corewise
-
It's handled corewise
Would you care to expand on that comment?
I can't seem to trace anything back to a DEATH_BONE or a deathskeleton with an ID in core. Several instances within pertaining to, just no defined ID per race. That I can find anyways.
I most likely missed something.
-
Okay, half-handled by core; I can not pinpoint where it's storing what bones belong to which race, I'm looking into it right now
-
Any help on this subject is greatly appreciated. I am boggled.
-
Spontanous idea; Client directs skeleton bones by using the Racestring (Human, Orc, Dwarf) and generates the model accordingly. That would be ChrRaces.dbc row 12 and uses the models in that folder. Try that. Does it change anything ?
In the end, it could just be something as simple as an automatic suffix that's appeneded to your own data, like by taking the name you have in your chrrace.dbc file and adding DeathSkeleton to it, and because it's not finding that, you get a box. Think in and outside the box
Anthony said that already, did you test that yet ?
-
Spontanous idea; Client directs skeleton bones by using the Racestring (Human, Orc, Dwarf) and generates the model accordingly. That would be ChrRaces.dbc row 12 and uses the models in that folder. Try that. Does it change anything ?
In the end, it could just be something as simple as an automatic suffix that's appeneded to your own data, like by taking the name you have in your chrrace.dbc file and adding DeathSkeleton to it, and because it's not finding that, you get a box. Think in and outside the box
Anthony said that already, did you test that yet ?
That is in fact the case.
WorldGenericPassiveDoodadsDeathSkeletons${Race}${Gender}DeathSkeleton.mdx
eg
WorldGenericPassiveDoodadsDeathSkeletonsTrollFemaleDeathSkeleton.mdx
-
Thank you for your assistance. It was a CharRace issue. Column 12 just as Ascathos had instructed. Worgen was not present instead it had Broken. For some reason I had changed Column 15 and not Column 12 in the initial switch.