Jump to content

[Autoghost] Ice Lynel

Overview
Creator: Orithan Added: 17 Dec 2015 Tags: Enemy, FFC Downloads: 50
Rating[?]: Rating: 4/5 (1 rating)
View Script Download Package
(1.71 MB)
Information

Description Setup Reviews Comments

Requires Std.zh (included within your ZC folder), String.zh (included within your ZC folder) and Ghost.zh.

How to set the script up:

1) Make or rip the tiles that the Lynel and the ice layer will use. The Lynel itself uses 4 combos for the sprite itself: facing Up, Down, Left and Right in this order. The ice layer uses up to as many tiles as you want the Lynel to have ice layers, each additional ice layer coming right after each other in the tile page.

2) Import Ghost.zh, std.zh and string.zh and set up the global script to run autoghosted enemies if you already haven't. The instructions on how to set up Ghost.zh and Autoghost is included in the text files packaged inside the Ghost.zh folder and in this video Saffith set up on Autoghost.

3) Compile the script.

4) Adjust the enemy's stats and misc attributes as necessary:

Set up HP, Damage, Weapon Damage, Weapon, Step speed, Random Rate, Halt Rate and Homing Factor as usual.

Misc Attribute #:

- 1: The velocity of the sword beam, in pixels per second, being fired at the player. Defaults to 300, which is 3 pixels per frame.

- 2: The SFX played when Ice Lynel puts up an ice layer. Defaults to 44, which is the default Ice SFX

- 3: The amount of damage each Ice Layer adds to the Lynel's beam attack, in quarter hearts. Defaults to 4, which is 1 Heart

- 4: The number of ice layers the Lynel can get. Defaults to 2.

- 5: The delay between each time the Lynel gains an ice layer. Defaults to 120, which is 2 seconds.

- 6: The number of hits it takes to remove each layer. Defaults to 2.

- 7: The number of layers the Ice Lynel starts off with. Defaults to 0.

- 8: The flags determining what defenses the ice layer does not defend against. By default, the ice layer does not protect against Bombs, Super Bombs, Fires, Reflected Fireballs and Script LWeapons. Look up the Misc Attr Flags and std_constant.zh for more details of which flags correspond to which defense.

- 9: The base tile for the ice layer. Set this to the tile of the first ice layer.

- 10: The CSet for the ice layer. Default to 7.

- 11: The starting combo the Lynel uses. Must be the combo that corresponds to its up-facing sprites. This is an Autoghost requirement.

- 12: The number of the FFC script the Lynel uses. This is also an Autoghost requirement.

5) Enjoy