KEnemySwitch VX
by Kyonides
Introduction
Have you as a game developer ever wanted to switch between different enemy troops during battle?
I mean, you would force the party to face 2 or more troops in a single battle.
The catch here would be that the player might not really know when that switch is supposed to happen at all.
Guess what? Now you can do that!
The Steps
Ruby:
- # First you need to go set the values of 2 game variables, namely CHANCE_VAR_ID
- # and TURNS_VAR_ID. The former stands for a percentage while the latter should
- # always be an positive integer (1+).
- # Then include additional Troops via Script Call:
- # KEnemy.add_troops(TroopID1, etc.)
- # Finally, setup your Battle Processing event command as usual!
复制代码
Notes
Version 1.0.0
This release allows you to define how many enemy troops should be defeated before battle ends. This time it can also be equal to a specific number.
DEVELOPMENT - New Initial Value for Battles:
Ruby:
- START_DEFEAT_TROOPS_MODE = 2
复制代码
IN GAME - New Optional Script Call:
Ruby:
- $game_system.defeat_troops = 3
复制代码
The script will autoadjust that number if deemed necessary.
Version 0.11.0
This release allows you to define how many enemy troops should be defeated before battle ends, namely 1 or ALL of them!
Version 0.09.0
Once you defeat any of the available troops, the battle is over.
Give me some time to turn that into an optional feature.
Compatible with the
Default Battle System.
Terms & Conditions
Free for use in non commercial games.
Due credit is mandatory!
Mention this forum in your game credits.
That's it!
本贴来自国际rpgmaker官方论坛作者:kyonides处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/kenemyswitch-vx.172482/