Enemy Editor

From ZCWiki
Jump to: navigation, search
Version-2.50.png The information below describes features introduced in Zelda Classic version 2.50.


The Enemy Editor lets you modify existing enemy types and create new ones. It is found under Quest/Enemies in the Menus.

General

You don't delete enemies or add new ones. You have a certain number of enemy slots, and the information they contain is up to you. To create a new enemy, you would take one of the "z###" enemies from the bottom of the list and edit its attributes to suit your purposes, and give it a name which introduces it into your standard list of enemies. To "delete" an enemy, you would remove its attributes and give it a name which is alphabetically well out of the way.

Data 1

The Data tab of the Enemy Editor while viewing the default Blue Darknut enemy.
Name 
Give your enemy a name.

Tile/Graphics

O. Tile, S. Tile, E. Tile and respective W/H fields
Select the tiles your enemy uses. O. Tile is used if the 'New Enemy Tiles' Rule is disabled; E. Tile is used if the 'New Enemy Tiles' Rule is enabled. S. Tile is only used in the following cases: Broken shield tiles for shielded enemies, Digdogger Kid Tiles for big Digdoggers (O. Tile only; not confirmed), Gleeok neck/head tiles (O. Tile only), Jumping tile for Pols Voice type walking enemies, Center Trap tile for 4-way Trap type enemies, Submerged tile for Zora type enemies.

Movement, Behavior

HP 
How many hit points this enemy has. It should be noted that a weapon with a Power of 1 will remove two points per hit. This is because, in The Legend of Zelda, an enemy having 1 HP meant that it could be killed in one sword stab, or one boomerang hit. Enemies with 2 HP, conversely, were killed in one sword stab but merely stunned by boomerangs. This weapon damage system is not present in Zelda Classic, and the ratio of enemy HP to weapon Power is reluctantly maintained for historical reasons.
Damage 
How many quarter-hearts Link loses if it touches him.
W. Damage 
How much damage, in quarter-hearts, Link takes if this enemy's weapon hits him.
Hunger 
Determines how attracted this enemy is to the Bait weapon. The range of values is 0 (no response) to 4 (extremely attracted). This is only applicable to the following enemy types: Walking Enemy, Dodongo, Ganon, Lanmola.
Weapon 
Which weapon, if any, this enemy fires. This is only applicable to the following enemy types: Walking Enemy, Projectile, Zora, Wizzrobe, Aquamentus, Manhandla, Gleeok, Gohma, Patra, Ganon.
Here is a full list of enemy weapons:
  • (None)- Does nothing
  • Fireball- Is aimed directly towards Link; can be blocked by the Magic Shield and reflected by the Mirror Shield; NOTE: If fired by Manhandla, Gleeok, Gohma, Patra, or Ganon, this weapon cannot be blocked or reflected
  • Arrow- Is shot straight forward and flies slowly through the air; Can be blocked by any shield.
  • Boomerang- Flies a short distance before returning to the enemy; if enemy is a walker and has rapid-fire shot type, the boomerang will be thrown directly towards Link; can be blocked by any shield
  • Sword- Is shot straight forward; can be blocked by the Magic and Mirror Shields
  • Rock- Is shot straight forward; can be blocked by any shield; cannot pass through solid combos
  • Magic- Is shot straight forward; can be blocked by the Magic Shield and reflected by the Mirror Shield
  • Bomb Blast- If enemy is a walker with the Rope walk style and the explode death type, this weapon will be used on death; creates a small explosion
  • Super Bomb Blast- If enemy is a walker with the Rope walk style and the explode death type, this weapon will be used on death; creates a large explosion
  • Lit Bomb- Is shot straight forward and creates a small explosion on impact; cannot be blocked by any shield
  • Lit Super Bomb- Is shot straight forward and creates a large explosion on impact; cannot be blocked by any shield
  • Fire Trail- A stationary weapon left behind by the enemy; provides light
  • Flame- Travels a short distance; can be blocked by the Mirror Shield only; provides light
  • Wind- Instead of damaging Link, this weapon sends him back to start; cannot be blocked at all
  • Flame 2- A flame with unlimited range; can be blocked by the Mirror Shield; does not provide light
  • Fireball (Rising)- Same as fireball, but fired at a slightly different angle
Type 
What type of enemy it is. Determines most of its movement and actions. You should avoid using (None)-type enemies in the game. Ganon-type enemies cannot be instantiated in-game outside of being spawned by the Ganon room type. Also, trap-type enemies cannot be instantiated in-game outside of being spawned by trap combo types, trap combo flags, or trap screen flags.
O. Anim 
What animation sequence to use if the "Use New Enemy Tiles" quest rule is not set. The 'n-Frame m-Dir' options refer to how many directions the enemy can face, and the number of animation frames it uses. A '4-Frame 4-Dir' animation makes use of four up-facing tiles, four down-facing tiles, four left-facing tiles, and four right-facing tiles, in that order. 'Firing' means that it uses an additional set of n-by-m tiles when it pauses to fire its weapon, and a third set of n-by-m tiles as it fires. 'Tracking' means that it faces toward Link regardless of its actual movement direction. Also, '3-Frame' animations actually have four animation frames, but repeat the second frame for the fourth frame, and thus only use 3 tiles per direction.
  • Frame Rate: Old enemy tile animation speed
E. Anim 
What animation sequence to use if the "Use New Enemy Tiles" quest rule is set.
  • Frame Rate: New enemy tile animation speed
Item Set 
What items this enemy may drop when killed. For exact information, see Item Drop Sets.
Random Rate 
How often this enemy considers changing direction after moving to a new combo, ranging from 0 (never) to 16 (always). Does not apply to the the following enemy types: Aquamentus, None-type enemies, Gohma, Other, Other (Floating), Projectile Shooter, Rock, Trap, Zora
Halt Rate/Turn Frequency 
For walking enemies, how often this enemy considers stopping after moving to a new combo, ranging from 0 (never) to 16 (always). For Digdoggers, Manhandlas, severed Gleeok heads, Patras, Keese, Peahats, and phantom Ghinis, how often they decide whether or not to change direction. Neither of these attributes apply to the following enemy types: Aquamentus, None-type enemies, Gohma, Other, Other (Floating), Projectile Shooter, Rock, Trap, Wizzrobe, Zora
Homing Factor 
How often this enemy, when changing direction, turns to face Link, ranging from 0 (never) to 255 (always). Does not apply to the following enemy types: Aquamentus, None-type enemies, Gohma, Other, Other (Floating), Projectile Shooter, Rock, Trap, Wizzrobe, Zora
Step Speed 
The movement speed. 100 step equates to 1 pixel per frame. 50 step is the normal speed of most enemies in The Legend of Zelda. 150 step speed is about as fast as Link's walking speed. This is not applicable to the following enemy types: Aquamentus, None-type enemies, Gohma, Other, Other (Floating), Projectile Shooter, Rock, Trap, Wizzrobe, Zora, BS Patra
Use Pal CSet 
If checked, the enemy will use a CSet from the Extra Sprite Palettes instead of a standard CSet.
Pal CSet 
The number of the CSet in the Extra Sprite Palettes to use. Does nothing unless Use Pal CSet is checked. If this is set to -1, the enemy would then use CSet 14 in the main palette.

Other Notes

  • It is possible to set an enemy's CSet to CSet 12, 13, or 14 of the main palette. To do this, check the Use Pal CSet box, and click OK. Then, select the enemy again, and un-check the Use Pal CSet box. One must click the enemy's tile and use the minus key on the num pad to select CSet 12 or 13. Using the plus key on the num pad while CSet 12, 13, or 14 is selected will skip back to CSet 0.

Data 2

Misc. Attributes 1-12 
The purpose of these values differs by enemy type. See each specific enemy type below. Note that Misc. Attributes 11 and 12 are for scripting purposes.

The following enemy types currently have no edtiable misc. attributes built-in by default:

  • Ganon
  • Ghini (as of Build 1145)
  • Other
  • Other (Floating)
  • Peahat
  • Spin Tile
  • Zora
BG SFX 
The Sound Effect an enemy emits until it is defeated.
Hit SFX 
The Sound Effect an enemy emits when hit.
Death SFX 
The Sound Effect an enemy emits when killed.

Defenses

Defenses determine how the enemy reacts to Link's weapons. Currently, these defenses do not apply to Traps, Rocks, Dodongos, Big Digdoggers, Ganon, or (None)-Type Enemies. Also, any projectile shooter whose tile is set to 0 is rendered invincible regardless of these defenses.

Each type of reaction is described below.

(None) 
The enemy takes damage, or is stunned if the weapon's damage is 0.
Block 
The enemy blocks the weapon. The weapon is destroyed or returns to Link, and the Shield sound effect is played.
Ignore 
The weapon passes harmlessly through the enemy.
1/2 Damage 
The damage of the weapon is reduced by half. It cannot be reduced below 1/2.
1/4 Damage 
The damage of the weapon is reduced even further. It cannot be reduced below 1/4.
Stun 
The enemy is stunned, even if the weapon normally does damage.
Stun or Block 
If the weapon's damage is 1 or more, the enemy is stunned. Otherwise, the enemy blocks the weapon.
Stun or Ignore 
If the weapon's damage is 1 or more, the enemy is stunned. Otherwise, the enemy ignores the weapon.
Block if < 1 
If the weapon's damage is less than 1, the enemy blocks the weapon. Otherwise, normal damage is dealt.
Block if < 2 
If the weapon's damage is less than 2, the enemy blocks the weapon. Otherwise, normal damage is dealt.
Block if < 4 
If the weapon's damage is less than 4, the enemy blocks the weapon. Otherwise, normal damage is dealt.
Block if < 6 
If the weapon's damage is less than 6, the enemy blocks the weapon. Otherwise, normal damage is dealt.
Block if < 8 
If the weapon's damage is less than 8, the enemy blocks the weapon. Otherwise, normal damage is dealt.
Ignore If < 1 
If the weapon's damage is less than 1, the enemy ignores the weapon.
One-Hit-Kill 
The enemy dies, and the weapon continues on.

To make an enemy invincible, set all of its Defenses to either 'Block' or 'Ignore'.

Misc Flags

Damaged by Power 0 Weapons 
If these weapons have a Power of 0, they will deal damage to the enemy instead of stunning them. The amount of damage dealt depends on the weapon's level, so a power 0 weapon with a level of 1 deals 1 point of damage, a level 2 power 0 weapon deals 2 points of damage, and so on.
Is Invisible 
This enemy is completely invisible.
Never returns after Death (Boss) 
Once killed, this enemy does not return even if you leave the screen and return.
Doesn't count as beatable enemy 
This enemy does not affect push blocks, the enemies->secrets flag, or shutters, and is not affected by the Kill All Enemies Item, the Kill All Enemies Cheat, or the death of the ring leader.
NOTES
  • Spin Tiles, Projectile Shooters, and Zoras are not counted as beatable enemies regardless of this flag, but can still be killed by things that kill all enemies unless this flag is checked.
  • Things that kill all enemies do not affect Big Digdoggers regardless of whether or not they count as beatable enemies.
  • This flag does not apply to None Type enemies except for those that are set as boss death triggers.
Can only be seen by Lens of Truth 
Is invisible, even with the Amulet. The quest rule 'Lens Reveals invisible enemies' must be turned on in order for the Lens of Truth to reveal this enemy.
Is Flashing 
This enemy will flash all the time. The CSets used in the flashing are 6, 7, 8, and 9.
Is Flickering 
This enemy will blink.
Is Translucent 
You can see through this enemy.
Shielded In Front (Walker) 
This enemy is invulnerable on the front side. Applies to Walking Enemies, Other, and Other (Floating) only.
Shielded On Left (Walker) 
This enemy is invulnerable on the left side. Applies to Walking Enemies, Other, and Other (Floating) only.
Shielded On Right (Walker) 
This enemy is invulnerable on the right side. Applies to Walking Enemies, Other, and Other (Floating) only.
Shielded In Back (Walker) 
This enemy is invulnerable on the back side. Applies to Walking Enemies, Other, and Other (Floating) only.
Hammer Can Break Shield 
This enemy's shield can be broken by the hammer. Applies to Walking Enemies, Other, and Other (Floating) only.

Spawn Flags

Spawned by ... 
When the enemy flag/combo type/combo flag/Ganon room type is on the screen, one of these enemies appears. Note that the lowest numbered enemy with one of these flags checked is selected to be spawned by one of these flags.
Spawn Animation (Walker)
How an enemy appears; Applies to Walking Enemies, Other, and Other (Floating) only.
Poof: Enemy uses the 'MISC: Spawn' Sprite when it appears.
Flicker: Enemy fades in when it appears. It should be noted that if an enemy with this spawn animation (such as the default Armos enemy) is placed on the screen via the enemy placement window, it will always return.
Instant: Enemy appears instantly with no spawn animation.

List of Enemy Types