I know that when dealing with tileset walkmeshes, the material type can be set to change how the walkmesh behaves - with one of the biggest factors being obscuring (material id 2) versus nonwalk (material id 7). Below is an .pwk from a placeable. What parameter within the pwk sets it to a particular material type? I don't think it's the 'bitmap' directive as I have looked at several tileset .wok files and those have only a single 'bitmap' directive, but will have several different terrain types (obscuring, grass, water, and dirt for instance). Is it the wirecolor of the mesh? The reason I ask is that many folks have been wanting placeables to be reworked with the correct type of walkmesh (true form versus a flat plane, and the right material type). I want to work on that for projects I have done. I just don't know how to start on the material type if it even applies to placeable walkmeshes. Thanks in advance.
# Exported from NWmax 0.8 b46 at 3/12/2014 4:13:01 AM
# pwk file
#
#NWmax PWKMESH ASCII
node trimesh plc_a01x_wg
parent plc_a01x_pwk
position 0.0 0.0 0.0
orientation 1.0 0.0 0.0 0.0
wirecolor 0.521569 0.431373 0.0313726
multimaterial 20
Dirt
Obscuring
Grass
Stone
Wood
Water
Nonwalk
Transparent
Carpet
Metal
Puddles
Swamp
Mud
Leaves
Lava
BottomlessPit
DeepWater
Door
Snow
Sand
ambient 0.0 0.0 0.0
diffuse 0.705882 0.0 1.0
specular 0.0 0.0 0.0
shininess 10.0
bitmap Nonwalk
verts 4
-1.48273 -0.715481 0.0
0.655877 -1.22788 0.0
-1.07001 0.733615 0.0
1.20518 1.18667 0.0
faces 2
2 0 3 1 0 0 0 7
1 3 0 1 0 0 0 7
endnode
node dummy A01_pwk_use01
parent plc_a01x_pwk
position 0.0 0.0 0.0
orientation 1.0 0.0 0.0 0.0
wirecolor 0.721569 0.894118 0.6
endnode