Closed yretenai closed 3 years ago
<structure name="MADD" version="2" size="152">
<description>Model something with material</description>
<versions>
<version number="2" size="152" />
</versions>
<fields>
<field name="name" type="Reference" refTo="CHAR" since-version="2" />
<field name="unknown2" type="Reference" refTo="U32_" since-version="2" />
<field name="unknown3" type="Reference" refTo="CHAR" since-version="2" />
<field name="layerData" type="Reference" refTo="CHAR" since-version="2" />
<field name="texturePaths" type="Reference" refTo="SCHR" since-version="2" />
<!-- <field name="unknownRef6" type="Reference" /> -->
<field name="unknown6Decomp1" type="uint32"/>
<field name="unknown6Decomp2" type="uint32" />
<field name="unknown6Decomp3" type="uint32" />
<!-- <field name="unknownRef7" type="Reference" /> -->
<field name="unknown7Decomp1" type="uint32"/>
<field name="unknown7Decomp2" type="uint32" />
<field name="unknown7Decomp3" type="uint32" />
<!-- <field name="unknownRef8" type="Reference" /> -->
<field name="unknown8Decomp1" type="uint32"/>
<field name="unknown8Decomp2" type="uint32" />
<field name="unknown8Decomp3" type="uint32" />
<!-- <field name="unknownRef9" type="Reference" /> -->
<field name="unknown9Decomp1" type="uint32"/>
<field name="unknown9Decomp2" type="uint32" />
<field name="unknown9Decomp3" type="uint32" />
<field name="unknown10" type="float" since-version="2" />
<field name="unknown11" type="float" since-version="2" />
<!-- <field name="unknownRef12" type="Reference" /> -->
<field name="unknown12Decomp1" type="uint32"/>
<field name="unknown12Decomp2" type="uint32" />
<field name="unknown12Decomp3" type="uint32" />
<field name="unknown13" type="uint32" since-version="2" />
<field name="unknown14" type="uint32" since-version="2" />
<field name="unknown15" type="uint16" since-version="2" /> <!-- maybe buffer count something? -->
<field name="unknown16" type="uint16" since-version="2" /> <!-- always 0x400 -->
<field name="unknown17" type="uint32"/>
<field name="unknown18" type="uint32" />
<field name="flags" type="uint32" /> <!-- 0x10000 with character models? -->
</fields>
</structure>
MADD might be a structure created to define graph-like material data, the devs dropped that hint on Reddit.
Models with MADD materials can now be imported on master
branch. But there are no plans to support them properly, as m3v30 is exclusive to Storm engine (SC2 supports up to m3v29). So I'm closing this for now.
Unknown section at offset 370016 with tag=MADD version=2 repetitions=1 sectionLengthInBytes=160 guessedUnusedSectionBytes=8 guessedBytesPerEntry=152.0
Model:
mods\heroes.stormmod\base.stormassets\Assets\Units\Heroes\Storm_Hero_Alexstrasza_Cowl\Storm_Hero_Alexstrasza_Cowl.m3
(PTR)