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

BiomeLooks likeWhat grows
forestMixed woodlandBushes, birch and cedar, big broadleaf trees
pinePaleto Forest, Mount ChiliadBushes, young and dead pines, tall pines and cedars
desertGrand Senora, Sandy ShoresCacti, Joshua trees, rare mesquite trees
palmVespucci, Del PerroShrubs and small palms, fan palms, tall palms
oakVinewood and Tongva HillsBushes, olive and maple trees, oaks and eucalyptus
swampZancudo RiverBushes 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.

lua
{
  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