Random World Generation

Game Worlds
 ****Random World Generation**** | Yes

**Random World Generation** is the name given to the generation of a game using the random gen map in *7 Days to Die*.

The random gen map is a randomly generated world created using your game name as the seed. Players may also perform Custom Seed World Generation using the "Advanced Generation" option.

When a player opts to play using Random World Generation, the name they give the game decides how the terrain will be generated and which Points of Interest will be placed where. For example, a game using the name "Survive PvP" will be completely different from a game using the name "Survival PvP", both of which will be different from a game using the name "7 Days to Die".

## Biomes & Areas

Random World Generation contains different Biomes and areas.

### Biomes

* Desert
* Forest
* Snowy Forest
* Wasteland

Note: As of Alpha 20 Burnt Forest does not generate in these maps.

### Areas

* Cities
* Towns
* Rural Areas
* Wilderness

## Points of Interest

Random World Generation contains Points of Interest that are randomly placed based on a set of rules. Some of these points of interest are exclusive to Random World Generation.

Most points of interest have a Prefab to go along with them.
See List of Locations for a list of all locations that can be found in Random World Generation.

## Video Tutorial

Guide how to import a prefab into a new/existing game world.

## Generation

### Cell Rules

The terrain in a map is broken up into cells whose size is specified in `Data/Config/rwgmixer.xml`. Below is a list of cell rules including the probability that each cell rule will be implemented in any given cell.

* Cell Rule - Default - 100% chance

### Hub and Wilderness Rules

Each cell rule also comes with a hub rule determining what type of settlement can spawn in the cell, and a wilderness rule determining what can spawn in the wilderness of a cell. As of Alpha 15.2 High Density and Low Density cell rules have the exact same hub rules. Here is a list of hub rules and wilderness rules for each cell rule.

* **Cell Rule - Default**
	+ Hub Rule - Town Small - 27.27% chance
	+ Hub Rule - Town Large - 27.27% chance
	+ Hub Rule - City Small - 9.09% chance
	+ Hub Rule - City Large - 9.09% chance
	+ Hub Rule - Rural - 27.27% chance
	+ Wilderness Rule - Wilderness Default - 100% chance

### Prefab Rules

Every hub rule and wilderness rule contains a prefab rule to determine what Prefabs can be spawned in that hub/wilderness.

* **Hub Rule - Town Small**
	+ Prefab Rule - Default - 100% chance
* **Hub Rule - Town Large**
	+ Prefab Rule - Default - 100% chance
* **Hub Rule - City Small**
	+ Prefab Rule - Default - 100% chance
* **Hub Rule - City Large**
	+ Prefab Rule - Default - 100% chance
* **Hub Rule - Rural Small**
	+ Prefab Rule - Default - 100% chance
* **Hub Rule - Rural Large**
	+ Prefab Rule - Default - 100% chance
* **Wilderness Rule - Wilderness Default**
	+ Prefab Rule - Wilderness Group - 100% chance

Prefab rules can override other prefab rules, or they can contain a prefab. Each rule or prefab inside of a prefab rule has a probability that it will spawn in the cell.

Here is a list of each prefab rule that is currently used.

* **Prefab Rule - Default**
	+ Prefab Rule - Residential Old Group - 14.29% chance
	+ Prefab Rule - Residential New Group - 14.29% chance
	+ Prefab Rule - Commercial Group - 14.29% chance
	+ Prefab Rule - Downtown Group - 14.29% chance
	+ Prefab Rule - Industrial Group - 14.29% chance
	+ Prefab Rule - Rural Group - 14.29% chance
	+ Prefab Rule - Detail Filler Group - 14.29% chance
* **Prefab Rule - Residential Old Group**
	+ Prefab - abandoned\_house\_01 - 1.85% chance
	+ Prefab - abandoned\_house\_02 - 1.85% chance
	+ Prefab - abandoned\_house\_03 - 1.85% chance
	+ Prefab - abandoned\_house\_04 - 1.85% chance
	+ Prefab - abandoned\_house\_05 - 1.85% chance
	+ Prefab - abandoned\_house\_06 - 1.85% chance
	+ Prefab - abandoned\_house\_07 - 1.85% chance
	+ Prefab - abandoned\_house\_08 - 1.85% chance
	+ Prefab - bombshelter\_lg\_01 - 1.85% chance
	+ Prefab - bombshelter\_md\_01 - 1.85% chance
	+ Prefab - cemetery\_01 - 1.85% chance
	+ Prefab - cemetery\_02 - 1.85% chance
	+ Prefab - church\_graveyard1 - 1.85% chance
	+ Prefab - garagebrick - 1.85% chance
	+ Prefab - garageblue1 - 1.85% chance
	+ Prefab - garageyellow1 - 1.85% chance
	+ Prefab - garagewhite1 - 1.85% chance
	+ Prefab - garagetan1 - 1.85% chance
	+ Prefab - garagestucco1 - 1.85% chance
	+ Prefab - garagegreen1 - 1.85% chance
	+ Prefab - garageburnt1 - 1.85% chance
	+ Prefab - houseburnt1 - 1.85% chance
	+ Prefab - houseburnt2 - 1.85% chance
	+ Prefab - houseburnt3 - 1.85% chance
	+ Prefab - houseburnt3b - 1.85% chance
	+ Prefab - houseburnt4 - 1.85% chance
	+ Prefab - houseburnt5 - 1.85% chance
	+ Prefab - housewhite1basement - 1.85% chance
	+ Prefab - housewhitepyramid3 - 1.85% chance
	+ Prefab - housetanpyramid2 - 1.85% chance
	+ Prefab - housewhitepyramid1 - 1.85% chance
	+ Prefab - housewhitepyramid2 - 1.85% chance
	+ Prefab - housegreen1 - 1.85% chance
	+ Prefab - houseblue1 - 1.85% chance
	+ Prefab - housestucco1 - 1.85% chance
	+ Prefab - housestucco2 - 1.85% chance
	+ Prefab - housestucco3 - 1.85% chance
	+ Prefab - housebrick1 - 1.85% chance
	+ Prefab - housewhite1 - 1.85% chance
	+ Prefab - housewhite2 - 1.85% chance
	+ Prefab - housetan2 - 1.85% chance
	+ Prefab - houseyellow1 - 1.85% chance
	+ Prefab - houseyellowpyramid3 - 1.85% chance
	+ Prefab - house\_trailer\_blue\_01 - 1.85% chance
	+ Prefab - house\_trailer\_burnt\_01 - 1.85% chance
	+ Prefab - house\_trailer\_green\_01 - 1.85% chance
	+ Prefab - house\_trailer\_tan\_01 - 1.85% chance
	+ Prefab - house\_trailer\_white\_01 - 1.85% chance
	+ Prefab - house\_trailer\_yellow\_01 - 1.85% chance
	+ Prefab - trailer\_01 - 1.85% chance
	+ Prefab - trailer\_02 - 1.85% chance
	+ Prefab - trailer\_03 - 1.85% chance
	+ Prefab - trailer\_04 - 1.85% chance
	+ Prefab - trailer\_park\_01 - 1.85% chance
* **Prefab Rule - Residential New Group**
	+ Prefab - house\_new\_mansion\_01 - 4.55% chance
	+ Prefab - house\_new\_mansion\_02 - 4.55% chance
	+ Prefab - house\_new\_mansion\_03 - 4.55% chance
	+ Prefab - house\_new\_01 - 4.55% chance
	+ Prefab - house\_new\_02 - 4.55% chance
	+ Prefab - house\_new\_03 - 4.55% chance
	+ Prefab - house\_new\_04 - 4.55% chance
	+ Prefab - house\_new\_05 - 4.55% chance
	+ Prefab - house\_new\_06 - 4.55% chance
	+ Prefab - houseranchwhite1 - 4.55% chance
	+ Prefab - houseranchtan1 - 4.55% chance
	+ Prefab - houseranchtan2 - 4.55% chance
	+ Prefab - houseranchblue1 - 4.55% chance
	+ Prefab - church\_sm\_01 - 4.55% chance
	+ Prefab - hospital\_01\_rg - 4.55% chance
	+ Prefab - school\_01 - 4.55% chance
	+ Prefab - school\_k6\_01 - 4.55% chance
	+ Prefab - school\_daycare\_01 - 4.55% chance
	+ Prefab - football\_stadium - 4.55% chance
	+ Prefab - apartment\_adobe\_red\_5\_flr - 4.55% chance
	+ Prefab - apartment\_brick\_6\_flr - 4.55% chance
	+ Prefab - funeral\_home\_01 - 4.55% chance
* **Prefab Rule - Commercial Group**
	+ Prefab - store\_gun\_sm\_01 - 2.73% chance
	+ Prefab - store\_gun\_lg\_01 - 1.82% chance
	+ Prefab - store\_pharmacy\_sm\_01 - 4.55% chance
	+ Prefab - store\_hardware\_sm\_01 - 2.73% chance
	+ Prefab - store\_hardware\_lg\_01 - 1.82% chance
	+ Prefab - store\_book\_sm\_01 - 2.73% chance
	+ Prefab - store\_book\_lg\_01 - 1.82% chance
	+ Prefab - store\_grocery\_lg\_01 - 1.82% chance
	+ Prefab - store\_grocery\_sm\_01 - 2.73% chance
	+ Prefab - store\_bank\_lg\_01 - 4.55% chance
	+ Prefab - gas\_station1 - 4.55% chance
	+ Prefab - gas\_station2 - 4.55% chance
	+ Prefab - gas\_station3 - 4.55% chance
	+ Prefab - gas\_station4 - 4.55% chance
	+ Prefab - gas\_station5 - 4.55% chance
	+ Prefab - diner\_01 - 4.55% chance
	+ Prefab - diner\_02 - 4.55% chance
	+ Prefab - fastfood\_01 - 4.55% chance
	+ Prefab - fastfood\_02 - 4.55% chance
	+ Prefab - fastfood\_03 - 4.55% chance
	+ Prefab - carlot\_01 - 4.55% chance
	+ Prefab - carlot\_02 - 4.55% chance
	+ Prefab - store\_autoparts\_01 - 4.55% chance
	+ Prefab - skate\_park\_01 - 4.55% chance
	+ Prefab - store\_laundry\_01 - 4.55% chance
	+ Prefab - store\_salon - 4.55% chance
* **Prefab Rule - Downtown Group**
	+ Prefab - business\_red\_brick\_01 - 2.7% chance
	+ Prefab - business\_red\_brick\_02 - 2.7% chance
	+ Prefab - business\_red\_brick\_03 - 2.7% chance
	+ Prefab - business\_red\_brick\_04 - 2.7% chance
	+ Prefab - business\_red\_brick\_05 - 2.7% chance
	+ Prefab - business\_red\_brick\_06 - 2.7% chance
	+ Prefab - business\_red\_brick\_07 - 2.7% chance
	+ Prefab - business\_tan\_brick\_01 - 2.7% chance
	+ Prefab - business\_tan\_brick\_02 - 2.7% chance
	+ Prefab - business\_tan\_brick\_03 - 2.7% chance
	+ Prefab - business\_tan\_brick\_04 - 2.7% chance
	+ Prefab - business\_tan\_brick\_05 - 2.7% chance
	+ Prefab - business\_strip\_old\_01 - 2.7% chance
	+ Prefab - business\_strip\_old\_02 - 2.7% chance
	+ Prefab - courthouse\_med\_01 - 2.7% chance
	+ Prefab - courthouse\_med\_02 - 2.7% chance
	+ Prefab - post\_office\_sm\_01 - 2.7% chance
	+ Prefab - post\_office\_med\_01 - 2.7% chance
	+ Prefab - mp\_waste\_bldg\_governer\_08 - 2.7% chance
	+ Prefab - police\_station1 - 2.7% chance
	+ Prefab - hotel\_roadside\_01 - 2.7% chance
	+ Prefab - hotel\_roadside\_02 - 2.7% chance
	+ Prefab - hotel\_ostrich - 2.7% chance
	+ Prefab - hotel\_new\_01 - 2.7% chance
	+ Prefab - prison\_01 - 2.7% chance
	+ Prefab - parking\_lot\_01 - 2.7% chance
	+ Prefab - parking\_lot\_02 - 2.7% chance
	+ Prefab - parking\_lot\_03 - 2.7% chance
	+ Prefab - parking\_garage\_01 - 2.7% chance
	+ Prefab - theater\_01 - 2.7% chance
	+ Prefab - bar\_theater\_01 - 2.7% chance
	+ Prefab - bar\_stripclub\_01 - 2.7% chance
	+ Prefab - bar\_sm\_01 - 2.7% chance
	+ Prefab - fire\_station\_01 - 2.7% chance
	+ Prefab - fire\_station\_02 - 2.7% chance
	+ Prefab Rule - Skyscrapers - 2.7% chance
	+ Prefab - store\_pawn\_01 - 2.7% chance
* **Prefab Rule - Skyscrapers**
	+ Prefab - skyscraper\_01 - 25% chance
	+ Prefab - skyscraper\_02 - 25% chance
	+ Prefab - skyscraper\_03 - 25% chance
	+ Prefab - skyscraper\_04 - 25% chance
* **Prefab Rule - Industrial Group**
	+ Prefab - utility\_waterworks\_01 - 2.44% chance
	+ Prefab - utility\_electric\_co\_01 - 2.44% chance
	+ Prefab - utility\_refinery\_01 - 2.44% chance
	+ Prefab - settlement\_01 - 2.44% chance
	+ Prefab - factory\_lg\_01 - 2.44% chance
	+ Prefab - factory\_lg\_02 - 2.44% chance
	+ Prefab - installation\_red\_mesa - 2.44% chance
	+ Prefab - sawmill\_01\_snow - 2.44% chance
	+ Prefab - utility\_celltower\_01 - 2.44% chance
	+ Prefab - utility\_celltower\_01 - 2.44% chance
	+ Prefab - junkyard\_lg\_01 - 2.44% chance
	+ Prefab - junkyard\_med\_01 - 2.44% chance
	+ Prefab - vacant\_lot\_med\_01 - 2.44% chance
	+ Prefab - vacant\_lot\_med\_02 - 2.44% chance
	+ Prefab - vacant\_lot\_sm\_01 - 2.44% chance
	+ Prefab - vacant\_lot\_sm\_02 - 2.44% chance
	+ Prefab - army\_barracks\_01 - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_01\_white - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_03\_white - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_04\_white - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_01\_red - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_02\_red - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_03\_red - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_04\_red - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_01\_tan - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_02\_tan - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_03\_tan - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_04\_tan - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_04\_grey - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_05\_grey - 2.44% chance
	+ Prefab - mp\_waste\_bldg\_06\_grey - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_01 - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_02 - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_03 - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_04 - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_05 - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_06 - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_07 - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_08 - 2.44% chance
	+ Prefab - waste\_rubble\_bldg\_09 - 2.44% chance
	+ Prefab - mp\_waste\_sewer\_hole\_1 - 2.44% chance
* **Prefab Rule - Rural Group**
	+ Prefab - blueberryfield\_sm - 3.23% chance
	+ Prefab - cornfield\_sm - 3.23% chance
	+ Prefab - cornfield\_med - 3.23% chance
	+ Prefab - potatofield\_sm - 3.23% chance
	+ Prefab - barn\_01 - 3.23% chance
	+ Prefab - barn\_02 - 3.23% chance
	+ Prefab - barn\_03 - 3.23% chance
	+ Prefab - farm\_shed1 - 3.23% chance
	+ Prefab - farm\_shed2 - 3.23% chance
	+ Prefab - farm\_shed3 - 3.23% chance
	+ Prefab - farm\_shed4 - 3.23% chance
	+ Prefab - oldwest\_stables - 3.23% chance
	+ Prefab - pond02 - 3.23% chance
	+ Prefab - pond01 - 3.23% chance
	+ Prefab - water\_tower\_01 - 3.23% chance
	+ Prefab - water\_tower\_01 - 3.23% chance
	+ Prefab - oldwest\_watertower - 3.23% chance
	+ Prefab - oldwest\_church - 3.23% chance
	+ Prefab - oldwest\_hotel\_01 - 3.23% chance
	+ Prefab - oldwest\_hotel\_02 - 3.23% chance
	+ Prefab - oldwest\_jail - 3.23% chance
	+ Prefab - oldwest\_md\_shop\_01 - 3.23% chance
	+ Prefab - oldwest\_md\_shop\_02 - 3.23% chance
	+ Prefab - oldwest\_md\_shop\_03 - 3.23% chance
	+ Prefab - oldwest\_md\_shop\_04 - 3.23% chance
	+ Prefab - oldwest\_sm\_shop\_01 - 3.23% chance
	+ Prefab - oldwest\_sm\_shop\_02 - 3.23% chance
	+ Prefab - oldwest\_sm\_shop\_03 - 3.23% chance
	+ Prefab - army\_camp\_01 - 3.23% chance
	+ Prefab - army\_camp\_02 - 3.23% chance
	+ Prefab - army\_camp\_03 - 3.23% chance
* **Prefab Rule - Wilderness Group**
	+ Prefab Rule - Trader Group - 4.34% chance
	+ Prefab - cabin\_01 - 4.34% chance
	+ Prefab - cabin\_02\_sm - 4.34% chance
	+ Prefab - cabin\_03\_lg - 4.34% chance
	+ Prefab - cabin\_04\_md - 4.34% chance
	+ Prefab - cabin\_05\_lg - 4.34% chance
	+ Prefab - cabin\_06\_lg - 4.34% chance
	+ Prefab - cabin\_snow\_hidden\_01 - 4.34% chance
	+ Prefab - ranger\_station1 - 4.34% chance
	+ Prefab - snowy\_ski\_lodge - 4.34% chance
	+ Prefab - campsite\_01 - 4.34% chance
	+ Prefab - campsite\_02 - 4.34% chance
	+ Prefab - campsite\_03 - 4.34% chance
	+ Prefab - campsite\_04 - 4.34% chance
	+ Prefab - campsite\_06 - 4.34% chance
	+ Prefab - campsite\_06a - 4.34% chance
	+ Prefab - campsite\_07 - 4.34% chance
	+ Prefab - campsite\_07a - 4.34% chance
	+ Prefab - indian\_burial\_grounds\_01 - 0.22% chance
	+ Prefab - oldwest\_graveyard - 4.34% chance
	+ Prefab - cave\_01 - 4.34% chance
	+ Prefab - cave\_02 - 4.34% chance
	+ Prefab - cave\_03 - 4.34% chance
	+ Prefab - cave\_04 - 4.34% chance
* **Prefab Rule - Detail Filler Group**
	+ Prefab - mailbox1 - 1.96% chance
	+ Prefab - street\_light\_01 - 1.96% chance
	+ Prefab - street\_light\_02 - 1.96% chance
	+ Prefab - sign\_slow - 7.84% chance
	+ Prefab - sign\_speed\_25 - 7.84% chance
	+ Prefab - sign\_speed\_35 - 7.84% chance
	+ Prefab - sign\_speed\_45 - 7.84% chance
	+ Prefab - sign\_73\_north - 7.84% chance
	+ Prefab - sign\_73\_south - 7.84% chance
	+ Prefab - sign\_albuquerque - 7.84% chance
	+ Prefab - sign\_phoenix - 7.84% chance
	+ Prefab - tree\_burntpine\_01 - 7.84% chance
	+ Prefab - tree\_burntpine\_02 - 7.84% chance
	+ Prefab - tree\_burntpine\_03 - 7.84% chance
	+ Prefab - water\_tower\_03 - 7.84% chance
* **Prefab Rule - Trader Group**
	+ Prefab - settlement\_trader\_01 - 20% chance
	+ Prefab - settlement\_trader\_02 - 20% chance
	+ Prefab - settlement\_trader\_03 - 20% chance
	+ Prefab - settlement\_trader\_04 - 20% chance
	+ Prefab - settlement\_trader\_05 - 20% chance

## See also

* Navezgane
* List of Locations
* List of Prefabs

## Notes

* As of A13, **Random World Generation** has Nuclear barriers which you can not cross alive. Default is 10k from 0,0 coordinates on your map, but it is adjustable in the game's XML Files.
* As of A13, **Random World Generation** Doesn't use rivers to divide Biomes anymore. They transition via elevation changes. A Desert being the lowest elevation and Snowy Forest being the highest.
* A13.6 returned lakes to **Random World Generation**, but water is still a work in progress, so it's not perfected yet.
* A13.6 the Biomes are much larger than they used to be and it can take quite awhile to cross a complete biome.
* Army campsites can now be found in Snowy, Forest and Plains biomes.
* A17 plains biome was removed from the game
* A20 Burnt Forest no longer generates as a part of RWG maps. Wasteland now looks a bit more like burnt forest, though maintains its previous levels of danger.