Advanced Configuration
Last updated
Last updated
Heli Winch is very configurable, with all of the commands, language, buttons, and speeds able to be changed.
Starting at the top of the config.lua, we have the Config.ExtendButton
and Config.RetractButton
entries. Reference this website to see the list of available controls that you can use
For some of the buttons, you also have to edit the name which looks something like this: ~INPUT_EXAMPLE~
These are used in button prompt labels in the script. You can find the relevant name for each key to the left of it in the list at the above website.
Config.WinchSpeed
and Config.WinchRetractSpeed
alter the speed at which the winch extends and retracts. The retract speed always appears to need to be 100* the winch speed to remain even. Please note if these numbers get too small then the script will experience issues such as the winch not extending/retracting, or extending/retracting in the opposite direction.
Config.AnimationProblems
is for use by servers that experience issues where all players in the server begin playing animations related to HeliWinch, such as the attached to winch animation. Set this to true if you experience these issues.
Config.ShowKeybindPrompts
allows you to toggle whether players see the button prompts on their screen, such as "Press Z
to attach to winch".
Config.DisableAllCommands
allows you to disable all the commands, so that players can only use the menu. Note, this also disables the menu command, you would need to use something to trigger the event to open the winch menu.
The winch menu can be opened using the following event: heliwinch:openmenu
. It can be closed using the following event: heliwinch:closemenu
.
At the bottom of the config.lua, those who are experienced in programming can alter the show notification function if they wish to use a custom notification popup system.
Heli Winch has the ability to change all the language in the script. This is done in the config.lua file.
Heli Winch has the ability to enable ACE Permissions for the commands.
The ACE permissions are done by the commands, for example: add_ace identifier.license:abc12345678910 "command.winch" allow