Shared Configuration

The shared configuration defines coordinates, interaction zones, and laundromat locations for the heist system. This configuration is used by both client and server.

Coordinates Configuration

The coords section defines the main interaction points for the heist:

coords = {
    powerCut = vec3(888.749, -1030.527, 38.969),
    laptop = vec3(890.539, -1038.143, 35.287),
    safe = vec3(891.450, -1029.402, 34.724)
}
coords.powerCutrequiredvector3
The coordinates for the electrical box where players cut power.
coords.laptoprequiredvector3
The coordinates for the laptop where players hack the computer system.
coords.saferequiredvector3
The coordinates for the safe that players can crack after completing other objectives.

Laundromat Locations

The laundromats section defines all washing machine locations that can be robbed:

Individual Laundromat Configuration

[1] = {
    coords = vec3(901.65, -1044.9, 36.2),
    size = vec3(0.9, 0.9, 1.0),
    rotation = 0.0
}
laundromats[id].coordsrequiredvector3
The world coordinates where the washing machine is located (x, y, z).
laundromats[id].sizerequiredvector3
The size of the interaction zone for the washing machine (width, length, height).
laundromats[id].rotationrequirednumber
The rotation angle of the interaction zone in degrees.

Complete Configuration Example

return {
    coords = {
        powerCut = vec3(888.749, -1030.527, 38.969),
        laptop = vec3(890.539, -1038.143, 35.287),
        safe = vec3(891.450, -1029.402, 34.724)
    },
    
    laundromats = {
        [1] = {
            coords = vec3(901.65, -1044.9, 36.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [2] = {
            coords = vec3(900.75, -1044.9, 36.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [3] = {
            coords = vec3(899.85, -1044.9, 36.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [4] = {
            coords = vec3(898.95, -1044.9, 36.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [5] = {
            coords = vec3(897.15, -1044.9, 36.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [6] = {
            coords = vec3(896.25, -1044.9, 36.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [7] = {
            coords = vec3(901.65, -1044.9, 35.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [8] = {
            coords = vec3(900.75, -1044.9, 35.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [9] = {
            coords = vec3(899.85, -1044.9, 35.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [10] = {
            coords = vec3(898.95, -1044.9, 35.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [11] = {
            coords = vec3(898.05, -1044.9, 35.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [12] = {
            coords = vec3(897.15, -1044.9, 35.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [13] = {
            coords = vec3(896.25, -1044.9, 35.2),
            size = vec3(0.9, 0.9, 1.0),
            rotation = 0.0
        },

        [14] = {
            coords = vec3(897.15, -1042.3, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [15] = {
            coords = vec3(898.30, -1042.3, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [16] = {
            coords = vec3(899.45, -1042.3, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [17] = {
            coords = vec3(900.60, -1042.3, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [18] = {
            coords = vec3(901.75, -1042.3, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [19] = {
            coords = vec3(897.15, -1042.3, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [20] = {
            coords = vec3(897.15, -1040.65, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [21] = {
            coords = vec3(898.30, -1040.65, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [22] = {
            coords = vec3(899.45, -1040.65, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [23] = {
            coords = vec3(900.60, -1040.65, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        },

        [24] = {
            coords = vec3(901.75, -1040.65, 35.1),
            size = vec3(0.9, 0.75, 1.2),
            rotation = 0.0
        }
    }
}