Wizard Mileage version 1.2.0 released!

⚙️ Configuration

Welcome to the configuration guide for the Wizard Drilling System! This page explains every option in your config.lua so you can easily tailor the minigames to your server.

💡 Tips

  • Restart Required: Any changes to config.lua require a server or resource restart.

  • Customization: Adjust values to make minigames easier or harder for your players.


🔒 Controls Disabled During Minigames

Control ID
Description

24

Attack

30

Move Left/Right

31

Move Up/Down

44

Cover

199

Pause Menu

Config.DisableControl = {24, 30, 31, 44, 199}

Drill Minigame

Option
Description
Example/Default

Key

Keyboard key code to start drilling

172 (Arrow Up)

Model

Drill object model name

"hei_prop_heist_drill"

AnimDict

Animation dictionary

"anim@heists@fleeca_bank@drilling"

Animation

Animation name

"drill_straight_idle"

CooldownDuration

Time required for players to hold the keys to start drilling

1

MaxSpeed

Max allowed drill speed

0.3

MaxTemp

Max temperature before overheating

1.0

HeatUpMultiplier

Multiplier for heat increase

0.05

CooldownRate

How fast the drill cools down

0.01

ShakeCam

Enable camera shake?

true

ShakeInt

Camera shake intensity

0.6

Config.DrillMinigame = {
    Key = 172,                             -- Key to use the Drill
    
    Model = "hei_prop_heist_drill",        -- Model of the vault drill

    AnimDict = "anim@heists@fleeca_bank@drilling", -- Animation dictionary for the drill minigame
    Animation = "drill_straight_idle",             -- Animation for the drill minigame

    CooldownDuration = 1,                  -- Time required for players to hold the keys to start drilling (in seconds)

    MaxSpeed = 0.1,                        -- Maximum speed allowed in the drill minigame
    MaxTemp = 1.0,                         -- Maximum temperature before overheating
    HeatUpMultiplier = 0.05,               -- Multiplier for heat increase
    CooldownRate = 0.01,                   -- Rate at which the drill cools down

    ShakeCam = true,                       -- Enable camera shake while drilling
    ShakeInt = 0.6,                        -- Shake intensity for the camera
}

Vault Drill Minigame

Config.VaultMinigame = {
    Key = 172,                             -- Key to use the Drill
    
    Model = "hei_prop_heist_drill",        -- Model of the vault drill

    AnimDict = "anim@heists@fleeca_bank@drilling", -- Animation dictionary for the drill minigame
    Animation = "drill_straight_idle",             -- Animation for the drill minigame

    CooldownDuration = 1,                  -- Time required for players to hold the keys to start drilling (in seconds)

    MaxSpeed = 0.7,                        -- Maximum speed allowed in the vault drill minigame
    MaxTemp = 1.0,                         -- Maximum temperature before overheating
    HeatUpMultiplier = 0.01,               -- Multiplier for heat increase
    CooldownRate = 0.01,                   -- Rate at which the vault mechanism cools down

    ShakeCam = true,                       -- Enable camera shake while drilling
    ShakeInt = 0.6,                        -- Shake intensity for the camera
}

Laser Minigame

Config.LaserMinigame = {
    Key = 172,                             -- Key to use the Laser
    
    Model = "ch_prop_laserdrill_01a",      -- Model of the vault drill

    AnimDict = "anim@heists@fleeca_bank@drilling", -- Animation dictionary for the drill minigame
    Animation = "drill_straight_idle",             -- Animation for the drill minigame

    CooldownDuration = 1,                  -- Time required for players to hold the keys to start the laser (in seconds)
    
    MaxSpeed = 2.5,                        -- Maximum speed allowed in the laser minigame
    MaxTemp = 1.0,                         -- Maximum temperature before overheating
    HeatUpMultiplier = 0.004,              -- Multiplier for heat increase
    CooldownRate = 0.01,                   -- Rate at which the laser cools down

    ShakeCam = false,                      -- Enable camera shake while using laser
    ShakeInt = 0.6,                        -- Shake intensity for the camera
}

📝 Example: Customizing Drill Difficulty

To make the drill minigame easier, increase MaxSpeed or decrease MaxTemp. To make it harder, lower MaxSpeed or increase ShakeInt.


📚 Need Help?

Last updated