Chalwk / HALO-SCRIPT-PROJECTS

:white_check_mark: Halo PC|CE - Add-ons for Phasor V2+ and SAPP :new_zealand:
Other
32 stars 13 forks source link

Dispensable-Mines (ATTRACTIVE MOD) #124

Closed Chalwk closed 3 years ago

Chalwk commented 3 years ago

Dispensable-Mines

Description:

Dispense mines while driving! You can toggle mine dispensing on a per-vehicle basis (see config)

Download Link

Video Demonstration


Settings


-- Configuration Starts --
local Mines = {

    -- The number of mines players will spawn with:
    mines_per_life = 5,
    --

    -- Time (in seconds) until a mine despawns:
    despawn_rate = 60,
    --

    -- Trigger explosion when player is <= this many w/units
    trigger_radius = 2,
    --

    -- Mines are represented by this object:
    object = { "eqip", "powerups\\health pack" },
    --

    -- vehicle tag paths --
    -- Set to false to disable vehicle dispensing on per-vehicle basis:
    vehicles = {
        ["vehicles\\ghost\\ghost_mp"] = true,
        ["vehicles\\rwarthog\\rwarthog"] = true,
        ["vehicles\\warthog\\mp_warthog"] = true,
        ["vehicles\\banshee\\banshee_mp"] = true,
        ["vehicles\\scorpion\\scorpion_mp"] = true,
        ["vehicles\\c gun turret\\c gun turret_mp"] = true
    }
    --
}

-- Configuration Ends --
```1