BaseBuilding
Description
BaseBuilding adds kits for walls, wooden floors, left- and right-opening gates, and double gates. The kits use the fence kit recipe ingredients. Aim at nearby compatible pieces during placement to snap the preview to an available construction point. The server checks the position, collisions and whether a snapped piece still has support when placement finishes. Build the wooden floor with 10 planks and 20 nails.
The module requires CodeLock. Single gates can use a combination lock or a CodeLock. The double gate accepts only the CodeLock item. When CodeLock is enabled, its gate settings govern access.
With ExplosiveCharges enabled, the wall and all three gate variants use the Fence rules by default. The floor can be targeted by a custom rule for its floor part.
Types
types.xml
<type name="AC_BaseBuilding_Wall">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_WallKit">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_Floor">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_FloorKit">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_GateL">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_GateLKit">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_GateR">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_GateRKit">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_DoubleGate">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_BaseBuilding_DoubleGateKit">
<lifetime>7200</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>Controls
| Control | Action |
|---|---|
J (UAACBaseBuildingSnap) | Toggles snapping for the current placement preview. The preview highlights available points and the selected point. |
