This is an old revision of the document!
Define the effects and how each hit type behaves. These hit types can later on be used in your moves.
Hit Effect Group
Example: For a slow motion effect, set this to a value between 1 and 20%.
Restart Animation on Hit: If toggled on, every consecutive hit after the first one will restart the hit animation.
Animation Deceleration Effect: When toggled the animation will start at 1.5 of its original speed and decelerate according to the stun applied. Disable to have full control of your hit animation speed.
Code access:
UFE.config.hitOptions.weakHit
UFE.config.hitOptions.mediumHit
UFE.config.hitOptions.heavyHit
UFE.config.hitOptions.crumpleHit
UFE.config.hitOptions.blockHit
UFE.config.hitOptions.parryHit
UFE.config.hitOptions.customHit1
UFE.config.hitOptions.customHit2
UFE.config.hitOptions.customHit3
Code example:
void OnNewAlert(string alertMsg, CharacterInfo player){ if (alertMsg == UFE.config.selectedLanguage.fight) { UFE.config.hitOptions.crumpleHit.shakeDensity = .1f; } }