PDA

View Full Version : Adding a face to an existing avatar


dan12345
01-29-2008, 01:44 AM
i tried running

female = viz.add('resources/AVATARS/F_business01_adult_highheels_Hi/business01_f_highpoly.cfg')
face = viz.addFace('resources/biohead_talk.vzf')
female.setFace( face, 'Bip01 Head', 'Bip01 Neck' )

the female added is one that comes with the Characters package.
the problem is that when executing this command the old face does not disappear, and instead there is a mess instead of a face. Isn't
setFace supposed to automatically disappear the old face? how can i fix this?

the following commands work just fine, with the default female
character, just for comparison.
female = viz.add('female.cfg')
face = viz.addFace('resources/biohead_talk.vzf')
female.setFace( face )

farshizzo
01-29-2008, 07:26 PM
You need to add the following line in the avatar cfg file in order for the head mesh to disappear:
head_mesh = mesh.cmfYou will need to replace mesh.cmf with the actual filename of the head mesh.