Biomes
The 6 Tree Generator biomes (forest, pine, desert, palm, oak, swamp) and how to add your own trees and biomes in biomes.lua.
On this page
A biome decides what grows in a zone. You pick one in the editor.
Included biomes
| Biome | Looks like | What grows |
|---|---|---|
forest | Mixed woodland | Bushes, birch and cedar, big broadleaf trees |
pine | Paleto Forest, Mount Chiliad | Bushes, young and dead pines, tall pines and cedars |
desert | Grand Senora, Sandy Shores | Cacti, Joshua trees, rare mesquite trees |
palm | Vespucci, Del Perro | Shrubs and small palms, fan palms, tall palms |
oak | Vinewood and Tongva Hills | Bushes, olive and maple trees, oaks and eucalyptus |
swamp | Zancudo River | Bushes and reeds, dead and fallen pines, cypress and fig trees |
How a biome grows
Each biome has layers of flora. The layer with the biggest radius.min is placed first, then every next layer only grows near the one before it. That's what makes clearings and clusters instead of an even grid.
{
name = "med", -- unique within the biome
label = "Tree", -- shown by your target script
rarity = 0.5, -- 0.0 = almost everywhere it can, 1.0 = about half the spots
canFell = true, -- can players chop it down
fellModel = 'prop_log_01', -- the log it leaves behind
canHug = true, -- shows the "Hug" option
radius = { min = 5.0, max = 20.0 }, -- closest to other flora / how far from the bigger layer it may grow
models = { 'prop_tree_birch_01', 'prop_tree_cedar_s_01' },
},badMats lists ground it never grows on (roads by default).
Adding your own
Copy a biome in shared/biomes.lua, give it a new name and change the models. It shows up in the editor after a restart. Any GTA prop name works, including add-on props you stream.
Zones you already saved keep the exact trees they generated. To use a changed biome on an old zone, draw it again.
Still stuck?Ask on our Discord