Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Gatehouse

Grand enough to welcome guests, sturdy enough not to.

The way through a wall. It lets your side and your allies pass, and shuts when anyone else comes near: enemy troops and workers, and bandits. It opens again a while after the last of them has gone.

Its stairs lead up to the wall walk, so it’s also how your troops get onto the wall.

A Battering Ram is the machine for breaking one.

Besides the game’s Closed and Automated, its panel has Auto open (the default, as above) and Force open, which lets everyone through, enemies too. Automated still shuts on enemies, so a Watchtower’s signal can close it before anyone gets near.

Over a ditch or a moat, the Drawbridge Gatehouse raises a bridge as it shuts.

For modders

Every number on this page comes from the building's blueprint. Blueprint specs says what each component does.

Folktails Buildings/Palisade/Gatehouse.Folktails.blueprint.json

TemplateSpec

{
  "TemplateName": "Gatehouse.Folktails",
  "BackwardCompatibleTemplateNames": [],
  "RequiredFeatureToggle": "",
  "DisablingFeatureToggle": ""
}

BuildingSpec

{
  "SelectionSoundName": "TE.Gate",
  "LoopingSoundName": "",
  "BuildingCost": [
    {
      "Id": "Log",
      "Amount": 30
    },
    {
      "Id": "Plank",
      "Amount": 20
    },
    {
      "Id": "Gear",
      "Amount": 8
    }
  ],
  "ScienceCost": 450,
  "PlaceFinished": false,
  "FinishableWithBeaversOnSite": false,
  "DrawRangeBoundsOnIt": false
}

BlockObjectSpec

{
  "Size": {
    "X": 3,
    "Y": 1,
    "Z": 2
  }
}

PlaceableBlockObjectSpec

{
  "ToolGroupId": "TimberEmpiresWalls",
  "ToolOrder": 31,
  "ToolShape": "Square",
  "Layout": "Single",
  "CustomPivot": {
    "HasCustomPivot": false,
    "Coordinates": {
      "X": 0,
      "Y": 0,
      "Z": 0
    }
  },
  "CanBeAttachedToTerrainSide": false,
  "DevModeTool": false
}

BannerDisplaysSpec

{}

GateSpec

{
  "Start": {
    "X": 1,
    "Y": 1,
    "Z": 0
  },
  "End": {
    "X": 1,
    "Y": -1,
    "Z": 0
  }
}

PathSpec

{
  "MainPathCoordinates": {
    "X": 1,
    "Y": 0,
    "Z": 0
  }
}

BlockObjectWithPathRangeSpec

{}

GateModelSpec

{
  "OpenModelName": "#Open",
  "ClosedModelName": "#Closed"
}

PalisadeGateSpec

Makes the building a gate with open, closed and automated modes. Auto open lets its own side through and shuts when enemies come near.

Passage
Where the way through is, in the building's own tiles ({X, Y, Z}), for gates bigger than their passage.
Bridge
A drawbridge's tiles out from the passage, as a list of {X, Y, Z}. They're walkable only while the gate is open.
{
  "Passage": {
    "X": 1,
    "Y": 0,
    "Z": 0
  }
}

StructureHealthSpec

Gives the building health that attacks wear down. Walls, gates, towers and siege engines get theirs from the troop stats file, other buildings by size.

Machine
Marks it as a machine troops ride (a boat) rather than something built to keep them out. Default false.
{}

WaterObstacleSpec

{
  "Coordinates": [
    {
      "X": 0,
      "Y": 0
    },
    {
      "X": 2,
      "Y": 0
    }
  ]
}

FinishableWaterObstacleSpec

{
  "Height": 2
}

SoilBarrierSpec

{
  "BlockAboveMoisture": true,
  "BlockFullMoisture": false,
  "BlockContamination": false
}

WallSpec

Makes the building a piece of a town wall.

Kind
Palisade, Gatehouse, WallTower, Hoarding or WallFoundation.
{
  "Kind": "Gatehouse"
}

HordeRewardSpec

{}

Stats line in Troops/TroopStats.blueprint.json

{
  "Name": "Gatehouse",
  "Health": 780
}

Iron Teeth Buildings/Palisade/Gatehouse.IronTeeth.blueprint.json

TemplateSpec

{
  "TemplateName": "Gatehouse.IronTeeth",
  "BackwardCompatibleTemplateNames": [],
  "RequiredFeatureToggle": "",
  "DisablingFeatureToggle": ""
}

BuildingSpec

{
  "SelectionSoundName": "TE.Gate",
  "LoopingSoundName": "",
  "BuildingCost": [
    {
      "Id": "Log",
      "Amount": 30
    },
    {
      "Id": "Plank",
      "Amount": 20
    },
    {
      "Id": "Gear",
      "Amount": 8
    }
  ],
  "ScienceCost": 450,
  "PlaceFinished": false,
  "FinishableWithBeaversOnSite": false,
  "DrawRangeBoundsOnIt": false
}

BlockObjectSpec

{
  "Size": {
    "X": 3,
    "Y": 1,
    "Z": 2
  }
}

PlaceableBlockObjectSpec

{
  "ToolGroupId": "TimberEmpiresWalls",
  "ToolOrder": 31,
  "ToolShape": "Square",
  "Layout": "Single",
  "CustomPivot": {
    "HasCustomPivot": false,
    "Coordinates": {
      "X": 0,
      "Y": 0,
      "Z": 0
    }
  },
  "CanBeAttachedToTerrainSide": false,
  "DevModeTool": false
}

BannerDisplaysSpec

{}

GateSpec

{
  "Start": {
    "X": 1,
    "Y": 1,
    "Z": 0
  },
  "End": {
    "X": 1,
    "Y": -1,
    "Z": 0
  }
}

PathSpec

{
  "MainPathCoordinates": {
    "X": 1,
    "Y": 0,
    "Z": 0
  }
}

BlockObjectWithPathRangeSpec

{}

GateModelSpec

{
  "OpenModelName": "#Open",
  "ClosedModelName": "#Closed"
}

PalisadeGateSpec

Makes the building a gate with open, closed and automated modes. Auto open lets its own side through and shuts when enemies come near.

Passage
Where the way through is, in the building's own tiles ({X, Y, Z}), for gates bigger than their passage.
Bridge
A drawbridge's tiles out from the passage, as a list of {X, Y, Z}. They're walkable only while the gate is open.
{
  "Passage": {
    "X": 1,
    "Y": 0,
    "Z": 0
  }
}

StructureHealthSpec

Gives the building health that attacks wear down. Walls, gates, towers and siege engines get theirs from the troop stats file, other buildings by size.

Machine
Marks it as a machine troops ride (a boat) rather than something built to keep them out. Default false.
{}

WaterObstacleSpec

{
  "Coordinates": [
    {
      "X": 0,
      "Y": 0
    },
    {
      "X": 2,
      "Y": 0
    }
  ]
}

FinishableWaterObstacleSpec

{
  "Height": 2
}

SoilBarrierSpec

{
  "BlockAboveMoisture": true,
  "BlockFullMoisture": false,
  "BlockContamination": false
}

WallSpec

Makes the building a piece of a town wall.

Kind
Palisade, Gatehouse, WallTower, Hoarding or WallFoundation.
{
  "Kind": "Gatehouse"
}

HordeRewardSpec

{}

Stats line in Troops/TroopStats.blueprint.json

{
  "Name": "Gatehouse",
  "Health": 780
}