Node Runner


Basic Information

  • Time Limit

    • Amount of time in seconds the objective needs to be completed within

  • Difficulty

    • Size of the arena

    • Number of enemies

  • Target Score

    • Number of nodes to collect to success


Exports (client side only)

Default Settings

exports['envi-hack-minigames']:StartNodeRunnerHack('expert', function(success)
    if success then
        print('Noderunner hack completed successfully!')
    else
        print('Noderunner hack failed!')
    end
end)

Custom Settings

exports['envi-hack-minigames']:StartNodeRunnerHack({
    timeLimit = 90,
    difficulty = 2,
    targetScore = 5
}, function(success)
    if success then
        print('Noderunner hack completed successfully!')
    else
        print('Noderunner hack failed!')
    end
end)

Getting Defaults

-- Get default settings for difficulty
local hackType = 'noderunner'
local difficultyPreset = 'medium'
local defaults = exports['envi-hack-minigames']:GetHackDefaults(hackType, difficultyPreset)

-- Adjust difficulty
-- Can be adjusted however you wish based on whatever parameters you decide
defaults.difficuly = defaults.difficuly - 1

-- Start the hack with the adjusted default settings
exports['envi-hack-minigames']:StartNodeRunnerHack(defaults, function(success)
    if success then
        print('Hack Success!')
    else
        print('Hack Failed!')
    end
end)

Last updated