View Single Post
  #1  
Old 03-30-2009, 08:02 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
Adding custom faces

Hello. I am trying to add a custom .vzf face to my avatar, but the face simply does not show up. I have read the posts on adding custom heads and tried the tips in them to no avail. We are just using a stock avatar body, but want the face of the child (the new vzf) on the avatar. We tried the following:

Code:
## CHILD SETUP
child = viz.add("child/child.cfg")
# texture with children's clothes
child.texture(textures[gender], 'm_legs.cmx')  
child.texture(textures[gender], 'm_torso_LS.cmx') 
child.texture(textures[gender], 'm_shoes.cmx')
# add custom head
childFace = viz.addFace(headFilename)
childFace.scale(.30, .30, .30)
child.setFace(childFace)
We also tried

Code:
## CHILD SETUP
child = viz.add("child/child.cfg")
# texture with children's clothes
child.texture(textures[gender], 'm_legs.cmx')  
child.texture(textures[gender], 'm_torso_LS.cmx') 
child.texture(textures[gender], 'm_shoes.cmx')
# add custom head
childFace = viz.add(headFilename)
childFace.scale(.30, .30, .30)
child.face(childFace)
None work. We just get the default face showing up.

Any ideas?

Thank you.
Reply With Quote