Template:KV RopekeyFrame

From Valve Developer Community
Jump to: navigation, search

RopeKeyFrame:

Slack <integer>
How much extra length the rope has (by default it has the length between its two endpoints in the editor).
Type <choices>
Rope type.
  • 0 : Rope
  • 1 : Semi-rigid
  • 2 : Rigid
Subdivision <integer>
Number of subdivisions between each rope segment. Maximum value is 8. Higher values make smoother ropes, but are slower to render.
Barbed <boolean>
Test effect that makes the rope look sharper and more barbed.
Width (1-64) <string>
Width of the rope. Decimal values lower than 1 may also be used.
Texture Scale <string>
This changes the texture resolution. The default resolution is 4 pixels per inch. Larger values stretch the texture and smaller values scrunch it up.
Collide with world <boolean>
If set, the rope collides with world. Ropes never collide with anything else.
Start Dangling <boolean>
If set, the rope starts out detached from its target endpoint.
Breakable <boolean>
If set, the rope can be detached from either endpoint when shot.
Note:If collide with world is set, the rope will not appear to break if the endpoint touches world geometry. This includes touching vertices and edges of brushes as well as being placed inside them.
Rope Material <material>
The material to use when rendering the rope.
Note:Source will not render ropes using the cable/chain.vmt material.
Disable Wind <boolean>
If set, the rope will no longer act as though it's being affected by wind.

DXLevelChoice:

Minimum DX Level (mindxlevel)<choices>
Maximum DX Level (maxdxlevel)<choices>
The entity will not exist if the engine is running outside the given range of DirectX Versions. Only used by Orange Box and 2013 SDK games.
Warning: If these are used, the object may break when the user switches their DirectX settings.
  • Default (no bounding)
  • DX7
  • DX8
  • DX8.1
  • DX9 SM2
  • DX9 SM3