Around 6-7 months ago I made an infantry unit that was able to capture vehicles, I did so by adding Capturable to vehicles and it allowed my new unit to capture the vehicle.
Unfortunately, one of the changes I found in "Capturable" that was done about a month ago, no longer allows me to capture vehicles because vehicles lack the "Building" trait (the game crashes and gives me an error saying that the object trying to be captured lacks the "Building" trait)
+ if (!CaptureInProgress && !self.Trait<Building>().Lock())
+ return false;
I really don't know much about actual programming, but is it possible to change it so it ignores this part if the object I want to capture isn't a "Building"?
I guess this is a workaround for the bug where you undeploy your construction yard and it becomes a neutral MCV when the capture is in progress. Ask chrisf in #openra how to solve this so you can still capture vehicles.