Jump to content

HurtEffects.zh - Link Knockback, Sound, etc.

Overview
Creator: Timelord Updated: 09 Aug 2016 Tags: FFC, Global, Library Downloads: 73
Rating[?]: No rating
Download Package
(1.19 MB)
Information

Description Setup Reviews Comments

Settings
Assign the desired numeric values to the Settings constants as needed.

Knockback
If you wish to disable knockback entirely, at all time, set OVERRIDE_KNOCKBACK_GLOBALLY to 1.
If you wish to disable it conditionally, use the function DisableKnockback(true) to do so, and DisableKnockback(false) to revert to engine knockback, as desired.

To prevent knockback (globally) for 0-power weapons, and 0-power enemies, enable the setting OVERRIDE_ZERO_POWER_KNOCKBACK. This is enabled by default, so if you wish to retain knockback from 0-power hits, disable it.

Flash or Flicker
To disable flickering or flashing when hit, enable OVERRIDE_INVINCIBILITY_FLICKER and ensure that you assign the ffc script NoLinkFlicker to a slot when compiling. This feature requires ffcscript.zh.

Sound Effects
Replace the sound assigned to Link's Hurt (Ouch) sound, with Silent.wav.
Populate the array HurtSFX[] with sounds that you want to use for land.
If you enabled 'WATER_HURT_SOUNDS' in Settings, populate the array HurtSFX_Water[] with hurt sound effects to play while Link is in water.

The ZIP includes v1.1, and v1.2, which is a preliminary upgrade; the sound file 'Silent.wav', and an example quest using v1.0 or v1.1. Version 1.1 is thoroughly tested.