Modcraft - The community dedicated to quality WoW modding!
Content creation => Texturing and 2D Art => Topic started by: Moonlightshadow on July 23, 2014, 02:22:26 pm
-
hi
as you might know there are some items that are using gender-specific (ie, different textures for males and females), while the others are using the same for both genders
my question here now is, where (i assume in some dbc?) exactly is it defined which item is using gender-specific and which don't?
-
Just seek in files of those textures
(http://i.imgur.com/rHQEaYp.png)
-
_F = Female
_M = Male
_U = Unisex
-
no, that's not what i'm looking for.
see, i know alright about the blp textures, which ones are the gender specific ones and which are not, as well as their denotation.
i am looking for the location of the flag that actually sets a set of textures to gender specific, or not.
so i could set items that by default are not gender specific to gender specific, and vice versa
-
Do you mean gender-specific items ?
Else, like, the _F/_M/_U is the only thing making sense to me about your case
-
i think thats automaticla WoW just look into MPQs and search BLPs
for example when loading "Chest" WoW will automaticaly add _M / _F
Search for Chest_M
if find then load Chest_M on Male model
Search for Chest _F
if find load Chest_F on Female model
-
thats not the case.
there are sets where there are _u, _m and _f textures present, sometimes the _u is loaded, sometimes the _m/_f.
there must be some .dbc or whatever setting these bitflags.
-
Have you checked the values of ItemDisplayInfoRec.m_modelTexture[]?
-
i'm sorry?
can you please tell me more (where to find it, etc), is it a .dbc entry somewhere?
i've just got a rough general idea about wow modding. the documentation about the .dbcs that i could find was poor.
-
Which documentation do you consult?
-
the wowdev wiki
is there any better documentation?
-
If you are looking at pxr.dk/wowdev/wiki, no there is no better one. I wonder how you can say that it would be poor, though, as it has complete information for that dbc, including official code from Blizzard as well as additional comments.
-
don't get me wrong, the wowdev wiki is helpful, however, pretty much all the .dbcs have incomplete descriptions (many data fields are unknown)
anyways, back to topic, where can i find ItemDisplayInfoRec.m_modelTexture[]?
-
don't get me wrong, the wowdev wiki is helpful, however, pretty much all the .dbcs have incomplete descriptions (many data fields are unknown)
anyways, back to topic, where can i find ItemDisplayInfoRec.m_modelTexture[]?
It still is the most complete documentation available. If you find out stuff, just add it. If you don't manage to reverse it yourself, just ask on the forums. For dbcs like ItemDisplayInfo, documentation is 100% complete and correct thought.
In ItemDisplayInfo.dbc. I don't know the column by heart, just look in the wiki.
-
so, i had a look into itemdisplayinfo.dbc, and didn't seem to find anything setting the gender-specificness flag.
i'm really noob at modding, so does any one else have a clue? (where else to look, etc, or better, just tell me where the flag is set)
-
Why don't you give an example of a set? My understanding is that it loads the M/F version if present, else it loads the U version. Is there a set where this isn't the case (IE: it loads the U version even when there's a M/F version present)? If so, then name it and we can have a look at it.
-
Why don't you give an example of a set? My understanding is that it loads the M/F version if present, else it loads the U version. Is there a set where this isn't the case (IE: it loads the U version even when there's a M/F version present)? If so, then name it and we can have a look at it.
It is, and it was what I was referring to.
-
the opposite is true, actually (first, the unisex textures are loaded, then, should these not exist, the gender specific ones)
-
Females can use unly _f and _u textures, males only _m and _u. So there can be up to 2 BLPs which are possible to be used for item. WoW uses that one which is found in MPQs and if there are both of them, it just uses one of these 2 which is preffered. I am not entirely sure which one is preffered, but I think it will be _u. its not set in any DBC or flag.
-
the opposite is true, actually (first, the unisex textures are loaded, then, should these not exist, the gender specific ones)
You're really side-stepping the points here that would let us help you.
-
hm?
i'm pretty certain (from some observation) that its working like i said (loading unisex first, then genderspecific), if there is no extra boolean to toggle this setting. i should go do some more tests.
i thought, there might be some flag setting the behaviour, but apparently i am mistaken.
-
ok
after some testing i can say that wow is stupid, its using a brute force mechanism
first, always the unisex (_U) textures are loaded
should this fail, and only then will it try to load the gender specific ones (_M or _F, depending on the character's gender)
-
Told you :D.
-
ok
while we are at it, another question
is it possible to change (somewhere in the model files?) which version of the gender specific texture a character will load?
lets say, make a female tauren model load the male textures?