Skip to content

Bigger zone bug #13

@Kentainfr

Description

@Kentainfr

When you make a bigger zone & add other animals :

`["CHILIAD_MOUNTAINS"] = {
coords = vec3(-689.35, 4530.64, 84.68),
radius = 600.0,
maxSpawns = 10, -- max animals spawned at one time
allowedWeapons = nil, -- nil if you want to allow every weapon
zone_radius = {
enable = true,
color = 1,
opacity = 128,
},
blip = {
enable = false,
name = 'Hunting Zone',
type = 141,
scale = 1.0,
color = 0,
},
animals = {
{
model = "a_c_deer",
chance = 80, -- chance of spawning
harvestTime = 5,
harvestWeapons = { "WEAPON_DAGGER" },
blip = {
enable = true,
name = 'Deer',
type = 119,
scale = 0.8,
color = 1,
},
marker = {
enable = false,
color = { r = 196, g = 136, b = 77, a = 150 }
},
items = {
skins = {
{
item = "skin_deer_ruined",
chance = 70,
maxQuantity = 1,
},
{
item = "skin_deer_low",
chance = 50,
maxQuantity = 1,
},
{
item = "skin_deer_medium",
chance = 30,
maxQuantity = 1,
},
{
item = "skin_deer_good",
chance = 25,
maxQuantity = 1,
},
{
item = "skin_deer_perfect",
chance = 5,
maxQuantity = 1,
},
},
meat = {
{
item = "raw_meat",
chance = 100,
maxQuantity = 10,
},
-- {
-- item = "raw_meat",
-- chance = 100,
-- maxQuantity = 10,
-- },
},
extra = { -- rare items
{
item = "deer_horn",
chance = 30,
maxQuantity = 1,
},
-- {
-- item = "deer_horn",
-- chance = 30,
-- maxQuantity = 1,
-- },
}

            }
        },
        {
            model = "a_c_boar",
            chance = 50, -- chance of spawning
            harvestTime = 15,
            harvestWeapons = { "WEAPON_DAGGER" },
            blip = {
                enable = true,
                name = 'Sanglier',
                type = 8,
                scale = 0.8,
                color = 1,
            },
            marker = {
                enable = true,
                color = { r = 196, g = 136, b = 77, a = 150 }
            },
            items = {
                skins = {
                    -- {
                    --     item = "skin_deer_ruined",
                    --     chance = 70,
                    --     maxQuantity = 1,
                    -- },
                    -- {
                    --     item = "skin_deer_low",
                    --     chance = 50,
                    --     maxQuantity = 1,
                    -- },
                    -- {
                    --     item = "skin_deer_medium",
                    --     chance = 30,
                    --     maxQuantity = 1,
                    -- },
                    -- {
                    --     item = "skin_deer_good",
                    --     chance = 25,
                    --     maxQuantity = 1,
                    -- },
                    -- {
                    --     item = "skin_deer_perfect",
                    --     chance = 5,
                    --     maxQuantity = 1,
                    -- },
                },
                meat = {
                    {
                        item = "raw_meat",
                        chance = 100,
                        maxQuantity = 20,
                    },
                    -- {
                    --     item = "raw_meat",
                    --     chance = 100,
                    --     maxQuantity = 10,
                    -- },
                },
                extra = { -- rare items
                    -- {
                    --     item = "deer_horn",
                    --     chance = 30,
                    --     maxQuantity = 1,
                    -- },
                    -- {
                    --     item = "deer_horn",
                    --     chance = 30,
                    --     maxQuantity = 1,
                    -- },
                }

            }
        },
    }
},`

You can hunt only one animal then you have to go out the zone then comeback for them to spawn back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions