I haven't seen anything obvious in example MMH.XML files for a vanilla game floor model besides CastRuntimeShadow="1" CastBakedShadow="1" ReceiveBakedShadow="1", which I added to my model's MMH.XML before compiling. There was no change though. I also changed the MAO to replicate one of the game's tileset pieces as follows:
<Material Name="Static.mat"></Material> <DefaultSemantic Name="Default"></DefaultSemantic> <Texture Name="mml_tDiffuse" ResName="texname_0d.dds"></Texture> <Texture Name="mml_tNormalMap" ResName="texname_0n.dds"></Texture> <Texture Name="mml_tLightmap" ResName="LM.dds" RequiresID="true"></Texture> <SoundType Name="mml_iSoundMaterialType" value="13"></SoundType>
But again, there was no change. The level editor still complained about a lack of meta data. I also get the same thing when I edit one of the vanilla model's MMH and PHY to use a different model name, so I assume that there must be a database somewhere that uses file names. Linked to the RequiresID="true" line above maybe? I looked through the 2DAs and some of the XMLs, but I couldn't see anything obvious.
Modifié par DarthParametric, 01 janvier 2010 - 08:48 .





Retour en haut







