πŸͺ‘Configuration

Configuration of script.

config.lua


-- [[
--       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—      β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—    β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— 
--      β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—     β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•    β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β• 
--      β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•     β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—
--      β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆ   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘
--      β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•
--       β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•  β•šβ•β•β•β•β• β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β•   β•šβ•β•       β•šβ•β•  β•šβ•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β•   β•šβ•β•        β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β•β•šβ•β•     β•šβ•β• β•šβ•β•β•β•β•β•                                                                                                                                                                                                                                                       
-- ]]                                                                       

Config = Config or {}

Config.Framework = GetResourceState('es_extended') == 'started' and 'esx' or GetResourceState('qb-core') == 'started' and 'qb' or nil

Config.NazuBridge = 'nazu-bridge'

Config.DebugMode = {

    showPolyZone = false, -- if you want to see polyzone, set to true. default false.

    ------------- DO NOT TOUCH ----------------
    showPrintLog = false,
    showSessionPrintLog = false,
    attachCameraToObject = false,
    disableCheckingCurrendSession = false,
    -------------------------------------------
}

Config.Language = 'en' -- 'en' or 'ja'

Config.Notify = 'ox' -- 'ox' or 'okok' or 'qb' or  or another

Config.ShowHelpType = 'gta5' -- 'gta5' or 'ox'

Config.NameTagSystem = { -- If your nametag script need to hide name tag.

    HideNameTag = function() -- Client Side Method
        -- do something
        -- example: exports['YOUR_NAME_TAG_SCRIPT']:HideNameTag()

        triggerNotify(Loc.Notify.title, 'HIDE NAME TAG!', 'info')
    end,

    ShowNameTag = function() -- Client Side Method
        -- do something
        -- example: exports['YOUR_NAME_TAG_SCRIPT']:ShowNameTag()

        triggerNotify(Loc.Notify.title, 'SHOW NAME TAG!', 'info')
    end,
}

-----===== Will be added in the next update =====-----

    -- Config.VoiceSystem = {

    --     System = 'pma-voice', -- 'pma-voice' or 'custom'

    --     AddToVoiceChannel = function(src, channel)  -- ServerSide Method
    --         if Config.VoiceSystem.System == 'pma-voice' then
    --             exports['pma-voice']:setPlayerRadio(src, channel)
    --         elseif Config.VoiceSystem.System == 'custom' then
    --             -- do something
    --         else
    --             -- do something
    --         end
    --     end,

    --     RemoveFromVoiceChannnel = function()  -- ClientSide Method
    --         if Config.VoiceSystem.System == 'pma-voice' then
    --             exports['pma-voice']:removePlayerFromRadio()
    --         elseif Config.VoiceSystem.System == 'custom' then
    --             -- do something
    --         else
    --             -- do something
    --         end
    --     end

    -- }

-----===== =============================== =====-----

Config.KeyMaps = {

    -- if you want to change, look this (https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/)
    -----===== PROP SIDE =====-----

        Lock = 'MOUSE_LEFT',
        CameraMode = 'E',
        Turn = 'MOUSE_RIGHT',
        SwitchProp = '2',
        Decoi = 'Q',
    
    -----===== PROP SIDE =====-----
} 

Config.GameSettings = {

    LIMITS = {
        CHANGE_PROP_LIMIT = 3,
        DECOI_LIMIT = 3,
    },

    DecoiHealth = 200, -- Recomand: 200. but, you can set 1-1000

    -- you can change sound of Whistle https://wiki.rage.mp/index.php?title=Sounds
    Whistle = {
        AUDIO_NAME = 'Whistle',
        AUDIO_REF = 'DLC_TG_Running_Back_Sounds',
        RANGE = 50.0,
        INTERVAL = 20, -- sec
    },

    SessionSettings = {
        TIME_OF_HUNTERS_WAITING_TIME = 60, -- sec
        TIME_OF_OUT_SIDE_LOBBY_ARE = 20, -- sec
        TIME_OF_SESSION_EXPIRY = 60 * 3, -- sec
        TIME_OF_OUT_SIDE_OBJECTHUNT_ARE = 5, -- sec
    },

    SkipTheCutScenes = false, -- false or true  <-- It is work if startType is 'peyote'. 'lobby' dont have cutscenes in default.

    Area = {

        Maps = {

            -- [[
            --
                --      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— 
                --      β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—
                --      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘
                --      β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•   β•šβ–ˆβ–ˆβ•”β•  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘
                --      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•
                --      β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•β•šβ•β•        β•šβ•β•   β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β• 
            --
            --  ]]
            
            ['NZ_OJH_SCRAPYARD'] = { -- 3673.84, 1043.72, 974.13
                enable = true,

                GameStart = {
                    startType = 'peyote', -- 'lobby' or 'peyote'
                    showBlip = true, -- true or false

                    Lobby = { -- if startType = "lobby"

                        ['NZ_OJH_SCRAPYARD_LOBBY_1'] = {
                            blip = {
                                label = '?????',
                                coords = vector3(2370.83, 3121.59, 48.22),
                                sprite = 788,
                                scale = 0.7,
                                color = 2,
                            },
                            zone = {
                                {
                                    vector2(2368.2084960938, 3128.7341308594),
                                    vector2(2385.1164550781, 3128.1787109375),
                                    vector2(2375.2126464844, 3100.8071289062),
                                    vector2(2359.1145019531, 3102.1535644531)
                                }, {
                                    maxZ = 53.348030090332,
                                    minZ = 40.977825164795,
                                }
                            }
                        },



                        -- you can add more here
                    },

                    Peyote = { -- if startType = "peyote"

                        ['NZ_OJH_SCRAPYARD_PEYOTE_1'] = {
                            model = 'prop_peyote_lowland_01',
                            coords = vector3(2370.83, 3121.59, 48.22),
                            cutsceneCoords = vector3(2380.49, 3078.03, 48.2) + vector3(0.0, 0.0, 66.1),
                            radius = 2.0,
                            joiningRadius = 12.0,
                            blip = {
                                label = '?????',
                                sprite = 788,
                                scale = 0.7,
                                color = 2,
                            },
                        },


                        -- you can add more here
                    },
                },

                ForceSettings = {
                    Hunter = {
                        FirstPersonShooterOnly = false,
                    },
                },

                Players = {
                    minJoin = 2, -- Must be set to 2 or higher
                    maxJoin = 12, -- recommand: 6-10 or 6-12. We have not done any test play with more than 12 people and do not recommend more than 12.
                },

                Speed = {
                    enable = true,
                    Props = 1.4, -- normal is 1.0, max 10.0 Recommand: 1.2-1.4
                },

                Jump = {
                    enable = true,
                    power = 10.0
                },

                Weapon = {
                    pumpshotgun = { ammo = 200, component_flash = true }
                },

                Spawner = {

                    Player = {

                        Hunters = {

                            [1] = vector4(3658.2, 1098.48, 973.94, 141.28),
                            [2] = vector4(3655.26, 1096.98, 974.03, 8.96),
                            [3] = vector4(3651.01, 1102.34, 973.64, 202.81),
                            [4] = vector4(3658.11, 1095.36, 974.17, 24.56),
                            [5] = vector4(3660.51, 1098.79, 974.11, 136.97),
                            [6] = vector4(3656.22, 1089.33, 974.19, 10.03),
                        },

                        Props = {

                            [1] = vector4(3672.6, 1004.97, 974.15, 113.13),
                            [2] = vector4(3656.81, 1007.35, 974.13, 101.9),
                            [3] = vector4(3646.36, 1067.36, 974.19, 78.81),
                            [4] = vector4(3709.47, 1065.88, 974.18, 11.13),
                            [5] = vector4(3698.67, 989.03, 974.13, 131.73),
                            [6] = vector4(3637.49, 984.08, 974.17, 168.8),
                        },


                    },

                    FakeObject = {  -- DEMO SYSTM. -- It is recommended to set FakeObject to false, as it may cause heavy server load.
                        enable = false,
                        minObject = 4,
                        maxObject = 6,
                        fakers = {
                            -- [1] = {
                            --     coords = vector3(0, 0, 0),
                            --     heading = 105.0,
                            --     prop = '',
                            -- },
                            -- [2] = {
                            --     coords = vector3(0, 0, 0),
                            --     heading = 105.0,
                            --     prop = '',
                            -- },
                        }
                    },

                    FirstProps = {
                        { prop = 'prop_vend_soda_01', },
                        { prop = 'prop_boxpile_07d', },
                        { prop = 'prop_pallet_pile_02', },
                        { prop = 'prop_pallet_pile_03', },
                        { prop = 'prop_byard_trailer01', },
                        { prop = 'prop_plywoodpile_01b', },
                        { prop = 'prop_tunnel_liner02', },
                        { prop = 'prop_rub_carwreck_14', },
                        { prop = 'prop_bin_03a', },
                        { prop = 'prop_aircon_m_05', },
                        { prop = 'prop_toolchest_05', },
                        { prop = 'prop_rub_trukwreck_1', },
                        { prop = 'prop_rub_frklft', },
                    },
            
                    AvailableSwitchProps = {
                        { prop = 'prop_vend_soda_01', },
                        { prop = 'prop_boxpile_07d', },
                        { prop = 'prop_pallet_pile_02', },
                        { prop = 'prop_pallet_pile_03', },
                        { prop = 'prop_byard_trailer01', },
                        { prop = 'prop_plywoodpile_01b', },
                        { prop = 'prop_tunnel_liner02', },
                        { prop = 'prop_rub_carwreck_14', },
                        { prop = 'prop_bin_03a', },
                        { prop = 'prop_aircon_m_05', },
                        { prop = 'prop_toolchest_05', },
                        { prop = 'prop_rub_trukwreck_1', },
                        { prop = 'prop_rub_frklft', },
                    },
                },
                
            },



            -- [[
            --  
                --  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— 
                --  β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—
                --  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘
                --  β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘
                --  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘
                --  β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•
            --
            -- ]]

            ['NZ_OJH_SENORA'] = { -- 3706.94, 1632.54, 960.25
                enable = true,

                GameStart = {
                    startType = 'peyote', -- 'lobby' or 'peyote'
                    showBlip = true, -- true or false

                    Lobby = { -- if startType = "lobby"

                        ['NZ_OJH_SENORA_LOBBY_1'] = {
                            blip = {
                                label = '?????',
                                coords = vector3(2374.62, 2527.55, 46.62),
                                sprite = 788,
                                scale = 0.7,
                                color = 2,
                            },
                            zone = {
                                {
                                    vector2(2378.8852539062, 2517.9936523438),
                                    vector2(2364.9899902344, 2520.2961425781),
                                    vector2(2367.3459472656, 2535.9006347656),
                                    vector2(2379.8784179688, 2534.8229980469)
                                }, {
                                    maxZ = 52.730903625488,
                                    minZ = 40.602485656738,
                                }
                            }
                        },

                        -- you can add more here
                    },

                    Peyote = { -- if startType = "peyote"

                        ['NZ_OJH_SENORA_PEYOTE_1'] = {
                            model = 'prop_peyote_lowland_01',
                            coords = vector3(2374.62, 2527.55, 46.62),
                            cutsceneCoords = vector3(2367.5, 2642.8, 46.64) + vector3(0.0, 0.0, 66.0),
                            radius = 2.0,
                            joiningRadius = 12.0,
                            blip = {
                                label = '?????',
                                sprite = 788,
                                scale = 0.7,
                                color = 2,
                            },
                        },


                        -- you can add more here
                    },
                },

                ForceSettings = {
                    Hunter = {
                        FirstPersonShooterOnly = false,
                    },
                },

                Players = {
                    minJoin = 2, -- Must be set to 2 or higher
                    maxJoin = 12, -- recommand: 6-10 or 6-12. We have not done any test play with more than 12 people and do not recommend more than 12.
                },

                Speed = {
                    enable = true,
                    Props = 1.5, -- normal is 1.0, max 10.0 Recommand: 1.2-1.4
                },

                Jump = {
                    enable = true,
                    power = 10.0
                },

                Weapon = {
                    pumpshotgun = { ammo = 200, component_flash = true }
                },

                Spawner = {
                    
                    Player = {

                        Hunters = {
                            [1] = vector4(3715.86, 1583.3, 960.25, 62.47),
                            [2] = vector4(3714.31, 1581.34, 960.25, 40.75),
                            [3] = vector4(3720.54, 1584.51, 960.25, 3.48),
                            [4] = vector4(3721.48, 1580.21, 960.24, 67.85),
                            [5] = vector4(3724.02, 1582.41, 960.23, 8.9),
                            [6] = vector4(3716.06, 1580.75, 960.25, 109.69),
                        },

                        Props = {
                            [1] = vector4(3684.3, 1594.91, 960.25, 356.28),
                            [2] = vector4(3673.17, 1604.66, 960.21, 350.54),
                            [3] = vector4(3668.77, 1632.7, 960.25, 339.34),
                            [4] = vector4(3687.65, 1649.51, 960.25, 282.71),
                            [5] = vector4(3691.01, 1671.19, 960.25, 297.22),
                            [6] = vector4(3701.72, 1690.69, 960.25, 262.61),
                        },
                    },

                    FakeObject = {  -- DEMO SYSTM. -- It is recommended to set false, as it may cause heavy server load.
                        enable = false,
                        minObject = 4,
                        maxObject = 6,
                        fakers = {
                            -- [1] = {
                            --     coords = vector3(0, 0, 0),
                            --     heading = 105.0,
                            --     prop = '',
                            -- },
                            -- [2] = {
                            --     coords = vector3(0, 0, 0),
                            --     heading = 105.0,
                            --     prop = '',
                            -- },
                        }
                    },

                    FirstProps = {
                        { prop = 'prop_rub_carwreck_9', },
                        { prop = 'prop_palm_fan_02_a', },
                        { prop = 'prop_speaker_07', },
                        { prop = 'prop_conc_blocks01b', },
                        { prop = 'prop_picnictable_01', },
                        { prop = 'prop_pallet_pile_04', },
                        { prop = 'prop_rub_couch02', },
                        { prop = 'prop_table_03b_chr', },
                        { prop = 'prop_bbq_4', },
                        { prop = 'prop_bin_07b', },
                    },
            
                    AvailableSwitchProps = {
                        { prop = 'prop_rub_carwreck_9', },
                        { prop = 'prop_palm_fan_02_a', },
                        { prop = 'prop_speaker_07', },
                        { prop = 'prop_conc_blocks01b', },
                        { prop = 'prop_picnictable_01', },
                        { prop = 'prop_pallet_pile_04', },
                        { prop = 'prop_rub_couch02', },
                        { prop = 'prop_table_03b_chr', },
                        { prop = 'prop_bbq_4', },
                        { prop = 'prop_bin_07b', },
                    },
                },
            },



            -- [[
            --
                --   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ–ˆβ•—
                --  β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ•‘
                --  β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ–ˆβ–ˆβ•”β–ˆβ–ˆβ•‘
                --  β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘
                --  β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ•β• β–ˆβ–ˆβ•‘
                --   β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•   β•šβ•β•    β•šβ•β•β•β•β•β• β•šβ•β•     β•šβ•β•
            --                                         
            -- ]]


            ['NZ_OJH_CUSTOM'] = {
                enable = true,
                
                PolyZone = {
                    {
                        vector2(1053.7788085938, -2388.2646484375),
                        vector2(1093.6125488282, -2389.3937988282),
                        vector2(1094.5611572266, -2376.8845214844),
                        vector2(1101.7708740234, -2373.9089355468),
                        vector2(1105.1505126954, -2371.9421386718),
                        vector2(1113.3205566406, -2365.5268554688),
                        vector2(1118.7580566406, -2360.5322265625),
                        vector2(1122.1788330078, -2355.11328125),
                        vector2(1124.1837158204, -2350.8334960938),
                        vector2(1125.5462646484, -2347.2404785156),
                        vector2(1126.4614257812, -2344.0244140625),
                        vector2(1126.9764404296, -2342.4187011718),
                        vector2(1136.8967285156, -2343.36328125),
                        vector2(1137.4481201172, -2327.0346679688),
                        vector2(1140.0997314454, -2296.3657226562),
                        vector2(1141.5151367188, -2279.2419433594),
                        vector2(1135.8862304688, -2255.9995117188),
                        vector2(1134.418334961, -2243.0747070312),
                        vector2(1128.419555664, -2228.6318359375),
                        vector2(1115.0001220704, -2215.048828125),
                        vector2(1097.5075683594, -2205.3654785156),
                        vector2(1067.0725097656, -2200.1508789062)
                    }, {
                        name = "NZ_OJH_CUSTOM",
                        debugPoly = Config.DebugMode.showPolyZone,
                        maxZ = 37.411293029786,
                        minZ = 25.37239074707,
                    }
                },

                GameStart = {
                    startType = 'peyote', -- 'lobby' or 'peyote'
                    showBlip = true, -- true or false
                    
                    Lobby = { -- if startType = "lobby"

                        ['NZ_OJH_CUSTOM_LOBBY_1'] = {
                            blip = {
                                label = '?????',
                                coords = vector3(1114.17, -2351.43, 30.53),
                                sprite = 788,
                                scale = 0.7,
                                color = 2,
                            }, 
                            zone = {
                                {
                                    vector2(1111.1624755859, -2352.7517089844),
                                    vector2(1111.8334960938, -2340.5834960938),
                                    vector2(1126.3990478516, -2342.6760253906),
                                    vector2(1119.1898193359, -2358.4582519531)
                                }, {
                                    maxZ = 37.411293029786,
                                    minZ = 25.37239074707,
                                }
                            }
                        },
                        -- you can add more here


                    },

                    Peyote = { -- if startType = "peyote"

                        ['NZ_OJH_CUSTOM_PEYOTE_1'] = {
                            model = 'prop_peyote_lowland_01',
                            coords = vector3(1114.17, -2351.43, 30.53),
                            cutsceneCoords = vector3(1099.88, -2273.71, 30.15) + vector3(0.0, 0.0, 66.0),
                            radius = 2.0,
                            joiningRadius = 12.0,
                            blip = {
                                label = '?????',
                                sprite = 788,
                                scale = 0.7,
                                color = 2,
                            },
                        },

                        
                        -- you can add more here
                    },
                },

                ForceSettings = {
                    Hunter = {
                        FirstPersonShooterOnly = false,
                    },
                },

                Players = {
                    minJoin = 2, -- Must be set to 2 or higher
                    maxJoin = 12, -- recommand: 6-10 or 6-12. We have not done any test play with more than 12 people and do not recommend more than 12.
                },

                Speed = {
                    enable = true,
                    Props = 1.5, -- normal is 1.0, max 10.0 Recommand: 1.2-1.4
                },

                Jump = {
                    enable = true,
                    power = 10.0
                },

                Weapon = {
                    pumpshotgun = { ammo = 200, component_flash = true }
                },

                Spawner = {
                    
                    Player = {

                        Hunters = {

                            [1] = vector4(1059.32, -2376.15, 30.63, 268.77),
                            [2] = vector4(1058.87, -2378.33, 30.64, 258.00),
                            [3] = vector4(1059.38, -2380.65, 30.63, 266.19),
                            [4] = vector4(1058.86, -2383.41, 30.52, 263.69),
                            [5] = vector4(1063.45, -2381.90, 30.64, 268.86),
                            [6] = vector4(1064.85, -2377.81, 30.74, 271.99),
                        },

                        Props = {

                            [1] = vector4(1127.86, -2239.99, 30.72, 143.85),
                            [2] = vector4(1124.47, -2236.18, 30.45, 136.13),
                            [3] = vector4(1104.74, -2238.62, 30.17, 112.26),
                            [4] = vector4(1091.63, -2280.15, 30.15, 123.45),
                            [5] = vector4(1112.53, -2302.85, 30.50, 210.15),
                            [6] = vector4(1113.46, -2325.61, 30.52, 164.79),
                        },
                    },

                    FakeObject = {  -- DEMO SYSTM. -- It is recommended to set FakeObject to false, as it may cause heavy server load.
                        enable = false,
                        minObject = 2,
                        maxObject = 5,
                        fakers = {
                            -- [1] = {
                            --     coords = vector3(0, 0, 0),
                            --     heading = 105.0,
                            --     prop = '',
                            -- },
                            -- [2] = {
                            --     coords = vector3(0, 0, 0),
                            --     heading = 105.0,
                            --     prop = '',
                            -- },
                        }
                    },

                    FirstProps = {
                        { prop = 'prop_box_wood01a', },
                        { prop = 'prop_watercrate_01', },
                        { prop = 'prop_barier_conc_02a', },
                        { prop = 'prop_barier_conc_01a', },
                        { prop = 'prop_pallettruck_01', },
                        { prop = 'prop_rock_1_d', },
                        { prop = 'prop_palm_fan_02_b', },
                        { prop = 'prop_dumpster_02a', },

                    },
            
                    AvailableSwitchProps = {
                        { prop = 'prop_box_wood01a', },
                        { prop = 'prop_watercrate_01', },
                        { prop = 'prop_barier_conc_02a', },
                        { prop = 'prop_barier_conc_01a', },
                        { prop = 'prop_pallettruck_01', },
                        { prop = 'prop_rock_1_d', },
                        { prop = 'prop_palm_fan_02_b', },
                        { prop = 'prop_dumpster_02a', },
                    },
                },
            },

        },

    },
}



------------- DO NOT TOUCH ----------------

Config.OBJ_POLY_SIZE = 20

Config.DEMO_ROLE = {
    enable = false,
    role = 'prop'
}

-------------------------------------------

Game Settings

Category
Details
GameSetting

LIMITS

CHANGE_PROP_LIMIT

Prop change limits

DECOI_LIMIT

Decoi limits

DecoiHealth

Decoi health

Whistle

AUDIO_NAME

Audio Name of whitle

AUDIO_REF

Audio Ref of whitle

INTERVAL

Interval of whitle

SessionSettings

TIME_OF_HUNTERS_WAITING_TIME

Hunter waiting time

TIME_OF_OUT_SIDE_LOBBY_ARE

Countdown to kick players when the game has not yet started and they are outside the OBJECT HUNT menu area

TIME_OF_SESSION_EXPIRY

Time limit to start the game

TIME_OF_OUT_SIDE_OBJECTHUNT_ARE

Countdown outside the area during the game

SkipTheCutScenes

Skip Cut Scenes or not

Area.Maps

GameStart.startType

You can decide how to start: "peyote" or "lobby"

ForceSettings.Hunter.FirstPersonShooterOnly

Can be set to force first person during play

Players.minJoin

Minimum number of participants per map

Players.maxJoin

Maximum number of participants per map

Speed.Props

The speed at which the Prop side runs during the game

Jump.power

Power of jump on the prop side during the game

Weapon.pumpshotgun..

Setting up weapons on the hunter's side

Spawner.Player..

Initial location of the player at the beginning of the game

Spawner.FakeObject.minObject

Minimum number of fake objects to spawn

Spawner.FakeObject.maxObject

Maximum number of fake objects to spawn

Spawner.FirstProps

Random prop list when first spawned

Spawner.AvailableSwitchProps

List of props that the object side can transform

Props offset settings

Category
Config

DefaultOffset

If the coordinates of the fake object and the transformation destination on the object side are not set in Config.Props_Z_Dict, this number is used.

Props_Z_Dict

Individual height specification for each prop

config/props.lua

Config.DefaultOffset = {
    z = -0.90
}

Config.Props_Z_Dict = {


    ------------------------------
    ---- MAP NZ_OJH_SCRAPYARD ----
    ------------------------------

    [joaat('prop_vend_soda_01')] = -0.039999999999999,
    [joaat('prop_pallet_pile_02')] = -0.88,
    [joaat('prop_pallet_pile_03')] = -1.0,
    [joaat('prop_byard_trailer01')] = -1.0,
    [joaat('prop_plywoodpile_01b')] = -1.0,
    [joaat('prop_tunnel_liner02')] = -1.0,
    [joaat('prop_boxpile_07d')] = -1.0,
    [joaat('prop_rub_carwreck_14')] = -1.0,
    [joaat('prop_bin_03a')] = -0.98,
    [joaat('prop_aircon_m_05')] = -1.0,
    [joaat('prop_toolchest_05')] = -1.02,
    [joaat('prop_rub_trukwreck_1')] = -0.3,
    [joaat('prop_rub_frklft')] = -1.16,

    
    ---------------------------
    ---- MAP NZ_OJH_SENORA ----
    ---------------------------

    [joaat('prop_rub_carwreck_9')] = -1.0,
    [joaat('prop_palm_fan_02_a')] = -1.04,
    [joaat('prop_speaker_07')] = -0.58,
    [joaat('prop_table_04')] = -0.1,
    [joaat('prop_conc_blocks01b')] = -1.0,
    [joaat('prop_picnictable_01')] = -0.98,
    [joaat('prop_pallet_pile_04')] = -0.1,
    [joaat('prop_rub_couch02')] = -1.0,
    [joaat('prop_table_03b_chr')] = -1.02,
    [joaat('prop_bbq_4')] = -1.0,
    [joaat('prop_bin_07b')] = -1.0,


    ---------------------------
    ---- MAP NZ_OJH_CUSTOM ----
    ---------------------------

    [joaat('prop_box_wood01a')] = -1.0,
    [joaat('prop_watercrate_01')] = -1.0,
    [joaat('prop_barier_conc_02a')] = -1.0,
    [joaat('prop_barier_conc_01a')] = -0.96,
    [joaat('prop_pallettruck_01')] = -1.0,
    [joaat('prop_rock_1_d')] = -1.0,
    [joaat('prop_palm_fan_02_b')] = -1.02,
    [joaat('prop_dumpster_02a')] = -1.0,

    -- you can more here.
}

Last updated