• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Help with spawning prefab in one biome

Telric

Active member
Would anyone have any knowledge on how to spawn a specific building (using settlement_trader_01 as temporary) in a certain biome? Example: I have it set to spawn different biomes the further away from 0,0 you are. So the first 0 to 400 meters are forest. I want a specific trader spawned within that area. Anywhere is fine. But i want a different trader to spawn in the desert biome, which is the range 2000 to 3500 meters. I've tried the "AllowedBiomes" property in the prefab xml, but i still had occasional spawns in other biomes.

Any ideas? Thanks!

 
if you use "AllowedBiomes" property - this is fully disable spawning for other biomes...

 
Last edited by a moderator:
I had that before, but i figured it out. I was using too many possible spawns.

spawn_min_max="5,10"
I had that set way too high (200 to 300) for testing from earlier. I lowered that and it works perfectly now.

 
I can but your going to need alocs server fixes ,BC manager,Bot masters and server tools. the command would be

bc-import settlement_trader_01 01-05 are the traders numbers . watch out and have it in dm and creative and with fly on and move out of the way fast .

 
Find the XML file for your prefab and change this line (using settlement_trader_01 as an example).

Code:
<property name="AllowedBiomes" value="pine_forest,forest" />
Just put the one biome you want in there. You can get the exact names from biomes.xml.

 
Back
Top