Capture Enemies

Introduction


Use a capture skill/item on an enemy and they will be defeated and the actor they are set to will be added to your party, if the capture was successful. You can have as many duplicates as you want.


How To Use


 Put <capture_actor_id:x> into the notetag of an enemy, with x as the actor id.
 
 Put <capture:1> or <captureRate:x> into the notetag of a skill or item to
 enable capture. <capture:1> guarantees capture while <captureRate:x> adds
 x to the chance of capture.
 
 Put <captureRate:x> in the notetag of an actor to add x to the chance of
 capture. Make sure this is the same actor id as you put in the enemy
 notetag.
 
 Put <captureRate:x> in the notetag of a state to add x to the chance of
 capture when the enemy has that state.
 
 When you use the item or skill succesfully, the actor in that notetag will be
 added. You can have duplicates. You can manually add actors to your party by
 using the AddActor x y plugin command with x being the actor id and y being
 the level. You can still have duplicates.
 
 Make a comment in the first page of a troop with <noCapture> to disable
 capture for that battle. Make sure the comment only consists of that.
 
 Here are the text codes for the message parameters:
 %1 - The name of the enemy in the capture attempt
 %2 - The name of the troop in the database


Script


Patch Notes


v0.3 - Added levels. Use an enemy level plugin like Hime's Enemy Levels or Yanfly's Enemy Levels to enable capturing an enemy at their specific level.


v0.2 - Added variable capture rates. See "How To Use" for more information.


Known Issues


None


Terms of Use


Free to use and modify for noncommericial/commercial games with credit.
v0.3 - Added levels. Use an enemy level plugin like Hime's Enemy Levels or Yanfly's Enemy Levels to enable capturing an enemy at their specific level.


v0.2 - Added variable capture rates. See "How To Use" for more information.
this is sounding good just need a way to allow one party member to fight at a time and were all set


ok soo tested this and a couple of things
1) enemies remain on battlefield after being captured


2) seams to be incompatable with Victorsants materia script (not sure who this needs reporting to)
this is sounding good just need a way to allow one party member to fight at a time and were all set


ok soo tested this and a couple of things
1) enemies remain on battlefield after being captured


2) seams to be incompatable with Victorsants materia script (not sure who this needs reporting to)

I've just tested the script again. I can confirm that a captured enemy does not in fact remain on the battlefield as an enemy. They are defeated and then added to the party. If this isn't the case for you, there may be a plugin that is conflicting or you may not be using the plugin correctly. On a successful capture a message will appear saying "__ was captured!" Try to isolate the conflicting plugin by turning them on and off.


I've tested the plugin with the materia script on and saw no issues. Can you be more specific?


If you want only one party member to fight at a time, use Yanfly's Party System and set the max amount of battle members to 1. If you'd rather not I can put a parameter in this plugin though.
This sounds really cool! I am going to give this a go when I get a chance!
This is a really cool plugin and I'd love to try it, but it does not seem to be working, the directions seem a bit misleading to me. Is there a way you could upload a video detailing how to set it up, or pictures would be helpful as well?
Somehow I get an error when trying to catch an enemy
Unbenannt.PNG

Original thread: https://forums.rpgmakerweb.com/threads/capture-enemies.55509/