papillon68 opened this issue on Nov 08, 2009 · 9 posts
ockham posted Sun, 08 November 2009 at 10:41 AM
Here's a template for a PZ2 that changes a material on the figure itself and a
material on an attached prop. (In this case the prop is a skirt.)
Note that I've shortened the material paragraphs so you can see the format.
========================================
{
version
{
number 4.01
}
figure
{
material SkinTorso
{
KdColor 0 1 0 1
KaColor 0 0 0 1
KsColor 0.0196078 0.0196078 0.0196078 1
TextureColor 1 1 1 1
NsExponent 30
...................
}
}
actor CowgirlSkirt
{
material skirt
{
KdColor 0.933333 0.933333 0.933333 1
KaColor 0.2 0.2 0.2 0
KsColor 0.498039 0.498039 0.498039 1
TextureColor 1 1 1 1
...................
}
}
}