[FREE][Open Source] BNDDO Legendary - Ambient style legendary spawner

BNDDO_Legendary

This script has just been released, there are likely still bugs, please report at our Discord

You need to handle the carcass and pelts through your butcher/hunting script. Also any stable or wagon scripts will need to know about legendary carcasses/pelts. I wrote this using vorp_hunting and GUM_Stables

This is an ambient-like legendary spawner that will spawn legendaries based on player proximity. Each legendary animal can be configured, and random spawns can be created for each legendary. You can create multiple different spawns for each animal as well.

  • 100% server authority of animal status (killed, spawned, cooldown)
  • Client side cooldowns to reduce server hits
  • Animal behavior for predator and prey. Ensuring that each type of animal behaves appropiately.
  • Killed animals will not respawn until after storm
  • Customize spawn chance and probabilty.

Support

Discord: BNDDO Scripts

Video(coming soon)

Download

Dependencies

jo_libs: GitHub - Jump-On-Studios/RedM-jo_libs: An utility-first RedM Libraries for rapid development.

Config Example of Legendary

Config.LegendaryAnimals = {
    -- Legendary Animals
    BigHornRam = {
        Name = "Legendary Bighorn Ram", --
        Object = {
            Enabled = true,
            Model = "MP_A_C_BIGHORNRAM_01", -- ModelHash: -511163808 PeltHash: -675142890
            Scale = 1.3,
            Health = 18000,
            defaultOutfit = -1,
        },
        spawnChance = 0.2,  -- -- 0.0 - 1.0 = 0% - 100% chance to spawn
        alertDistance = 50, -- distance at which the animal will be alert of players
        huntArea = 200,     -- anything outside this distance will try despawn animal
        coolDown = 30,      -- In seconds, this is a respawn cooldown, after animal has despawned. (killed animals don't respawn)
        showBlip = false    -- Not implemented yet
    },
    Coyote = {
        Name = "Legendary Coyote",
        Object = {
            Enabled = true,
            Model = "MP_A_C_COYOTE_01", --ModelHash -1307757043 | PeltHash: Perfect: 1009802015
            Scale = 1.3,
            Health = 18000,
            defaultOutfit = 2,
        },
        spawnChance = 0.15, -- -- 0.0 - 1.0 = 0% - 100% chance to spawn
        alertDistance = 50, -- distance at which the animal will be alert of players
        huntArea = 200,     -- anything outside this distance will try despawn animal
        coolDown = 45,      -- Not implemented yet
        showBlip = false    -- Not implemented yet
    },

}

Config.AnimalSpawns = {
    { -- Western Coyote
        Name = "Coyote",
        Data = Config.LegendaryAnimals.Coyote,
        Coords = {
            vector3(-3144.25, -3571.74, 11.98),
            vector3(-3374.56, -3422.2, 47.38),
            vector3(-3313.42, -3550.87, 7.02)
        },

    },
    { -- Western Ram
        Name = "BigHornRam",
        Data = Config.LegendaryAnimals.BigHornRam,
        Coords = {
            vector3(-6154.57, -3469.38, 32.36),
            vector3(-6139.14, -3549.97, 30.57),
            vector3(-6435.97, -3449.06, -0.8)
        },

    },
}

Code is accessible Yes
Subscription-based No
Lines (approximately) 900
Requirements jo_libs
Support No
1 Like