How to make an oldschool repairpad
From CNCMods Wiki
Add this code to your WarFactory or a new building to get a oldschool repairpad.
<HealContain
id="ModuleTag_Repair"
ObjectStatusOfContained="UNSELECTABLE"
ContainMax="1"
AllowEnemiesInside="false"
AllowAlliesInside="false"
AllowNeutralInside="false"
AllowOwnPlayerInsideOverride="true"
ShowPips="true"
KillPassengersOnDeath="false"
TimeForFullHeal="5s"
ResetInitialTeamOnCapture="true">
<PassengerFilter
Rule="ANY"
Include="VEHICLE" />
<DieMuxData
DeathTypes="ALL" />
<PassengerData
BonePrefix="BONEGARRISON">
<Filter
Rule="NONE"
Include="VEHICLE" />
</PassengerData>
<ExitOffset
x="50"
y="0"
z="0" />
</HealContain>
You can change the ObjectStatusOfContained=to
ENCLOSEDif you want that the vehicle is inside the building while repairing or change it to any else ObjectStatus.
<ExitOffset x="50" y="0" z="0" />
controls at which position the vehicle is coming out after the repair.
by jooo.
An discussion and a other, more "elegant" method can be found in the cncmods.net forum
