public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: KEnemySwitch VX
  • Original author: kyonides
  • Original date: October 9, 2024
  • Source thread: https://forums.rpgmakerweb.com/threads/kenemyswitch-vx.172482/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS2 Scripts (RMVX)

Summary

KEnemySwitch VX by Kyonides​ Introduction Have you as a game developer ever wanted to switch between different enemy troops during battle?

Archived First Post

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.

DOWNLOAD NOW

Terms & Conditions

Free for use in non commercial games.
Due credit is mandatory!
Mention this forum in your game credits.
That's it!

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Free for use in non commercial games. Due credit is mandatory! Mention this forum in your game credits. That's it!

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rgss2#script-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar