๐ฟ BLN Veg Modifier โ

๐ฝ Get it Now โ
A powerful tool designed to modify in-game vegetation with ease. Whether you want to clear out areas by removing grass, debris, bushes, and rocks, or flatten the landscape for better visuals and gameplay, this script gives you full control.
โจ Features โ
With a wide range of static vegetation modification options, you can:
- ๐งน Remove or flatten vegetation types such as grass, debris, bushes, weeds, flowers, saplings, trees, rocks, and long grass
- ๐ง Choose from multiple modifier types including flattening, exploding, or pushing vegetation to fit your needs
Modifier Types โ
- Cull - Remove vegetation
- Flatten - Level the ground and remove vegetation
- Flatten Deep Surface - Deeper flattening effect
- Explode - Dramatically clear vegetation
- Push - Push vegetation out of the area
- Decal - Apply surface decals over vegetation
Supported Vegetation Types โ
Debris, Grass, Bushes, Weeds, Flowers, Saplings, Trees, Rocks, and more.
๐ ๏ธ Configuration โ
Basic Setup โ
lua
Config = {}
-- Distance to start veg modifier
-- Formula: distance + zone radius = total effect range
-- Example: 5.0 (distance) + 15.0 (zone radius) = 20.0 total
Config.distance = 5.0
-- Define your zones
Config.zones = {
{
key = "CampArea", -- Unique identifier
position = vector3(-366.35, 807.82, 115.95),
radius = 10.0, -- Zone radius
flags = FLAGS.All, -- What to remove (see below)
type = TYPES.VMT_Cull -- How to modify (recommended)
},
{
key = "TradingPost",
position = vector3(-5485.28, -3266.24, -21.15),
radius = 150.0,
flags = FLAGS.All,
type = TYPES.VMT_Cull
}
}Configuration Options โ
| Option | Type | Description |
|---|---|---|
key | string | Unique identifier for the zone |
position | vector3 | Center coordinates of the zone |
radius | float | Radius of the affected area |
flags | table/number | Vegetation types to modify (see Flags below) |
type | number | Modification type (see Types below) |
Vegetation Flags โ
lua
FLAGS = {
All = {1,2,4,8,16,32,64,128,256}, -- All vegetation types
Debris = 1,
Grass = 2,
Bush = 4,
Weed = 8,
Flower = 16,
Sapling = 32,
Tree = 64,
Rock = 128,
LongGrass = 256
}Modification Types โ
lua
TYPES = {
VMT_Cull = 1, -- Remove vegetation (recommended)
VMT_Flatten = 2, -- Flatten and remove
VMT_FlattenDeepSurface = 4, -- Deep flattening
VMT_Explode = 8, -- Dramatic clearing
VMT_Push = 16, -- Push vegetation away
VMT_Decal = 32 -- Apply decals
}๐ง Advanced Usage โ
Using Specific Vegetation Types โ
To target specific vegetation instead of all types:
lua
{
key = "PathwayClearing",
position = vector3(100.0, 200.0, 50.0),
radius = 5.0,
flags = FLAGS.Grass, -- Only remove grass
type = TYPES.VMT_Cull
}Or combine multiple types:
lua
{
key = "CampSite",
position = vector3(100.0, 200.0, 50.0),
radius = 8.0,
flags = {FLAGS.Grass, FLAGS.Bush, FLAGS.Weed}, -- Multiple types
type = TYPES.VMT_Cull
}Export for Other Resources โ
You can create zones dynamically from other scripts:
lua
-- From another resource
exports.bln_veg_modifier:CreateZone({
key = "DynamicZone",
position = vector3(476.72, 477.51, 109.97),
radius = 5.0,
flags = FLAGS.All,
type = TYPES.VMT_Cull
})๐ฏ Common Use Cases โ
- ๐๏ธ Camp Sites - Clear areas for player camps
- ๐๏ธ Building Plots - Prepare terrain for construction
- ๐ค๏ธ Pathways - Create clear walking paths
- ๐ช Event Areas - Set up clear spaces for server events
- ๐ฐ Hideouts - Prepare secret locations
โ๏ธ Installation โ
- Extract to your resources folder
- Add
ensure bln_veg_modifierto yourserver.cfg - Configure zones in
config.lua - Restart your server
๐ก Tips โ
- Recommended Type:
VMT_Cullworks best for most situations - Distance Formula:
Config.distance + zone radius = total effect range - Performance: Smaller zones with specific flags perform better than large zones with all flags
- Testing: Start with small radius values and increase as needed
๐ค Support โ
Need help? Have questions? Join our Discord server for support and updates!
- ๐ฌ Discord: Join Our Community
- ๐ฎ Live support and community help
- ๐ Regular updates and improvements
Built with โค๏ธ by BLN Studio
