I use block.xml for my example what you did wrong
Here is original xml file
Code: Select all
<?xml version="1.0" ?>
<Object>
<Model></Model>
<ColorMap></ColorMap>
<NormalMap></NormalMap>
<ShaderPath></ShaderPath>
<ShaderName></ShaderName>
</Object>
and here is your version of xml file
Notice the lover and upper cases (there is big differences if you are typing colourmap or ColorMap)
Also there is better vesion of object xml file look for arena objects or hex create objects
Code: Select all
<?xml version="1.0" ?>
<object>
<model></model>
<colourmap></colourmap>
<normalmap></normalmap>
<shadername></shadername>
<materialpath></materialpath>
</object>
OK i add that newer version xml file format also here
Code: Select all
<?xml version="1.0" ?>
<Object>
<Model></Model>
<ColorMap></ColorMap>
<NormalMap></NormalMap>
<WeightMap></WeightMap>
<DetailMaps>
<DetailMap colorpath=".tga" normalpath=".tga" materialpath=".xml" />
<DetailMap colorpath=".tga" normalpath=".tga" materialpath=.xml" />
<DetailMap colorpath=".tga" normalpath=".tga" materialpath=".xml" />
<DetailMap colorpath=".tga" normalpath=".tga" materialpath=".xml" />
</DetailMaps>
<ShaderName>detailmap4</ShaderName>
<flags
double_sided = "true"
no_collision = "true"
bush_collision = "true"
/>
</Object>
Edit: added <flags tag or whatever you call that but they are optional this means you don't have to use all of them when you don't need them.