Setting up

This guide will help you setup your Tiller Ladder Truck

Smart Vehicle Setup

Setting up this vehicle with Smart Vehicle is easy. First of all, download the vehicle from your Cfx Portal account and install it as a new resource in your server.

Installing Resources

Make sure you do not rename either the Smart Vehicle resource folder or the vehicle resource folder after downloading from Cfx Portal, as this may prevent the resource from working.

Demonstration Video

Watch this demonstration video showing you how to operate our Tiller Ladder Truck.

Spawn Code (Cabs)

The spawn code for the cab vehicle is either tiller for the Non-ELS version or tillerels for the ELS version.

Spawning in the tiller correctly

Please note that this operates as two separate vehicles:

  • Tiller - This is the vehicle at the front.

  • Tillertrailer - This is the vehicle at the back

To make the tiller work, you'll need to spawn in both the Tiller and Tillertrailer before connecting them together like a lorry in-game:

Afterwards, your tiller will be ready to setup with Smart Vehicle

Setting up the vehicle

To begin using the vehicle, firstly spawn in the vehicle and jump in the drivers seat. This will activate automatic setup via Smart Vehicle, installing the props in.

For the tiller, you can jump in the cab (front) vehicle and this will automatically setup the props on the trailer.

Controls

These are the default controls for the vehicle.

  • K - Toggle the control panel menu

  • A - Rotate ladder left

  • D - Rotate ladder right

  • W - Rotate ladder up

  • S - Rotate ladder down

  • Left SHIFT - Extend ladder out

  • Left CONTROL - Retract ladder in

  • Arrow up - Rotate ladder end piece

  • Page up - Extend outriggers

  • Page down - Retract outriggers

  • Insert - Extend outriggers feet

  • Home - Retract outriggers feet

These can be changed in the tiller.lua or tillertrailerels.lua files.

Editing the Smart Vehicle Controls

All Smart Vehicles are controlled by their own data files, such as recovery.lua. These can be found in the Smart Vehicle resource within the vehicles folder.

To change the controls of your relevant vehicle or the speed of various prop movements, you can make the relevant changes within the lua file here.

For more guidance on editing this data lua file, see our documentation for developers below. Please note, this documentation is not designed to be read without prior knowledge of vehicle development.

Information for Developers

Tiller Ladder Truck features a working control panel, allowing you to control all elements of the tiller without having to use the keybinds. By default, the menu will work provided you have named the Tiller resource "tiller" or "tillerels" and Smart Vehicle is fully up to date.

The resource is configured to automatically open the menu when you start controlling the vehicle, however this can be disabled in the tiller.lua or tillertrailerels.lua files within the Smart Vehicle vehicles folder.

menu = { 
        enabled = true,
        resourceName = "tiller",
        menuControls = {
            openAuto = true,
            openMenuKey = 311,
            -- Export to open menu should be named openMenu()
        }
    },

Within the menu section you are able to enable/disable the menu, set whether it opens automatically when a player starts controlling and also set the key to open the menu (if you didn't have it open automatically or a player later closes it and wants to reopen).

Editing the menu

To edit the menu, you'll need prior knowledge of HTML/CSS/JS to edit the necessary files. To find these files, open your vehicle resource folder and open the nui folder.

Here you will find the HTML, CSS and JS files which allow you to make changes. For more information on how the menu needs to be setup, see our development documentation on this.

Vehicle Control Menus

Last updated

Was this helpful?