Customization

We provide advanced and flexible set of customization options:

Basic options
-------------------------
-- Basic Configuration --
-------------------------
Config.EntryPoints = {
    {
        enabled = true,
        coords = vec3(2107.79, 3324.41, 45.37),
        markerRadius = 3.0,
        visibleAtDistance = 25.0,
        markerColor = {255, 192, 203, 175},
        markerText = 'Press ~y~[E]~w~ to enter ~f~Squid Game Lobby~w~',
        blip = {id = 126, color = 23, scale = 0.75, text = 'Squid Game Lobby'},
        teleportTo = vec3(2054.26, 3349.12, -107.82),
        changeSkinOnEntry = false,
    },
    {
        enabled = false, -- true/false
        coords = vec3(2072.12, 3349.10, -106.69),
        markerRadius = 2.0,
        visibleAtDistance = 50.0,
        markerColor = {196, 30, 58, 175},
        markerText = 'Press ~y~[E]~w~ to enter ~b~Hosts Room~w~',
        teleportTo = vec3(2019.26, 3360.33, -100.47),
        changeSkinOnEntry = false,
    },
    {
        enabled = false, -- true/false
        coords = vec3(2019.26, 3360.33, -100.47),
        markerRadius = 1.5,
        visibleAtDistance = 25.0,
        markerColor = {255, 192, 203, 175},
        markerText = 'Press ~y~[E]~w~ to enter ~f~Squid Game Lobby~w~',
        teleportTo = vec3(2072.12, 3349.10, -106.69),
        changeSkinOnEntry = false,
    },
    {
        enabled = false, -- true/false
        coords = vec3(2019.21, 3337.84, -100.47),
        markerRadius = 1.5,
        visibleAtDistance = 25.0,
        markerColor = {112, 41, 99, 175},
        markerText = 'Press ~y~[E]~w~ to exit',
        teleportTo = vec3(2078.34, 3344.14, 46.64),
        changeSkinOnEntry = false,
    },
}

--------------------
-- Player Clothes --
--------------------
Config.PlayerOutfits = {
    ["male"] = {
        {
            -- pants_1, pants_2
            [4] = {5, 0},
             -- shoes_1, shoes_2
            [6] = {43, 0},
            -- tshirt_1, tshirt_2
            [8] = {0, 1},
            -- torso_1, torso_2
            [11] = {74, 0},
            -- mask_1, mask_2
            [1] = {0, 0},
            -- arms, arms_2
            [3] = {0, 0},
            -- bags_1, bags_2
            [5] = {0, 0},
            -- chain_1, chain_2
            [7] = {0, 0},
            -- bproof_1, bproof_2
            [9] = {0, 0},
            -- decals_1, decals_2
            [10] = {0, 0},
        },
    },
    ["female"] = {
        {
            [4] = {66, 0},
            [6] = {80, 0},
            [8] = {2, 0},
            [11] = {147, 0},
            [1] = {0, 0},
            [3] = {0, 0},
            [5] = {0, 0},
            [7] = {0, 0},
            [9] = {0, 0},
            [10] = {0, 0},
        },
    }
}

Advanced options
Config.LobbyForAllCommand = {
    commandName = 'sq-game-lobby-for-all',
    boundaries = {
        cornerA = vec3(2056.05, 3340.86, -107.44),
        cornerB = vec3(2040.01, 3340.90, -107.44),
        cornerC = vec3(2039.71, 3356.49, -107.44),
        cornerD = vec3(2054.90, 3357.18, -107.44),
    },
} 
Gaming System Guide (Simple Sequence)

To start levels one after another use the guide bellow. In each level in config.lua update Config.FeeItem and Config.RewardItem. For example:

  • Level 1:

    -- squid-game-level1/config.lua
    Config.FeeItem = ''
    Config.RewardItem = 'item_level2_access'

  • Level 2:

    -- dalgona-game/config.lua
    Config.FeeItem = 'item_level2_access'
    Config.RewardItem = 'item_level5_access'

  • Level 5:

    -- squid-game-level5/config.lua
    Config.FeeItem = 'item_level5_access'
    Config.RewardItem = 'item_mingle_game_access'

  • Mingle Game:

    -- mingle-game/config.lua
    Config.FeeItem = 'item_mingle_game_access'
    Config.RewardItem = 'burger'

Now players can access next level only when they have Config.FeeItem. When they pass the level as the reward each player receive Config.RewardItem.

In this way players can access next level only when they pass previous one.

Gaming System Guide (On Demand)

To start levels inside Lobby MLO follow the guide bellow:

1. Change config file for each game

Configure for each game (e.g. mingle-game/config.lua). This will do next things:

  • Place each game starting point inside Lobby MLO.

  • Set player respawn inside Lobby MLO for those who win the game.

  • Disable starting point by default (in next step we enable it by a command).

Config.StartPointEnabled = false -- Start point disabled
Config.StartPoint = vec3(2054.26, 3349.12, -107.82) -- Lobby MLO coords
Config.SpawnCoords = {
  GameSuccess = { vec3(2054.26, 3349.12, -107.82) },   -- Lobby MLO coords
}

2. Enable starting point on demand

If you disabled starting point by default, then you can enable it on demand by using the command. For example, if you want to enable Level 1 you can use the command /sq-game-enable and Level 5 by /sq-game5-enable.

You can disable starting point in the same way, by using the command, e.g. /sq-game-disable.

For more commands check the docs/COMMANDS.md file in each game's folder.

3. Teleport all players to the Lobby MLO

You can teleport all players by using the command /sq-game-lobby-for-all or each player can enter manually by using teleport point Squid Game Lobby on the map.

Check config.lua of Lobby MLO to enable/disable more teleport points.

Last updated