User Tools

Site Tools


battle_editor

Battle Editor


The Battle Editor allows you to set up any predefined [battle|battles]] for your game. The only combat system currently available in RPG in a Box is a very basic tactical turn-based system, so there are only a few settings to configure for each battle until combat is built out some more.

To add a battle, click the “New Battle” button () on the Battle Editor toolbar. This will add a new battle to the list of battles on the left. Selecting a battle from this list will allow you to configure its settings using the detail panel on the right. Refer to the table below for an explanation of each setting.

SettingDescription
NameName of the battle (should be unique). This name is used when triggering a battle with the Start Battle scripting function.
MapMap to use for the battle. This would typically be a small, standalone map designed specifically for combat. It will be loaded when the battle starts, then the player will be returned to the previous map once the battle is complete. The map should contain tile groups named “player_spawn” and “enemy_spawn” to define possible starting locations for the player and the enemies.
Enemies in BattleList of enemy types that will potentially spawn for the battle. These can be added by double-clicking an enemy type from the “Available Enemies” list. Enemy types are defined in the Enemy Editor.
Minimum/MaximumDetermines how many of the selected enemy type will spawn. A random value between the minimum and maximum value is selected at the start of the battle. For example, a minimum of 2 and a maximum of 4 indicates that there will be no less than 2 and no more than 4 of that particular enemy type.

battle_editor.txt · Last modified: 2017/11/13 13:39 by justin