

I´ve to test more around, first test with the same shape as on your pics ain´t work for me



Moderator: NADEO
Code: Select all
<Pivots>
<Pivot Pos="0 0 0 Rot="0 0 0"/>
<Pivot Pos="0 0 0" Rot="180 0 0"/>
</Pivots>
Code: Select all
<MeshParams MeshType="Static" Collection="Storm" Scale="0.01">
<Materials>
<Material Name="_TDSNEM_BL2Test" Link="???"/>
</Materials>
</MeshParams>
I've created no embedded objects so far and therefore no experience with links to library materials. I can't help here.MPotK wrote:1) Now I want an embedded cube with the baseground texture but I can't find the link for this texture in the Lib file.
You can use any name. The shading model is defined by the new Model attribute and the physical type of the material by the PhysicsId attribute:MPotK wrote:2) Can I use any name for material name or do I need this kind of naming convention (_TDSN..._...)
Code: Select all
<Material Name="CarBody" Model="TDSN" BaseTexture="Texture\CarBody" PhysicsId="Metal"/>
Code: Select all
<Material Name="_TDSN_CarBody_Metal" Model="TDSN" BaseTexture="Texture\CarBody" PhysicsId="Metal"/>
Code: Select all
NadeoImporter 2014-10-22_12_37
Material link not found in lib : BaseGround
Code: Select all
NadeoImporter 2014-10-22_12_37
Material link not found in lib : TechGround
Code: Select all
<MeshParams MeshType="Static" Collection="Storm" Scale="0.01">
<Materials>
<Material Name="_TDSNEM_BL2Test" Link="Tech"/>
</Materials>
</MeshParams>
Code: Select all
<Item Type="StaticObject" Collection="Storm" AuthorName="LotK">
<Phy>
<MoveShape Type="mesh" File="Meshes/CubeTest2.Shape.gbx" PhysicsId="Metal"/>
</Phy>
<Vis>
<Mesh File="Meshes/CubeTest2.Mesh.gbx"/>
</Vis>
</Item>
Code: Select all
Material(BaseGround)
DSurfaceId (TechGround)
DUvLayer (BaseMaterial , 0)
DUvLayer (Lightmap , 1)
DTexture( BaseGround_D.dds)
DTexture( BaseGround_S.dds)
DTexture( BaseGround_N.dds)
DTexture( BaseGround_Mask.dds)
Code: Select all
<MeshParams MeshType="Static" Collection="Canyon">
<Materials>
<Material Name="A" Link="ArenaFloor" />
</Materials>
</MeshParams>
Could you point me to some documentation that mentions the UV layer thing?maxi031 wrote:Yep it is projection from above.
You can not use that material for side, use it only for horizontal faces.
Lightmap uv layer you mention is used for shadow calculations.
http://doc.maniaplanet.com/creation/imp ... _mesh.html (Section 1.1)Miss wrote:Could you point me to some documentation that mentions the UV layer thing?maxi031 wrote:Yep it is projection from above.
You can not use that material for side, use it only for horizontal faces.
Lightmap uv layer you mention is used for shadow calculations.
Users browsing this forum: No registered users and 2 guests