RPG Maker MV
Display enemy actions in combat
- 01/20/2019 07:29 PM
- 1205 views
This script makes enemies' chosen actions visible in combat, so that the player can adjust their tactics accordingly.
From a game design perspective, this lets you include interrupt abilities and makes the guard command more useful.
It does give the player an advantage, but that's an opportunity to design more interesting encounters.
It is compatible with battle systems where enemies choose their actions at the start of the round (e.g. default turn based). For tick based battle systems like ATB, it would require the enemy action to be selected in advance, not when their turn comes up.
The default configuration makes all enemy actions visible as in the screenshot.
This can be switched on or off with the ShowDefault configuration.
States can be used to override the default, the ShowState configuration sets a state ID for which enemy actions will always be shown if they have that state. The HideState configuration does the opposite, enemy actions are never shown if they have that state.
Note tags on enemies in the database are another option.
Or simply use <telepathy:true> or <telepathy:false> to turn on / off display for that particular enemy.
If you find the enemy intent text colliding with other windows such as a battle HUD or windows created by another plugin:
Use X/Y configuration to apply an offset (e.g. to avoid HUD elements anchored to the battlers).
Use ScreenBorder configuration to prevent the enemy intent being drawn close to the edges of the screen (e.g. to avoid the battle log or HUD elements)
1.0: original release
2.0: configurable screen border for Luna MV compatibility
documented dependency on YEP_BattleEngineCore
3.0: Rewritten to depend only on core scripts.
Added window background option
Added dynamic positioning to avoid state icons only when needed