---
name: "Arma 3: Ropes"
type: topic
source: https://community.bistudio.com/wiki/Arma_3:_Ropes
revid: 308381
updated: 2022-02-27T11:16:54Z
---

# Arma 3: Ropes

### Commands

See Ropes and Sling Loading command group.

### Config

#### Rope Type

A rope stretches and breaks following the formula:

```cpp
const float maxRopeStretchLength = (desiredLength * maxRelLength) + maxExtraLength;
if (currentLength > maxRopeStretchLength) { /* breaks */ };
```

[Config.cpp](../topics/Config.cpp~2Fbin_File_Format.md) declaration:

```cpp
class CfgVehicles
{
    class Rope;
    class RopeRabbit : Rope
    {
        maxRelLenght = 1.1;                    // "Lenght" is a typo but intentional! Same for maxExtraLenght
        maxExtraLenght = 20;
        springFactor = 0.5;                    // higher == less stretchy rope
        segmentType = "RopeSegmentRabbit";    // reference to CfgNonAIVehicles' class
        torqueFactor = 0.5;
        dampingFactor[] = {1.0,2.5,1.0};
        model = "\A3\Animals_F\rabbit\rabbit_F.p3d";
    };
};

class CfgNonAIVehicles
{
    class RopeSegmentRabbit
    {
        scope = 2;
        displayName = "";
        simulation = "ropesegment";
        autocenter = 0;
        animated = 0;
        model = "\A3\Animals_F\rabbit\rabbit_F.p3d";
    };
};
```

#### Rope End

TBD

<sub>Source: [BI Community Wiki — Arma 3: Ropes](https://community.bistudio.com/wiki/Arma_3:_Ropes) (revision 308381).</sub>
