Vexaro Scripts

Bike Tricks

Vexaro Bike Tricks documentation and configuration guide.

Bike Tricks

Vexaro Bike Tricks adds stunt tricks and movement controls to bicycles and motorbikes.

Installation

Place the vexaro_biketricks folder inside your server's resources directory.

Then add the following to your server.cfg:

ensure vexaro_biketricks

Restart your server after adding the resource.

What Is What

The configuration controls which vehicles can use the tricks, what keys are used, how fast air tricks rotate, bunny hop power, and automatic levelling.

Full Configuration

Vexaro = {}

Vexaro.Config = {

    modifierKey = 'LEFTCTRL',

    minSpeed = 10.0,

    allowBicycles   = true,
    allowMotorbikes = true,

    defaultKeys = {

        -- Ground poses
        superman   = 'UP',
        layback    = 'DOWN',
        onehander  = 'LEFT',
        nohander   = 'RIGHT',

        -- Air tricks
        backflip   = 'X',
        frontflip  = 'Q',
        rollleft   = 'I',
        rollright  = 'L',
        spinleft   = 'Z',
        spinright  = 'B',

        -- Bunny hop
        bunnyhop   = 'SPACE',
    },

    airTrickSpeed = 6.0,

    bunnyHopPower = 12.0,

    autoLevel = true,
}

modifierKey

modifierKey = 'LEFTCTRL'

This controls the modifier key used by Bike Tricks.

The default key is LEFTCTRL.

You can change it to another key if required.

Example:

modifierKey = 'LEFTSHIFT'

minSpeed

minSpeed = 10.0

This controls the minimum speed required for the floor tick.

A higher value means the player needs to be travelling faster.

A lower value allows the action at a slower speed.

allowBicycles

allowBicycles = true

Controls whether bicycles can use Bike Tricks.

true means bicycles are enabled.

false means bicycles are disabled.

Example:

allowBicycles = false

allowMotorbikes

allowMotorbikes = true

Controls whether motorbikes can use Bike Tricks.

true means motorbikes are enabled.

false means motorbikes are disabled.

Example:

allowMotorbikes = false

Default Keys

The defaultKeys section controls the keybinds for each trick.

You can change these keys to whatever you prefer.

Ground Poses

Superman

superman = 'UP'

Default key: UP

Performs the Superman pose.

Layback

layback = 'DOWN'

Default key: DOWN

Performs the Layback pose.

One Hander

onehander = 'LEFT'

Default key: LEFT

Performs the One Hander pose.

No Hander

nohander = 'RIGHT'

Default key: RIGHT

Performs the No Hander pose.

Air Tricks

Backflip

backflip = 'X'

Default key: X

Performs a backflip while airborne.

Frontflip

frontflip = 'Q'

Default key: Q

Performs a frontflip while airborne.

Roll Left

rollleft = 'I'

Default key: I

Performs a roll to the left while airborne.

Roll Right

rollright = 'L'

Default key: L

Performs a roll to the right while airborne.

Spin Left

spinleft = 'Z'

Default key: Z

Performs a spin to the left while airborne.

Spin Right

spinright = 'B'

Default key: B

Performs a spin to the right while airborne.

Bunny Hop

bunnyhop

bunnyhop = 'SPACE'

Default key: SPACE

Controls the key used to perform the bunny hop.

Example:

bunnyhop = 'G'

Air Trick Speed

airTrickSpeed = 6.0

Controls how quickly the bike rotates during air tricks.

Higher values make the rotations faster.

Lower values make the rotations slower.

Example:

airTrickSpeed = 4.0

Bunny Hop Power

bunnyHopPower = 12.0

Controls the power of the bunny hop.

Higher values make the bunny hop stronger.

Lower values make the bunny hop weaker.

Example:

bunnyHopPower = 16.0

Automatic Levelling

autoLevel = true

Controls automatic bike levelling.

true means automatic levelling is enabled.

false means automatic levelling is disabled.

Example:

autoLevel = false

Changing Controls

To change a trick's key, edit the value inside defaultKeys.

For example, to change the backflip from X to E:

backflip = 'E'

To change the bunny hop from SPACE to G:

bunnyhop = 'G'

Save the configuration and restart the resource after making changes.

On this page