Creating a rope entity
Does anyone have a script for creating a simple rope entity?
|
Re: Creating a rope entity
in hammer, the entity is called move_rope and is paired with a keyframe_rope. setting the move ropes next key frame to the keyframe rope. for this you would need to name both. you might want to add slack as well, the default is 25, but you can adjust it.
|
Re: Creating a rope entity
I did that, It didn't work.
|
Re: Creating a rope entity
Try editing netprops. For example spawning env_beam was a huge pain in ass.
|
Re: Creating a rope entity
Does anyone have a script that successfully spawns a rope?
|
Re: Creating a rope entity
Quote:
Quote:
|
Re: Creating a rope entity
Ok
Code:
public CreateWire(Part1, Part2) |
Re: Creating a rope entity
I've had some trouble with the origin keyvalue before try using TeleportEntity?
|
Re: Creating a rope entity
Check out a stripper dump first on what information exactly is in the needed entities.
|
Re: Creating a rope entity
Just throwing this out there, but CreateEntityByName() for move_rope and keyframe_rope may be returning an entity reference, not an index. Use EntIndexToEntRef() to solve this issue. I ran into a similar problem trying to create a filter_activator_tfteam.
To know for sure, try printing Name1 and Name2 strings. |
All times are GMT -4. The time now is 16:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.