ControllerReload

From Lemon
Jump to navigation Jump to search

ControllerReload is a simple script for Grand Theft Auto V that allows you to reload the scripts loaded in ScriptHookVDotNet by pressing a specific number of controller buttons. It reloads the scripts by simulating the `Reload()` console command. You can configure the numbers of buttons that you need to press.

Download

Installation

  • Download the compressed file from GitHub Releases or 5mods
  • Extract the files inside of the 7zip into your scripts folder

Usage

After installing the Mod, you can use the following button combination to reload your scripts:

  • Xbox 360 and Xbox One Controller: Xbox Right Bumper.svg and Xbox button B.svg
  • DualShock 3 and DualShock 4: PlayStation 4 button R1.svg and PlayStation button C.svg
  • Wii U Gamepad, Joy Cons and Pro Controllers: R and A

This combination is configurable, see below.

Setup

After running ControllerReload for the first time, a file called ControllerReload.json will be created in your scripts folder. Here you will be able to configure the button presses required to reload the script.

You will see something like this:

{
  "controls": [
    "FrontendRb",
    "FrontendCancel"
  ]
}

To change the buttons, specify any of the names in the Control enum. For example, to use Xbox Left Bumper.svg + Xbox Right Bumper.svg + Xbox button Y.svg (PlayStation 4 button L1.svg + PlayStation 4 button R1.svg + PlayStation button T.svg):

{
  "controls": [
    "FrontendLb",
    "FrontendRb",
    "FrontendY"
  ]
}