Re: Horns & Halo at the same time? [message #61963 is a reply to message #61958] |
Mon, 28 March 2011 11:13 |
|
JohnDoe
Messages: 3007 Registered: October 2007
|
Retired
|
|
|
Here it goes, the CHeroMorphDef controls texture, bone and effect morphing. The texture and bone morphing are gradual. The effect morphing is a lot like the CAppearanceDef morphing that I'll explain shortly.
CAppearanceModifierDef controls which models the Hero uses based on which clothing he's got on and, for horns, which model appears based on certain stats. It's not done gradually, it's done at specific increments. I don't know the exact values but here's an example to give you an idea. Between 0.0 and 0.3 evil, nothing. Between 0.3 and 0.5, small horns. Between 0.5 and 0.7, medium horns. Between 0.7 and 1.1 (a number that cannot be reached and so acts as a cap), large horns. This is also how it works for hair and balding.
[Updated on: Wed, 30 March 2011 02:35] Report message to a moderator
|
|
|