For Zero Hour, you should use this code:
Code:
Behavior = OverlordContain ModuleTag_OverlordContain
Slots = 1
DamagePercentToUnits = 100%
AllowInsideKindOf = PORTABLE_STRUCTURE
PassengersAllowedToFire = Yes
PayloadTemplateName = CarriedWeaponObject
ExperienceSinkForRider = Yes ; I get the Exp for things my turret friend kills
End
It's a copy and paste from the Avenger, but works. Problem is, I've only succeeded in getting this to work once. If someone would get it to work more times, then you hit the big jackpot (Directional armor, ships with a gazillion weapons, planes that can be shot to pieces etc)