Discord Silly Scripts

Silly Dynamite Farming

Silly Dynamite Farming

โ‚ฌ12.60

Add to Basket

Silly Dynamite Farming๐Ÿ’ฃโ›๏ธ

A zone-based dynamite mining system for RedM. Place dynamite in a configured mining zone, watch it explode with realistic VFX, and loot the mineral deposits it exposes โ€” ores, gems, fish, wood and more depending on the zone.


Preview ๐Ÿ“ท

https://www.youtube.com/watch?v=2LZSG5GhYDg


Key Features โญ

  • ๐Ÿ’ฃ Use a dynamite item to trigger an explosion inside a mining zone

  • ๐Ÿ’ฅ Realistic explosion: custom VFX tag, camera shake, debris props

  • ๐Ÿ”ฅ Post-explosion fire that burns for a configurable duration

  • ๐Ÿ“ฆ Loot props spawn near the blast for players to collect

  • ๐Ÿ—บ๏ธ Zones for mines, rivers/lakes, forests, and banks out of the box

  • ๐ŸŽ’ Per-zone loot tables with min/max item amounts

  • โฑ๏ธ Loot duration โ€” props disappear after a configurable timeout

  • ๐Ÿ”Œ VORP or RSGCore (auto-detected at runtime)


Dependencies ๐Ÿ”ง

  • VORP or RSGCore (auto-detected at runtime)

Installation ๐Ÿ“ฆ

  1. Drop Silly_Dynamite into your server resources folder.

  2. Ensure it in your server.cfg:

    • ensure Silly_Dynamite
  3. Make sure the dynamite item exists in your inventory database.

  4. Configure zones and loot tables in config.lua.


How To Use ๐ŸŽฎ

  1. Have dynamite in your inventory.
  2. Walk into a configured mining zone.
  3. Use the dynamite item.
  4. Explosion fires โ€” camera shake, VFX, and debris fly.
  5. Loot props spawn near the blast โ€” interact to collect resources.

Configuration โš™๏ธ (config.lua)

Item & Explosion

Config.ItemName  = "dynamite"
Config.PropModel = "p_dynamite01x"

Config.Explosion = {
    Type         = 29,        -- EXP_TAG_PLACED_DYNAMITE
    VfxTag       = 0x2FDA2B4A,
    DamageScale  = 8.0,
    CameraShake  = 1.5,
    FireDuration = 8000,      -- ms of residual fire (0 = none)
    DebrisCount  = 4,
    DebrisForce  = 15.0
}

Zones

Each zone defines:

  • name, x/y/z, radius

  • lootProp โ€” prop that spawns as loot pickup

  • lootCount โ€” how many loot props spawn

  • lootDuration โ€” seconds until props despawn

  • lootTable โ€” items with min/max amounts

Config.Zones = {
    {
        name = "Mine Alpha",
        x = -5957.07, y = -3179.70, z = -22.53,
        radius = 5.0,
        lootProp = "alp_rock_scree_sim_01",
        lootCount = 3,
        lootDuration = 120,
        lootTable = {
            { item = "iron",        min = 6, max = 12 },
            { item = "copper",      min = 6, max = 12 },
            { item = "gold_nugget", min = 3, max = 6  },
            { item = "sulfur",      min = 6, max = 12 },
            { item = "nitrite",     min = 6, max = 12 }
        }
    },
    -- ... more zones
}

Pre-configured Zone Types

  • โ›๏ธ Mines โ€” ores, gold nuggets, sulfur, nitrite

  • ๐Ÿ’Ž Gem deposits โ€” rubies, emeralds, diamonds, opals and more

  • ๐ŸŸ Rivers / Lakes โ€” fish items

  • ๐Ÿชต Forests โ€” wood, coal

  • ๐Ÿฆ Banks โ€” gold bars

Back to category