💈Integration

Here you can find information about how you can implement your script into Vortex


If you want to make your custom lua script have an own submenu then you will have to follow some extra steps.

check = {
    bool = false
}

slider = {
    selected = 50.0,
    min = 1.0,
    max = 100.0,
    step = 1.0
}

combo = {
    selected = 1,
    values = { "test1", "test2" },
    words = { "Test1", "Test2" }
}

color = { r = 17, g = 135, b = 187 }
-- do not edit or change %%luaName%%
customLuaOptions["%%luaName%%"] = {
    {
        type = "button",
    	name = "Test Button",
    	onClick = test
    },
    {
    	type = "checkbox",
    	name = "Test Checkbox",
    	data = check,
    },
    {
    	type = "slider",
    	name = "Test Slider",
    	data = slider,
    	onClick = test
    },
    {
    	type = "combobox",
    	name = "Test Combobox",
    	data = combo,
    	onClick = test
    },
    {
    	type = "colorpicker",
    	name = "Test ColorPicker",
    	data = color,
    	onClick = test
    },
    {
    	type = "separator",
    	name = "Test Separator"
    }
}
customFreeCamModes["%%luaName%%"] = {
    [1] = {
    	name = "Own Mode 1",
    	func = mode1
    },
    [2] = {
    	name = "Own Mode 2",
    	func = mode2
    },
}

Discord Integration

To upload your custom script you need to link your discord! (Settings -> Menu -> Link Discord)

Once you have linked your discord you can use the following commands: /upload, /deletelua, /myluas, /giveaccess, /removeaccess

Last updated