ArtDefs unearthed
Hey Modding folk
I have a few questions about the ArtDef Xml or more specifically the </GameItemTypeArtDef> tag.
I'm trying to write a parser for them but I'm still a bit stumped about some details of the format
so basically the </GameItemTypeArtDef> is a container for multiple </GameItemTypeModelPack> which manages the override for different Models each ModelPack then starts off with the models its supports and which icon too use etc
the tricky bit comes within the <GameItemTypeModel> each has a <ModelFile> , constituting the path of the model used.
The other tags in there however are strangely ambiguous this is where my questions start
Attachment:
Items seem to either have an <AttachmentType> which is always set to "skinned" or an <Attachment> tag with an Attachment point.
How do these work? Is there either an <AttachmentType> XOR <Attachment> or can they both be in an Model? and are they each unique?
looking at all the art defs in ArtGameItem.xml and CoreClothes.xml this seems to be the case, but i would like some confirmation before I Hard code that;
Color :
there are several color tags so far i have identified
Color_Clothing1
Color_Clothing2
Color_Metal
Color_All
with values either being R,G,B ; Color_Metal;Color_Clothing1 ; Color_Clothing2 which i guess correspond to the colors of the chosen faction
are these all? or did i miss any color tags?
Texture:
they seem to be coming in tags of the format
<Texture_Color> i.e. <Texture_Clothing1> will texture the fields that are colored by Color_Clothing1 same questions as with colors here, is that the general form? and do all Colors have a corresponding Texture tag?
As i said the goal is to write a parser so knowing the value range and uniqueness of each tag is rather help full. Thank you for all replies in advance ![]()