How to adopt units?

Warl0rd

Chieftain
Joined
Aug 7, 2007
Messages
47
Is there a way or a mod already to allow this:

I attack an enemy unit and would kill it but instead of killing it I adopt this unit, take it prisoner with little health left.
 
If you have the newest version of BTS i think the mesoamerican mod had something like this.
 
There's a tag in UnitInfos called "Capture". Here's an example:
Code:
			<Capture>UNITCLASS_WORKER</Capture>
With this, you can make any unit turn into another unit on capture. The above example is used when Workers and Settlers are captured. Now, as they don't fight, I'm not sure if it'd work when the unit has been defeated (whether it would be destroyed as normal), but I'm fairly confident that it would work correctly.
 
nice thx - it works like expected - but they have full health after "enslaved" any idea how to fix that?
 
Back
Top Bottom