I made a new building for Angmar and I used below code from Dwarven MineShaft.
It is working fine but i couldn't managed to increase the total number of units that can get inside.
I changed ContainMax to 13 but still it acts like it is 5.
I changed the commandset of the building accordingly it has 13 slots + sell option. I can see the empty slots too.
Behavior = TunnelContain ModuleTag_Contain ObjectStatusOfContained = UNSELECTABLE ENCLOSED ContainMax = 13 DamagePercentToUnits = 0% ; Slots = 13 PassengerFilter = ANY +INFANTRY +BANNER +CAVALRY ; -MONSTER -SUMMONED -COMBO_HORDE AllowEnemiesInside = No AllowAlliesInside = Yes AllowNeutralInside = No AllowOwnPlayerInsideOverride = Yes NumberOfExitPaths = 1 ; Defaults to 1. Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn PassengerBonePrefix = PassengerBone:ARROW_ KindOf:INFANTRY EntryPosition = X:0.0 Y:0.0 Z:0.0 EntryOffset = X:0.0 Y:-10.0 Z:0.0 ExitOffset = X:0.0 Y:-80.0 Z:0.0 EnterSound = RuinedTowerEnterSound KillPassengersOnDeath = No ShowPips = No ExitDelay = 0 End