I did some more investigating, and here are some differences I have found between placeable files and prop/model files using the same item. It looks like the mao files are different. Here's the mao for the covered wagon prop/model (prp_wagoncover_01_0)
?xml version="1.0" encoding="UTF-8" standalone="yes"?>
!-- Exported by Material Editor -->
Material Name="static.mat">
DefaultSemantic Name="Default">
Texture Name="mml_tLightmap" ResName="LM.dds" RequiresID="true">
Texture Name="mml_tDiffuse" ResName="p_wagon_covered_01d.dds">
Texture Name="mml_tNormalMap" ResName="p_wagon_covered_01n.dds">
Texture Name="mml_tSpecularMask" ResName="p_wagon_covered_01s.dds">
SoundType Name="mml_iSoundMaterialType" value="0">
/MaterialObject>
And here's the mao for the placeable version of the same item (plc_wagoncover_01_0)
?xml version="1.0" encoding="UTF-8" standalone="yes"?>
!-- Exported by Material Editor -->
Material Name="Prop.mat">
DefaultSemantic Name="Default">
Texture Name="mml_tDiffuse" ResName="p_wagon_covered_01d.dds">
Texture Name="mml_tNormalMap" ResName="p_wagon_covered_01n.dds">
Texture Name="mml_tSpecularMask" ResName="p_wagon_covered_01s.dds">
Texture Name="mml_tTintMask" ResName="p_wagon_covered_01t.dds">
/MaterialObject>
There seem to be 3 main differences:
- prp files use static.mat while plc files use prop.mat (I checked a few more to make sure that it wasn't unique to this one model or placeable)
- The prp files get a tLightmap line but no tTintMask line
- The plc files get a tTintMask line but no tLightmap.
I remember something about lightmaps not applying to placeables, and that's why placeables and props look different when placed next to each other in the same room even when they are using the same mesh. I'm wondering if that's what the TintMask and Lightmap difference is.
So, the question I have for the forum is how do I generate a tTintMask or tLightmap? Do the meshes already have both? I would think so since both prp and plc use the same mesh.
Any ideas?
Modifié par PavelNovotny, 06 décembre 2009 - 04:34 .