Caution:

RopeKeyFrame is an internal entity and should not be used on its own.

BASE RopeKeyFrame

KeyValues

spawnflags (spawnflags) <flags>

No description provided.

Possible Flags:

NameValueDefault
Auto Resize1

Next Rope (nextkey) <target_destination>

Name of the next rope along this path.

Slack (slack) <integer> = 25

How much extra length the rope has (by default it has the length between its two endpoints in the editor).

Type (type) <choices> = Rope (0)

No description provided.

Possible Values:

NameValue
Rope0
Semi-rigid1
Rigid2

Subdivision (subdiv) <integer> = 2

Number of subdivisions between each rope segment. Maximum value is 8. Higher values make smoother ropes, but are slower to render.

Barbed (barbed) <boolean> = No

Test effect that makes the rope look sharper and more barbed.

Width (1-64) (width) <float> = 2

Width of the rope.

Texture Scale (texturescale) <float> = 1

This changes the texture resolution. The default resolution is 4 pixels per unit. Larger values stretch the texture and smaller values scrunch it up.

Collide with world (collide) <boolean> = No

No description provided.

Start Dangling (dangling) <choices> = Start Attached (0)

When set to Yes, the rope starts out detached from its target endpoint.

Possible Values:

NameValue
Start Attached0
Start Dangling1

Breakable (breakable) <choices> = Indestructible (0)

When set to yes, the rope can be detached from either endpoint when shot.

Possible Values:

NameValue
Indestructible0
Breakable1

Rope Material (ropematerial) <material> = cable/cable.vmt

The material to use when rendering the rope.

Wind (usewind) <choices> = Ignore Wind (0)

Is the rope affected by wind?

Possible Values:

NameValue
Ignore Wind0
Affected by Wind1

Speed (unused) (movespeed) <integer> = 64

No description provided.

Position Interpolator (positioninterpolator) <integer> = 2

Curve Type. Currently only Rope is fully supported.

Inherited from SystemLevelChoice

Minimum CPU Level (mincpulevel) <choices> = default (low) (0)

No description provided.

Possible Values:

NameValue
default (low)0
low1
medium2
high3

Maximum CPU Level (maxcpulevel) <choices> = default (high) (0)

No description provided.

Possible Values:

NameValue
default (high)0
low1
medium2
high3

Minimum GPU Level (mingpulevel) <choices> = default (very low) (0)

No description provided.

Possible Values:

NameValue
default (very low)0
very low1
low2
medium3
high4

Maximum GPU Level (maxgpulevel) <choices> = default (high) (0)

No description provided.

Possible Values:

NameValue
default (high)0
very low1
low2
medium3
high4

Inputs

SetScrollSpeed <float>

Set the speed at which the texture scrolls.

SetForce <vector>

Apply a force instantaneously to the rope. The parameter should be a vector containing the force to be applied (X Y Z).

Break <void>

Break the rope, if it's marked to do so.