Player::setFaceFeature: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 11: Line 11:
*8: Cheekbone height (-1 top, 1 bottom)
*8: Cheekbone height (-1 top, 1 bottom)
*9: Cheekbone width (-1 narrow, 1 wide)
*9: Cheekbone width (-1 narrow, 1 wide)
*10: Hoes width (-1 wide, 1 narrow)
*10: Cheeks width (-1 wide, 1 narrow)
*11: Eyes (-1 opened, 1 closed)
*11: Eyes (-1 opened, 1 closed)
*12: Lips (-1 wide, 1 narrow)
*12: Lips (-1 wide, 1 narrow)
*13: Jowl width (-1 narrow, 1 wide)
*13: Jaw width (-1 narrow, 1 wide)
*14: Jowl height (-1 top, 1 bottom)
*14: Jaw height (-1 top, 1 bottom)
*15: Chin length (-1 small, 1 long)
*15: Chin length (-1 small, 1 long)
*16: Chin position (-1 inward, 1 outward)
*16: Chin position (-1 inward, 1 outward)

Revision as of 11:07, 27 June 2017

Sets the various freemode face features, e.g. nose length, chin shape. Scale ranges from -1.0 to 1.0. Index can be 0 - 19. Index information (thx Mcfloy):

  • 0: Nose width (-1 narrow, 1 wide)
  • 1: Nose height (-1 top, 1 bottom)
  • 2: Nose length (-1 grand, 1 petit)
  • 3: Nose bridge (-1 round, 1 hollow)
  • 4: Nose tip (-1 upward, 1 downward)
  • 5: Nose bridge shift (-1 to the right, 1 to the left)
  • 6: Brow height (-1 top, 1 bottom)
  • 7: Brow width (-1 inward, 1 outward)
  • 8: Cheekbone height (-1 top, 1 bottom)
  • 9: Cheekbone width (-1 narrow, 1 wide)
  • 10: Cheeks width (-1 wide, 1 narrow)
  • 11: Eyes (-1 opened, 1 closed)
  • 12: Lips (-1 wide, 1 narrow)
  • 13: Jaw width (-1 narrow, 1 wide)
  • 14: Jaw height (-1 top, 1 bottom)
  • 15: Chin length (-1 small, 1 long)
  • 16: Chin position (-1 inward, 1 outward)
  • 17: Chin width (-1 narrow, 1 grand)
  • 18: Chin shape (-1 simple chin, 1 double chin)
  • 19: Neck width (-1 narrow, 1 wide)


Syntax

player.setFaceFeature(index, scale);

Required Arguments

  • index: int
  • scale: float

Return value

  • Undefined

Example

// todo

See also