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

I've been holding back on submitting this for a while, primarily because of how the functions in this header could be...abused. Nevertheless, here it is.

The HurtEffects.zh header relates purely to the engine effects generated for Link, not for enemies, and gives you control over the following:

Knockback: Namely, the ability to disable knockback when Link is hit. This is useful for ensuring that if an enemy deals zero damage, Link isn't subjugated to knockback; or for spike mazes and such, t prevent knockback from causing multiple hits.

Hurt Sound Effects: The ability to disable, or randomise the sound generated when Link is hurt. Requires the included blank sound sample (Silent.wav)

Invincibility Frames: The ability to reduce, limit, or entirely eliminate Link's invincibility frames. This feature is pretty much why I was going to either avoid submitting this, or do so in an altered form. It i usable, but I advise that you should take great care in how you use it.

Note: This version (v1.2) includes a utility function that should prevent flickering, r flashing.

The header includes functions to determine if Link was damaged (current frame), and other utilities. Moat are used in the example global active script, and other example scripts.