tk3 (home, dev, source, bugs, help)

Editor Guide — Enemy Editor

[ Around the Editor ]

Enemy Basics

Enemies are the staple of most role-play games and are normally either encountered randomly or in planned scenes (for instance, the boss at the end of a level). In the Toolkit, random battles occur spontaneously when they are allowed; that is, enemies aren't visible on the board before a battle and players are transported to the battle system when a battle is triggered (unless, of course, you code your own battle system). This is a reflection of the idea that the players are confronted by enemies without warning whilst they move around the game.

In most RPGs, players increase their strengths and abilities as they progress through the game, and to compensate for this different kinds of enemies are encountered throughout the game with small increases in difficulty to match the increase in player strength. Hence you may wish to make a range of enemies for use in random encounters, with varying strengths. However, as the name implies, enemies in random battles are chosen by the computer randomly and there must be some mechanism to prevent the player encountering enemies that are disproportionately strong. This is mediated by levels - as discussed in the Character Editor - when enemies are added to the random battle list (see Main File Editor > Fighting, or "Add Enemy To Game" below) they are assigned a skill level to reflect their difficulty. Then in each board where you have random fighting you must set the maximum skill level for enemies that can be fought on that board (Board Editor > Board Settings > Board Information).

Enemy Editor

Around the Editor

Basic Info

Fighting Conditions

Graphics - Shows a window where you can set animations (*.anm) for several actions the enemy can make. Select the type from the list on the left, and hit "Browse" to select an animation. All enemy graphics must be saved as animations, even for single-frame images. Custom actions can be added using the "Add" and "Remove" buttons.

Special Moves - Enemies can also make special moves, just like players. Create special moves for enemies in the same way as for characters and assign them in the left-hand list in this window. Enemies will use their special moves randomly, dependent on their AI and amount of SMP. Remember to give the enemy enough SMP for the moves he has! You can also make the enemy susceptible to certain moves; that is, such moves inflict more damage than they normally would. Add these to the "Weaknesses" list on the right.

Tactics - Enemies are controlled by the computer, and must be given some kind of instruction in order to act as enemies in battle and attack the players. Enemies use basic AI (artificial intelligence) from the Toolkit, which has four levels:

You may want to write your own AI instead of using the presets - if so, select the option here and specify the RPGCode program in the text box.

Rewards - One of the main reasons for fighting is so that the player can gain the experience required to earn him further abilities and skills needed to advance through the game. The amount of experience the player is rewarded with is normally proportional to the difficulty of the enemy and the scaling of the player's skill levels. As well as this players can also be rewarded with physical objects; money can be given via the GP text box and a program can be specified for other rewards such as items.

Add Enemy To Game - This opens the Main File Editor edit fighting window.

[ top ]


previous, forward