Standalone Winch Script
Last updated
Last updated
To get started, you'll need to download your new resource previously purchased from our store
. For that, you must login with your account on keymaster
and look for the Asset Grants section, there we will find our script.
Debug mode: If you want to see extra information for troubleshooting, change Config.Debug
to true
. If not, set it to false
.
Maximum rope length: You can decide how long the rope can be by changing Config.MaxLengthRope
to a different number. In the example, it's set to 19.0.
Resynchronization frequency: This determines how often the rope gets synchronized. You can change it by modifying Config.ResyncRopeFrenquency
. The example has it set to 10000, which means every 10 seconds. (We Recommend Not Changing This)
Valid models: This part defines the models that can be used for the rope. It shows one model called sof250
. For each model, there are three things you can change:
ropeBone
: This is the part of the object the rope attaches to. In this case, it's set to "engine".
ropeOffset
: It determines how far the rope is from the attachment point. In the example, it's set to (0.0, 0.94, -0.80).
ropeDistanceTake
: This sets how much the rope can be stretched by the player. In the example, it's set to 1.5.
Hook model: This specifies the model used for the hook. You can change it by modifying Config.HookModel
. The current value is 'prop_rope_hook_01'.
Compatible models: