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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.