Heli Winch
Heli Winch is our most advanced resource, porting the Coastal Callout winching functionality to FiveM!
Last updated
Heli Winch is our most advanced resource, porting the Coastal Callout winching functionality to FiveM!
Last updated
Heli Winch is installed like any other resource. See our Installing Resourcespage for help here. However, it does require configuration before you are able to use it.
Heli Winch comes setup by default to work with the Coastal Callouts vehicles. Get the FiveM Package here
Head over to the config.lua
file to get started!
To get you up and running right away, we need to look at the Config.AllowedVehicles
section
You will see a list of vehicles already configured to use Heli Winch.
If you are using a vehicle from the Coastal Callouts pack, then it will have the required bone to attach to. In this case, we can use one of the entries that has a BoneName
field. Simply copy and paste one of them that looks similar to this:
Paste the entry below the previous one, making sure it is before the closing }
bracket underneath all the Config.AllowedVehicles
entries.
Edit the spawncode field to be the spawncode that you are looking for, and it should work fine.
If the helicopter has an extra that can be toggled to remove the hook from the top of the winch, then replace -1 with the number of the extra in the HookExtra
entry. This will remove and add the hook when the winch is created and removed. If the helicopter does not have one of these extras, then leave it as -1
.
Using non Coastal Callouts Helicopters are a little more complicated. You will need to find the coordinates that the winch will need to start from.
Here is an example field for the Config.AllowedVehicles
section:
The above example does not have the correct coordinates for the buzzard.
Finding these coordinates is trial and error. You need to edit the field after ["Coordinates"]=
where it says vector3(0.0, 0.0, 0.0)
A vector3 is a short way of storing an X, a Y, and a Z coordinate. So a vector3 looks like this:
vector3(x coordinate, y coordinate, z coordinate)
The values in a vector3 need to be float values (end with a decimal point, for example 0.0, 2.5, 1.7)
Here is what the coordinate directions are:
Using this information, you should be able to set up Heli Winch for a helicopter without a rope_attach
bone.
If your helicopter has the winch on its left side, then set WinchSideRight
to false
, and this will orient the hook and anything attached to it correctly.