> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zydrec.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Doortuning

In order for the doors & gates to behave correctly, you would need to install a `doortuning.ymt` file. The file can be found in `zydrec-mapdata` resource. If you're only streaming **one** `doortuning.ymt` you can ignore the steps below.

<Steps>
  <Step title=" ">
    Add the following entry to your doortuning.ymt file.

    ```
    <Item>
          <Name>ffselfstoragegarage</Name>
          <Tuning>
            <AutoOpenVolumeOffset x="0.000000" y="-2.600000" z="-2.000000" />
            <Flags></Flags>
            <AutoOpenRadiusModifier value="0.7" />
            <AutoOpenRate value="0.400000" />
            <AutoOpenCosineAngleBetweenThreshold value="-1.000000" />
            <AutoOpenCloseRateTaper value="true" />
            <UseAutoOpenTriggerBox value="true" />
            <CustomTriggerBox value="true" />
            <TriggerBoxMinMax>
              <min x="-3.250000" y="-4.175000" z="0.000000" w="0.000000" />
              <max x="3.000000" y="11.225000" z="3.350000" w="0.000000" />
            </TriggerBoxMinMax>
            <BreakableByVehicle value="false" />
            <BreakingImpulse value="0.000000" />
            <ShouldLatchShut value="false" />
            <MassMultiplier value="1.000000" />
            <WeaponImpulseMultiplier value="1.000000" />
            <RotationLimitAngle value="0.000000" />
            <TorqueAngularVelocityLimit value="5.000000" />
            <StdDoorRotDir>StdDoorOpenBothDir</StdDoorRotDir>
          </Tuning>
        </Item>
    ```
  </Step>

  <Step title=" ">
    At the end of the file, add the following entry:

    ```
    <Item>
          <ModelName>ff_prop_garage_door</ModelName>
          <TuningName>ffselfstoragegarage</TuningName>
        </Item>
    ```
  </Step>

  <Step title=" ">
    Save the file & you're done.
  </Step>
</Steps>
