09-25-2024, 08:37 AM
(This post was last modified: 10-03-2024, 09:43 AM by kyonides.
Edit Reason: Version 1.0.0
)
KEnemySwitch XP
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 like or or even !
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
Code:
# 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
The final release that includes the possibility of setting a minimum number of troops you have to defeat to win the battle.
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.9.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!
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE