| | 187 | * `createStartingPlayerEntities(x, z, playerid, civEntities, BUILDING_ANGlE)`: Creates starting player entities of a selected player in the given coordinates. |
| | 188 | |
| | 189 | == Random Biome System == |
| | 190 | |
| | 191 | The random biome system is a series of terrain, entity and actor presets that can be used to generate maps with random biomes. Here is a list of related functions: |
| | 192 | * `randomizeBiome()`: Randomizes the biome sets. Returns a value indicating the used set. These values are: |
| | 193 | *"1":Temperate |
| | 194 | *"2":Polar |
| | 195 | *"3":Desert |
| | 196 | *"4":Alpine |
| | 197 | *"5":Mediterranean |
| | 198 | *"6":Savannah |
| | 199 | *"7":Tropical |
| | 200 | |
| | 201 | * `rBiomeTn()`: "n" in the end of the function can be any number from 1 to 15. Returns the n'th terrain of the current set. For example rBiomeT2() returns the second terrain of the set which is reserved for forest floors. These terrains are used for: |
| | 202 | *"1":Main terrain texture |
| | 203 | *"2-3":Forest floors |
| | 204 | *"4":Cliffs |
| | 205 | *"5-7":Other terrain textures. Usually used for grass. |
| | 206 | *"8-9":Other terrain textures. Usually used for dirt. |
| | 207 | *"10":Main road/citytile texture |
| | 208 | *"11":Outer road/citytile texture. Better used as a border between main terrain and main road. |
| | 209 | *"12-13":Other miscellaneous terrain textures. |
| | 210 | *"14":A texture to be used as a border between water and main terrain. |
| | 211 | *"15":Water/Shore terrain. |
| | 212 | |
| | 213 | * `rBiomeEn()`: "n" in the end of the function can be any number from 1 to 13. Returns the n'th entity of the current set. For example rBiomeE9() returns the ninth entity of the set which is reserved for fish. These entities are used for: |
| | 214 | *"1-2":Main trees |
| | 215 | *"3-5":Secondary trees |
| | 216 | *"6":Berries/Grapes |
| | 217 | *"7":Chicken |
| | 218 | *"8":First hunting animal |
| | 219 | *"9":Fishes |
| | 220 | *"10":Second hunting animal |
| | 221 | *"11":Large stone mine |
| | 222 | *"12":Small stone mine |
| | 223 | *"13":Large metal mine |
| | 224 | |
| | 225 | * `rBiomeAn()`: "n" in the end of the function can be any number from 1 to 8. Returns the n'th actor of the current set. For example rBiomeA3() returns the third actor of the set which is reserved for water reeds. These actors are used for: |
| | 226 | *"1-2":Grass |
| | 227 | *"3-4":Water decoration |
| | 228 | *"5-6":Stones |
| | 229 | *"7-8":Bushes |