YEP.119 – Weak Enemy Poses – RPG Maker MV

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

You can grab the plugin here:
English Dropbox
English Mirror

Non-animated enemies often appear lifeless. They maintain one appearance throughout the whole battle and do not change it under any circumstances. This plugin allows you to set different images for enemies when they are under certain health percentages as well as other conditions.

Do you want to get some enemy battlers that have weak enemy poses to go along with them? Visit Ækashics‘s website!


Introduction


This plugin requires YEP_BattleEngineCore. Make sure this plugin is located under YEP_BattleEngineCore in the plugin list.

Non-animated enemies often appear lifeless. They maintain one appearance throughout the whole battle and do not change it under any circumstances. This plugin allows you to set different images for enemies when they are under certain health percentages as well as other conditions.


Notetags


Insert the following notetags into the database entries’ noteboxes to alter the weak pose data.

Enemy Notetags:

<x% Health Pose: filename>
– At x% HP or lower, the enemy will use ‘filename’ for its battler image instead of its default one. The filename is case sensitive and must not include the file extension. Insert multiple of these notetags to give the enemy various poses across different health values. NOTE: This applies only to static enemies and NOT animated enemies.

<x% Health Pose: filename, hue>
– At x% HP or lower, the enemy will use ‘filename’ for its battler image instead of its default one and a different hue instead of its default. The filename is case sensitive and must not include the file extension. The hue must be a value between 0 and 360. Insert multiple of these notetags to give the enemy various poses across different health values.

NOTE: This applies only to static enemies and NOT animated enemies.

State Notetags:

<Force Enemy Pose: filename>
– When an enemy is afflicted with this state, the enemy would take on this battler image as long as that state is the highest priority state with a forced enemy pose. Replace ‘filename’ with the battler image to be used. The filename is case sensitive and must not include the file extension.
NOTE: This applies only to static enemies and NOT animated enemies.

<Force Enemy Pose: filename, hue>
– When an enemy is afflicted with this state, the enemy would take on this battler image as long as that state is the highest priority state with a forced enemy pose. Replace ‘filename’ with the battler image to be used. The filename is case sensitive and must not include the file extension. The hue must be a value between 0 and 360.

NOTE: This applies only to static enemies and NOT animated enemies.


Lunatic Mode – Custom Enemy Poses


For those with JavaScript experience, you can alter the pose used for an enemy (static only, not animated) using these Lunatic Mode notetags:

Enemy Notetags:

<Custom Enemy Pose>
if (user.mpRate() >= 0.50) {
name = ‘Scorpion’;
hue = 180;
} else {
name = ‘Spider’;
}
</Custom Enemy Pose>
– The ‘name’ variable will refer to the filename used for the battler image. The filename is case sensitive and must not include the file extension. If the ‘hue’ variable is used, then that hue will be forced. Otherwise, it will use the default hue of the enemy. The hue must be a value between 0 and 360.

NOTE: This applies only to static enemies and NOT animated enemies.

State Notetags:

<Custom Enemy Pose>
if (user.mpRate() >= 0.50) {
name = ‘Scorpion’;
hue = 180;
} else {
name = ‘Spider’;
}
</Custom Enemy Pose>
– When an enemy is afflicted with this state, the enemy would take on the ‘name’ image as long as that state is the highest priority state with a forced enemy pose. The filename is case sensitive and must not include the file extension. If the ‘hue’ variable is used, then that hue will be forced. Otherwise, it will use the default hue of the enemy. The hue must
be a value between 0 and 360.

NOTE: This applies only to static enemies and NOT animated enemies.

For the other variable to use:

defaultBattlerName
– This will be the default battler’s name.

defaultBattlerHue
– This will be the default battler’s hue.


Happy RPG Making!


Happy RPG Making!


These plugins and Tips & Tricks ideas are made possible thanks to our creative patrons on Patreon! The majority of our Tips & Tricks, Plugins, and Lunatic Pack ideas are placed within the Patreon-exclusive Sample Project for quick and easy access! If you'd like to make a Plugin Suggestion, Yanfly's Patreon-based Suggestion Box a visit here:


If you have any bugs to report, visit the following link:


If you have any questions about Action Sequences, visit the following link:



Thank you!