npcdata#
Metadata for a specific enemy type (not an instance of one). Load with Game->LoadNPCData().
Variables#
int |
|
bool[] |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int[] |
|
bool[] |
|
int[] |
|
bool[] |
|
bool[] |
|
int |
|
int |
|
int |
|
int[] |
|
int |
|
int[] |
|
int |
|
int |
|
int |
Functions#
void |
GetName(char32[] ptr) |
Variable descriptions#
The base tile used by the enemy.
Undocumented. Refer to ZQuestClassic/ZQuestClassic
The βwidthβ (W) of base tile used by the enemy.
The βheightβ (H) of base tile used by the enemy.
The base βspecialβ tile used by the enemy.
The βwidthβ (W) of base βspecialβ tile used by the enemy.
The βheightβ (H) of base βspecialβ tile used by the enemy.
The base EXPANDED (βNewβ) tile used by the enemy.
The βwidthβ (W) of base EXPANDED (βNewβ) tile used by the enemy.
The βheightβ (H) of base EXPANDED (βNewβ) tile used by the enemy.
The enemyβs base hit points.
The Family (Enemy Class) of the npc.
The βO.Animβ used by the enemy.
The βE.Animβ used by the enemy.
The βO.Animβ animation framerate used by the enemy.
The βE.Animβ animation framerate used by the enemy.
The amount of contact damage that the enemy causes when it collides with Link.
The power of the weapons fired by the enemy.
The weapon type used by the enemy.
The βrandom rateβ of the enemy.
The βturn frequencyβ used by the enemy during its movement phase.
The enemβs step speed.
The homing factor of the enemy. Greater values home more keenly on Link.
The βhungerβ value of the enemy.
Higher values make it more likely that the enemy is attracted to Bait.
Valid only for NPCT_WALK enemies.
The dropset used by the enemy.
The Ambient sound that the enemy emits.
The sound that is played when the enemy dies.
The sound that is played when the enemy is hit by an lweapon.
The horizontal draw offset of the enemy.
Note: SizeFlag[??] must be enabled for this to function.
The vertical draw offset of the enemy.
Note: SizeFlag[??] must be enabled for this to function.
The depth draw offset of the enemy.
Note: SizeFlag[??] must be enabled for this to function.
The horizontal hitbox offset of the enemy.
Note: SizeFlag[??] must be enabled for this to function.
The vertical hitbox offset of the enemy.
Note: SizeFlag[??] must be enabled for this to function.
The hitbox width (X component), in pixels, for the enemy.
Note: SizeFlag[??] must be enabled for this to function.
The hitbox height (Y component), in pixels, for the enemy.
Note: SizeFlag[??] must be enabled for this to function.
The hitbox height (Z component), in pixels, for the enemy.
Note: SizeFlag[??] must be enabled for this to function.
The drawn width (X component) of the enemy in increments of one tile.
Note: SizeFlag[??] must be enabled for this to function.
The drawn height (Y component) of the enemy in increments of one tile.
Note: SizeFlag[??] must be enabled for this to function.
The sprite used to draw the enemy weapon.
The sfx used when the enemy fires its weapon. If WeaponSFX <= 0 no sound will be played.
The defense categories for the enemy.
A set of flags that determine if the values for the Enemy Editor βSizeβ tab are rendered by the engine.
The βMisc. Attributesβ of the enemy; now 32 of these; and datatype-insensitive.
The shield status of the enemy.
Valid indices: DIR_UP (front), DIR_DOWN (back), DIR_LEFT, DIR_RIGHT,
4
(Shield can be broken).
The base tile used to draw the enemy, when the enemy is frozen solid. //Not yet implemented in-engine.
The CSet value used to render the enemy, when the enemy is frozen solid. //Not yet implemented in-engine.
The npc action script used by this enemy.
The eight InitD args used by the npc action script for this enemy.
The weapon action script assigned to this enemy.
The eight InitD args assigned to the weapon script used by this enemy.
The shadow sprite used by the enemy, 0-255
The spawn sprite used by the enemy, 0-255
The death sprite used by the enemy, 0-255
Function descriptions#
void GetName(char32[] ptr) π Source
Puts the text of the Enemy Name field into string βptrβ.