Difference between revisions of "Talk:Keyframe rope"

From Valve Developer Community
Jump to: navigation, search
(Keyvalue: Speed: new section)
(Merge this and move_rope: new section)
 
Line 5: Line 5:
  
 
What does the Speed keyvalue ''exactly'' do? Does it change the movement speed of the wind affecting the rope, or something else? --[[User:Pandaboy|Pandaboy]] 21:24, 3 November 2011 (PDT)
 
What does the Speed keyvalue ''exactly'' do? Does it change the movement speed of the wind affecting the rope, or something else? --[[User:Pandaboy|Pandaboy]] 21:24, 3 November 2011 (PDT)
 +
 +
== Merge this and move_rope ==
 +
 +
<code>keyframe_rope</code> and {{ent|move_rope}} are not different entities, they're both linked to the same class <code>CRopeKeyframe</code>. This is from SDK 2013:
 +
<pre>
 +
LINK_ENTITY_TO_CLASS( move_rope, CRopeKeyframe );
 +
LINK_ENTITY_TO_CLASS( keyframe_rope, CRopeKeyframe );
 +
</pre>
 +
In-game testing in various different branches further supports this: a rope chain does not have to start with a <code>move_rope</code> and have every following ent as a <code>keyframe_rope</code>. It can be made entirely of <code>keyframe_ropes</code>, entirely of <code>move_ropes</code>, alternate between the two, etc. and it still appears and works exactly the same. We don't have separate pages for {{ent|dynamic_prop}} and {{ent|prop_dynamic}}, so why should this be any different? I'd suggest using {{ent|move_rope}} as the combined page, since that entity has more keyvalues in the default FGD. It'd still note that <code>keyframe_rope</code> is an alternate classname. - [[User:Luke18033|Luke18033]] ([[User talk:Luke18033|talk]]) 13:57, 9 May 2021 (PDT)

Latest revision as of 13:57, 9 May 2021

Is there a way to make custom rope textures? --Beasty Billy 06:09, 18 February 2011 (UTC)

I don't see why not. Have you tried making it the same way you make any material (and basically copying the cable or rope material parameters)? --MossyBucket (formerly Andreasen) 06:53, 18 February 2011 (UTC)

Keyvalue: Speed

What does the Speed keyvalue exactly do? Does it change the movement speed of the wind affecting the rope, or something else? --Pandaboy 21:24, 3 November 2011 (PDT)

Merge this and move_rope

keyframe_rope and move_rope are not different entities, they're both linked to the same class CRopeKeyframe. This is from SDK 2013:

LINK_ENTITY_TO_CLASS( move_rope, CRopeKeyframe );
LINK_ENTITY_TO_CLASS( keyframe_rope, CRopeKeyframe );

In-game testing in various different branches further supports this: a rope chain does not have to start with a move_rope and have every following ent as a keyframe_rope. It can be made entirely of keyframe_ropes, entirely of move_ropes, alternate between the two, etc. and it still appears and works exactly the same. We don't have separate pages for dynamic_prop and prop_dynamic, so why should this be any different? I'd suggest using move_rope as the combined page, since that entity has more keyvalues in the default FGD. It'd still note that keyframe_rope is an alternate classname. - Luke18033 (talk) 13:57, 9 May 2021 (PDT)