Канал в IRC
RusNet: #cmt
Move_rope

Move_rope

Table of contents
1 Entity Description
2 Keyvalues
3 Flags
4 Inputs
5 Outputs
6 See Also

Entity Description

The first node in set of nodes that are used to place ropes in the world. It should connect to one or more keyframe_rope entities.


Keyvalues

<target_source> The name that other entities refer to this entity by.
<target_destination> The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
<target_destination> Name of the next keyframe along this keyframe path. Can also be a move_rope entity.
<integer> Speed (units per second)
<choices> Minimum DX Level
Literal Value Description
0 default (lowest)
70 dx7
<choices> Maximum DX Level
Literal Value Description
0 default (lowest)
60 dx6
<integer> How much extra length the rope has (by default it has the length between its two endpoints in the editor).
<choices>
Literal Value Description
0 Rope
1 Semi-rigid
2 Rigid
<integer> Number of subdivisions between each rope segment. Maximum value is 8. Higher values make smoother ropes, but are slower to render.
<boolean> Test effect that makes the rope look sharper and more barbed, like a chain.
<integer> Width of the rope.
<float> This changes the texture resolution. The default resolution is 4 pixels per inch. Larger values stretch the texture and smaller values scrunch it up.
<boolean> If set, the rope collides with world. Ropes never collide with anything else.
<boolean> If set, the rope starts out detached from its target endpoint.
<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.
<material> The material to use when rendering the rope. Suggested material: cable/cable.vmt
<choice>
Literal Value Description
2 Rope Interpolator

Flags


Inputs

Removes this entity from the world.
Removes this entity and all its children from the world.
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
Changes the entity's parent in the movement hierarchy.
Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the parent at the time it is attached.
Removes this entity from the the movement hierarchy, leaving it free to move independently.
Set the speed at which the texture scrolls.
Apply a force instantaneously to the rope.
Break the rope, if it's marked to do so.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs. !activator = activator

See Also


К оглавлению справочника

© Valve Developer Community
CMT (CS Mapping Tutorials) - © 2006-2011. Created by VM
[ Script Execution time: 0.0008 ]